./gradlew build
./gradlew build -PskipOidc
./gradlew spotlessApply
./gradlew publishToMavenLocal
git clone https://github.com/google/oss-fuzz
cd oss-fuzz
python3 infra/helper.py build_fuzzers sigstore-java
# Fuzzers are now in `build/out/sigstore-java`
# To e.g. run e.g. CertificatesFuzzer
python3 infra/helper.py run_fuzzer sigstore-java CertificatesFuzzer
git clone https://github.com/google/oss-fuzz
cd oss-fuzz
python3 infra/helper.py build_fuzzers sigstore-java PATH_TO_LOCAL_REPO
https://bugs.chromium.org/p/oss-fuzz/issues/list?q=proj%3Dsigstore-java&can=1
To see private issues (e.g. issues within disclosure deadline) your email must be in the OSS-Fuzz project.yaml.
Assuming you have a testcase from a fuzzer issue at path TESTCASE_PATH and the fuzzer that triggered the issue is FUZZER_NAME then the following steps will reproduce the issue:
git clone https://github.com/google/oss-fuzz
cd oss-fuzz
python3 infra/helper.py build_fuzzers sigstore-java
python3 infra/helper.py reproduce sigstore-java FUZZER_NAME TESTCASE_PATH