package
3.8.7+incompatible
Repository: https://github.com/hpcng/singularity.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GenerateRSAKey creates a new RSA key of length keySize.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SavePrivatePEM saves a private PEM key into a file.
SavePublicPEM saves a public PEM key into a file.

# Constants

DefaultKeySize is the default size of the key that is used when a size is not explicitly specified.
Passphrase indicates the key material is formatted as a passphrase.
PEM indicates the key material is formatted as a PEM file.
Unknown indicates the key material format is not known.

# Variables

ErrEncryptedKeyNotFound indicates the encrypted key is not found.
ErrInvalidPassphrase raised when the passed key is not valid to open requested encrypted device.
ErrNoEncryptedKeyData indicates there is no encrypted key data.
ErrNoPEMData indicates there is no PEM data.
ErrUnsupportedCryptsetupVersion is the error raised when the available version of cryptsetup is not compatible with the Singularity encryption mechanism.
ErrUnsupportedKeyURI indicates the key URI is not supported.

# Structs

Device describes a crypt device.
KeyInfo contains information for passing around or extracting a passphrase for an encrypted container.