1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-04-10 00:28:36 +02:00

Fix RevocationSignatureBuilder properly calculating 3rd-party delegation revocations

This commit is contained in:
Paul Schaub 2025-03-26 15:00:59 +01:00
parent a6f8058fb4
commit 811f72ffef
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -52,7 +52,7 @@ class RevocationSignatureBuilder : AbstractSignatureBuilder<RevocationSignatureB
require(revokeeKey.isMasterKey) {
"Signature type is KEY_REVOCATION, but provided revokee does not appear to be a primary key."
}
it.generateCertification(publicSigningKey)
it.generateCertification(revokeeKey)
} else {
it.generateCertification(publicSigningKey, revokeeKey)
}