Crypto is a collection of packages used in smallstep products. See:
- step: A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc.
- step-ca: A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management, so you can use TLS everywhere & SSO for SSH.
To add this to a project just run:
go get go.step.sm/crypto
Package x509util
implements utilities to build X.509 certificates based on JSON
templates.
Package sshutil
implements utilities to build SSH certificates based on JSON
templates.
Package keyutil
implements utilities to generate cryptographic keys.
Package pemutil
implements utilities to parse keys and certificates. It also
includes a method to serialize keys, X.509 certificates and certificate requests
to PEM.
Package randutil
provides methods to generate random strings and salts.
Package tlsutil
provides utilities to configure tls client and servers.
Package jose
is a wrapper for gopkg.in/square/go-jose.v2
and implements
utilities to parse and generate JWT, JWK and JWKSets.