mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-18 18:32:05 +01:00
Do not reject bnacksig signatures when they predate subkey binding date
Fixes #334
This commit is contained in:
parent
faae5c64b1
commit
c253732ad9
1 changed files with 3 additions and 1 deletions
|
@ -375,8 +375,10 @@ public abstract class SignatureValidator {
|
|||
public void verify(PGPSignature signature) throws SignatureValidationException {
|
||||
signatureHasHashedCreationTime().verify(signature);
|
||||
signatureDoesNotPredateSigningKey(creator).verify(signature);
|
||||
if (signature.getSignatureType() != SignatureType.PRIMARYKEY_BINDING.getCode()) {
|
||||
signatureDoesNotPredateSigningKeyBindingDate(creator).verify(signature);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue