Release version 2.0.1

This commit is contained in:
Aron Wussler 2020-04-29 18:48:13 +02:00 committed by wussler
parent 4e5b29eb4a
commit b1e005fec3
3 changed files with 4 additions and 4 deletions

View file

@ -4,16 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [2.0.1] - 2020-05-01
### Security
- Updated underlying crypto library
- Improved memory zeroing in helpers
### Fixed
- Fixed test `TestMultipleKeyMessageEncryption`
- Fixed garbage collection issues when compiled on gomobile, by copying byte slices
- Password encrypted binary files now have the correct flags
- Fixed missing space in `Hash` header of cleartext messages
- Fixed tests `TestMultipleKeyMessageEncryption` and `TestSymmetricKeyPacket`
## Changed
- Providing empty passphrase does no longer throw an error when unlocking an unencrypted private key

View file

@ -30,7 +30,7 @@ To use this library using [Go Modules](https://github.com/golang/go/wiki/Modules
```gomod
require (
...
github.com/ProtonMail/gopenpgp/v2 v2.0.0
github.com/ProtonMail/gopenpgp/v2 v2.0.1
)
replace golang.org/x/crypto => github.com/ProtonMail/crypto v0.0.0-20200416114516-1fa7f403fb9c

View file

@ -3,7 +3,7 @@ package constants
// Constants for armored data.
const (
ArmorHeaderVersion = "GopenPGP 2.0.0"
ArmorHeaderVersion = "GopenPGP 2.0.1"
ArmorHeaderComment = "https://gopenpgp.org"
PGPMessageHeader = "PGP MESSAGE"
PGPSignatureHeader = "PGP SIGNATURE"