1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-17 09:04:50 +02:00

Remove SignatureCheck.getFingerprint() in favor of getSigningKeyIdentifier()

This commit is contained in:
Paul Schaub 2023-06-19 11:56:31 +02:00
parent 4dac07811a
commit 4888cb5e42
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 1 additions and 13 deletions

View file

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

View file

@ -6,7 +6,6 @@ package org.pgpainless.signature.consumer;
import org.bouncycastle.openpgp.PGPKeyRing;
import org.bouncycastle.openpgp.PGPSignature;
import org.pgpainless.key.OpenPgpFingerprint;
import org.pgpainless.key.SubkeyIdentifier;
/**
@ -58,16 +57,4 @@ public class SignatureCheck {
return signingKeyRing;
}
/**
* Return the {@link OpenPgpFingerprint} of the key that created the signature.
*
* @return fingerprint of the signing key
* @deprecated use {@link #getSigningKeyIdentifier()} instead.
*
* TODO: Remove in 1.2.X
*/
@Deprecated
public OpenPgpFingerprint getFingerprint() {
return signingKeyIdentifier.getSubkeyFingerprint();
}
}