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

Update crl-checker to use math/rand/v2, generate RSA keys sometimes #60

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

mcpherrinm
Copy link
Contributor

This switches to math/rand/v2, and adds a bit more randomization while we're here.

We randomly generate either an ECDSA or RSA key to ensure we split issuance across all intermediates.

The random domain name setup is simplified by using a random Uint32 instead of a byte buffer.

This switches to math/rand/v2, and adds a bit more randomization while we're here.

We randomly generate either an ECDSA or RSA key to ensure we split issuance across all intermediates.

The random domain name setup is simplified by using a random Uint32 instead of a byte buffer.
This is a test program, so alerting about math/rand isn't helpful.
Plus these days, Go uses chacha8 for math/rand so it's not so bad.

Remove some copy-pasted errcheck exclusions
@mcpherrinm mcpherrinm changed the title Update crl-checker to use math/rand/v2 Update crl-checker to use math/rand/v2, generate RSA keys sometimes Jun 21, 2024
@mcpherrinm mcpherrinm merged commit b7910d3 into main Jun 24, 2024
3 checks passed
@mcpherrinm mcpherrinm deleted the mattm-rando branch June 24, 2024 19:51
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.

2 participants