Init PGPAgent while getting keyID
This commit is contained in:
parent
f69f8bb867
commit
e4630e950d
2 changed files with 6 additions and 6 deletions
|
|
@ -35,7 +35,8 @@ public class PGPAgent {
|
|||
pgpInterface = nil
|
||||
}
|
||||
|
||||
public var keyId: String? {
|
||||
public func getKeyId() throws -> String? {
|
||||
try checkAndInit()
|
||||
return pgpInterface?.keyId
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue