* Update header version to 2.0.0 * Add space to cleartext message armouring * Fix password encrypted binary files * Clear key private params in helpers * Do not unlock key if private key is nil * Document changes * Use defer for ClearPrivateKeyParams
12 lines
374 B
Go
12 lines
374 B
Go
// Package constants provides a set of common OpenPGP constants.
|
|
package constants
|
|
|
|
// Constants for armored data.
|
|
const (
|
|
ArmorHeaderVersion = "GopenPGP 2.0.0"
|
|
ArmorHeaderComment = "https://gopenpgp.org"
|
|
PGPMessageHeader = "PGP MESSAGE"
|
|
PGPSignatureHeader = "PGP SIGNATURE"
|
|
PublicKeyHeader = "PGP PUBLIC KEY BLOCK"
|
|
PrivateKeyHeader = "PGP PRIVATE KEY BLOCK"
|
|
)
|