diff options
author | Job Snijders <job@cvs.openbsd.org> | 2023-03-06 16:58:42 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2023-03-06 16:58:42 +0000 |
commit | 23fe24ccf2f47a0fa76d39b963db348c6460e286 (patch) | |
tree | 9ae1e3439672999f32f0d08ad12565d7ec50a2c1 /usr.sbin/installboot | |
parent | 2f5d105e555a84472444486c9717501c92e6e4fe (diff) |
Ensure .cer and .crl outside-TBS signatures are sha256WithRSAEncryption
Note: there is a potential for confusion in RFC 7935, the specification
differentiates between 2 contexts: "in the certificate" and "CMS SignedData".
In the CMS context, either rsaEncryption or sha256WithRSAEncryption can
appear (and both *do* appear in the wild).
However, RFC 7935 section 2 fourth paragraph starting with "In certificates,
CRLs, ..." mandates that sha256WithRSAEncryption is used to sign .cer and
.crl files:
"The Object Identifier (OID) sha256WithRSAEncryption from RFC4055 MUST
be used in these products."
The above requirement matches observations on existing RPKI deployments.
OK tb@
Diffstat (limited to 'usr.sbin/installboot')
0 files changed, 0 insertions, 0 deletions