1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-26 05:24:49 +02:00

Remove SecretKeyRingProtector.unlockAllKeysWith()

This commit is contained in:
Paul Schaub 2023-06-19 11:53:15 +02:00
parent eed1259cd2
commit 4dac07811a
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 1 additions and 18 deletions

View file

@ -11,6 +11,7 @@ SPDX-License-Identifier: CC0-1.0
- Remove unused methods from `SignatureUtils`
- Encryption: Allow anonymous recipients using wildcard key-IDs
- Add `SignatureSubpacketsUtil.getRegularExpressions()`
- Remove `SecretKeyRingProtector.unlockAllKeysWith()` in favor of `unlockAnyKeyWith()`
- Tests, tests, tests
## 1.5.3

View file

@ -76,24 +76,6 @@ public interface SecretKeyRingProtector {
missingPassphraseCallback);
}
/**
* Use the provided passphrase to lock/unlock all keys in the provided key ring.
*
* This protector will use the provided passphrase to lock/unlock all subkeys present in the provided keys object.
* For other keys that are not present in the ring, it will return null.
*
* @param passphrase passphrase
* @param keys key ring
* @return protector
* @deprecated use {@link #unlockEachKeyWith(Passphrase, PGPSecretKeyRing)} instead.
*
* TODO: Remove in 1.2.X
*/
@Deprecated
static SecretKeyRingProtector unlockAllKeysWith(@Nonnull Passphrase passphrase, @Nonnull PGPSecretKeyRing keys) {
return unlockEachKeyWith(passphrase, keys);
}
/**
* Use the provided passphrase to lock/unlock all keys in the provided key ring.
*