package
Version:
v0.0.0-...-d64132e
Opens a new window with list of versions in this module.
Published: Nov 28, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Test Lint CRLs
The contents of this directory are a variety of PEM-encoded CRLs uses to test
the CRL linting functions in the parent directory.
To create a new test CRL to exercise a new lint:
-
Install the der2text
and text2der
tools:
$ go install github.com/syncsynchalt/der2text/cmds/text2der@latest
$ go install github.com/syncsynchalt/der2text/cmds/der2text@latest
-
Use der2text
to create an editable version of CRL you want to start with, usually crl_good.pem
:
$ der2text crl_good.pem > my_new_crl.txt
-
Edit the text file. See the der2text readme for details about the file format.
-
Write the new PEM file and run the tests to see if it works! Repeat steps 3 and 4 as necessary until you get the correct result.
$ text2der my_new_crl.txt >| my_new_crl.pem
$ go test ..
-
Remove the text file and commit your new CRL.
$ rm my_new_crl.txt
$ git add .
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.