1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-25 21:14:49 +02:00

Fix Picking of Subkey Revocation Signatures

This commit is contained in:
Paul Schaub 2021-10-12 14:04:23 +02:00
parent 15736586dd
commit bbc68e9803
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -268,7 +268,7 @@ public final class SignaturePicker {
throw new IllegalArgumentException("Primary key cannot have subkey binding revocations.");
}
List<PGPSignature> signatures = getSortedSignaturesOfType(subkey, SignatureType.SUBKEY_BINDING);
List<PGPSignature> signatures = getSortedSignaturesOfType(subkey, SignatureType.SUBKEY_REVOCATION);
PGPSignature latestSubkeyRevocation = null;
for (PGPSignature signature : signatures) {