Change logic of passphrass for multikeys
This commit is contained in:
parent
e9c5b63c4b
commit
eb6e854d92
15 changed files with 95 additions and 99 deletions
|
|
@ -42,11 +42,11 @@ struct ObjectivePgp: PgpInterface {
|
|||
return encryptedData
|
||||
}
|
||||
|
||||
var keyId: String {
|
||||
return publicKey.keyID.longIdentifier
|
||||
var keyID: [String] {
|
||||
return keyring.keys.map({ $0.keyID.longIdentifier })
|
||||
}
|
||||
|
||||
var shortKeyId: String {
|
||||
return publicKey.keyID.shortIdentifier
|
||||
var shortKeyID: [String] {
|
||||
return keyring.keys.map({ $0.keyID.shortIdentifier })
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue