# README
xpki
Library for working with certificates and keys
Requirements
- GoLang 1.21+
- SoftHSM2
Contribution
make all
complete build and testmake test
run the testsmake testshort
runs the tests skipping the end-to-end tests and the code coverage reportingmake covtest
runs the tests with end-to-end and the code coverage reportingmake coverage
view the code coverage results from the last make test run.make generate
runs go generate to update any code generated filesmake fmt
runs go fmt on the project.make lint
runs the go linter on the project.
run make all
once, then run make build
or make test
as needed.
First run:
make all
Tests:
make test
Optionally run golang race detector with test targets by setting RACE flag:
make test RACE=true
Review coverage report:
make covtest coverage
Environment
To work with keys on AWK KMS simulator container, set AWS environment to test values:
export AWS_ACCESS_KEY_ID=notusedbyemulator
export AWS_SECRET_ACCESS_KEY=notusedbyemulator
export AWS_DEFAULT_REGION=us-west-2
Tools
# Packages
Package armor implements OpenPGP ASCII Armor, see RFC 4880.
Package authority contains the Certification Authority.
Package certutil provides utilities to work with certificates.
No description provided by the author
Package crypto11 allows for access cryptographic keys from PKCS#11 using Go crypto API.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author