Skip to content
Snippets Groups Projects
Commit 18016fbb authored by maik65's avatar maik65
Browse files

issue #137: calling function findMailforSecretKey in function storeMultipleKeys.

parent 4a715c64
Branches
No related tags found
2 merge requests!58Onboarding screens swift ui merge dev,!55WIP: Resolve "UI for gamifcation & stats"
......@@ -324,7 +324,11 @@ class SwiftPGP: Encryption {
let newKeys = keyring.keys
for k in newKeys {
if k.isSecret && secret || !k.isSecret && !secret {
ids.append(storeKey(key: k))
let id = storeKey(key: k)
ids.append(id)
if k.isSecret && secret {
findMailForSecretKey(keyID: id)
}
if let password = pw {
pwKeyChain[k.keyID.longIdentifier] = password
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment