Fix various minor issues (#45)
* 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
This commit is contained in:
parent
0f35072bc4
commit
222decb919
9 changed files with 28 additions and 7 deletions
|
|
@ -3,7 +3,7 @@ package constants
|
|||
|
||||
// Constants for armored data.
|
||||
const (
|
||||
ArmorHeaderVersion = "GopenPGP 0.0.1 (" + Version + ")"
|
||||
ArmorHeaderVersion = "GopenPGP 2.0.0"
|
||||
ArmorHeaderComment = "https://gopenpgp.org"
|
||||
PGPMessageHeader = "PGP MESSAGE"
|
||||
PGPSignatureHeader = "PGP SIGNATURE"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue