mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-23 11:27:57 +01:00
Fix replacePassphrase(secretKeys, passphrase)
This commit is contained in:
parent
bf5510893d
commit
c4e3e27821
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue