mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-20 03:10:57 +00:00
Fix extra param.
This commit is contained in:
parent
c233315ccc
commit
4bc20fcbc2
@ -1281,8 +1281,8 @@
|
|||||||
},
|
},
|
||||||
"ja" : {
|
"ja" : {
|
||||||
"stringUnit" : {
|
"stringUnit" : {
|
||||||
"state" : "needs_review",
|
"state" : "translated",
|
||||||
"value" : "シークレット“%2$@”を使って署名を検証します"
|
"value" : "シークレット“%1$(secretName)@”を使って署名を検証します"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ko" : {
|
"ko" : {
|
||||||
|
@ -138,7 +138,7 @@ extension SecureEnclave {
|
|||||||
|
|
||||||
public func verify(signature: Data, for data: Data, with secret: Secret) throws -> Bool {
|
public func verify(signature: Data, for data: Data, with secret: Secret) throws -> Bool {
|
||||||
let context = LAContext()
|
let context = LAContext()
|
||||||
context.localizedReason = String(localized: .authContextRequestVerifyDescription(secretName: secret.name, ""))
|
context.localizedReason = String(localized: .authContextRequestVerifyDescription(secretName: secret.name))
|
||||||
context.localizedCancelTitle = String(localized: .authContextRequestDenyButton)
|
context.localizedCancelTitle = String(localized: .authContextRequestDenyButton)
|
||||||
let attributes = KeychainDictionary([
|
let attributes = KeychainDictionary([
|
||||||
kSecClass: kSecClassKey,
|
kSecClass: kSecClassKey,
|
||||||
|
Loading…
Reference in New Issue
Block a user