Skip to content

Conversation

AdamKorcz
Copy link
Contributor

This adds fuzz tests for a bunch of parsers and verification routines. The fuzzers are implemented by way of Native Go Fuzzing. They can be run by way of go test -fuzz=FuzzTest.

The PR also removes an older fuzzer.

Checklist

@AdamKorcz AdamKorcz requested a review from a team as a code owner February 3, 2024 16:38
@AdamKorcz AdamKorcz requested review from phbnf and removed request for a team February 3, 2024 16:38
Copy link
Contributor

@phbnf phbnf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thank you very much for this!!

@phbnf
Copy link
Contributor

phbnf commented Feb 6, 2024

@AlCutter points out that this x509 library is a fork of https://pkg.go.dev/crypto/x509, which would likely also also benefit from fuzzing if you're interested.

Signed-off-by: Adam Korczynski <adam@adalogics.com>
@roger2hk roger2hk merged commit c287ad6 into google:master Feb 16, 2024
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.

3 participants