RFR: 8277246: No need to check about KeyUsage when validating a TSA certificate [v2]

Weijun Wang weijun at openjdk.java.net
Tue Nov 16 23:37:39 UTC 2021


On Tue, 16 Nov 2021 21:00:12 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> There is no need to check for the KeyUsage extension when validating a TSA certificate.
>> 
>> A test is modified where a TSA cert has a KeyUsage but without the DigitalSignature bit.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   clarify RFC requirement

I did see an issuer of TSA certs whose own certificate has EKU with id-kp-timeStamping and KU with both DigitialSignature and keyCertsign. This cert should be rejected if it signed a timestamp response.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6416



More information about the security-dev mailing list