Fix replacePassphrase(secretKeys, passphrase)

This commit is contained in:
Paul Schaub 2021-12-13 13:28:34 +01:00
parent bf5510893d
commit c4e3e27821
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ public class CachingSecretKeyRingProtector implements SecretKeyRingProtector, Se
Iterator<PGPPublicKey> keys = keyRing.getPublicKeys();
while (keys.hasNext()) {
PGPPublicKey publicKey = keys.next();
addPassphrase(publicKey, passphrase);
replacePassphrase(publicKey.getKeyID(), passphrase);
}
}