Repository navigation
Guarantee that SerialFileGenerator starts at 2 - #18713
Conversation
This changes makes it so that SerialFileGenerator never returns a value less than 2 for a call to Next. This guarantees that certificates generated using it do not have a serial number that conflicts with the CA's serial number of 1. This behavior was lost in 266aa46. Signed-off-by: Monis Khan <[email protected]>
|
/retest |
|
/lgtm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enj, mrogers950, simo5 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest |
1 similar comment
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
4 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest |
|
gcp test failure: |
|
If the batch fails I'll direct merge |
|
/test all [submit-queue is verifying that this PR is safe to merge] |
|
Automatic merge from submit-queue. |
|
+1, a serial number of zero is illegal. According to rfc5280: |
This changes makes it so that SerialFileGenerator never returns a value less than 2 for a call to Next. This guarantees that certificates generated using it do not have a serial number that conflicts with the CA's serial number of 1. This behavior was lost in 266aa46.
Signed-off-by: Monis Khan [email protected]
/kind bug
/assign @liggitt
Supersedes #18710
@openshift/sig-security