Documentation
¶
Overview ¶
Package signing handles the loading of signing keys from files. It expects a configuration file with the key ID and potentially several private keys in the same directory. The key ID in the configuration file is used to determine which private key to load.
Example structure:
- ./keyID.txt Content: "key1"
- ./key1.pem
- ./key2.pem
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct {
ID string
Private *rsa.PrivateKey
}
func GenerateKey ¶
GenerateKey is used in tests to generate a new signing key.
Click to show internal directories.
Click to hide internal directories.