Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x509-cert: adds a serial numbers generator #1270

Merged

Conversation

baloo
Copy link
Member

@baloo baloo commented Nov 26, 2023

This follows the CABF ballot 164 recommendation to have serials use 64 bits from a CSPRNG.
https://cabforum.org/2016/03/31/ballot-164/

This also provides the user with the option to prefix its values (for use of an instance id).

x509-cert/src/serial_number.rs Outdated Show resolved Hide resolved
@baloo baloo force-pushed the baloo/x509-cert/serial-number-generate branch from f78f6bc to 31a07a9 Compare November 26, 2023 09:08
@baloo baloo changed the title x509-cert: adds a convenience helper to generate serials x509-cert: adds a helper to generate serial numbers Nov 26, 2023
@baloo baloo changed the title x509-cert: adds a helper to generate serial numbers x509-cert: adds a serial numbers generator Nov 26, 2023
@baloo baloo force-pushed the baloo/x509-cert/serial-number-generate branch 3 times, most recently from a81e1ac to 38d4573 Compare December 3, 2023 01:28
@baloo baloo force-pushed the baloo/x509-cert/serial-number-generate branch from 38d4573 to 4ba6d43 Compare December 4, 2023 20:40
@baloo baloo force-pushed the baloo/x509-cert/serial-number-generate branch from 4ba6d43 to f361e2e Compare December 4, 2023 20:45
@baloo baloo force-pushed the baloo/x509-cert/serial-number-generate branch 2 times, most recently from 8d6817b to f3471e7 Compare December 13, 2023 22:46
@baloo baloo force-pushed the baloo/x509-cert/serial-number-generate branch 3 times, most recently from bae1b21 to 61f06d0 Compare December 25, 2023 03:04
@baloo baloo force-pushed the baloo/x509-cert/serial-number-generate branch from 61f06d0 to 86c086b Compare January 5, 2024 00:00
This follows the CABF ballot 164 recommendation to have serials use 64
bits from a CSPRNG.

This also provides the user with the option to prefix its values (for
use of an instance id).
@baloo baloo force-pushed the baloo/x509-cert/serial-number-generate branch from 86c086b to cb34750 Compare January 5, 2024 00:02
@tarcieri tarcieri merged commit efa381e into RustCrypto:master Jan 5, 2024
53 checks passed
@baloo baloo deleted the baloo/x509-cert/serial-number-generate branch February 16, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants