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

CertificateValidator: Skip revocation signatures not made by primary key

This commit is contained in:
Paul Schaub 2023-05-03 17:25:59 +02:00
parent 495ff6aa5d
commit e08505e07d
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -74,6 +74,7 @@ public final class CertificateValidator {
PGPSignature revocation = primaryKeyRevocationIterator.next();
if (revocation.getKeyID() != primaryKey.getKeyID()) {
// Revocation was not made by primary key, skip
continue;
// TODO: What about external revocation keys?
}
try {