Release 2.3.0: Update go-crypto, add Key.IsRevoked and fix key.IsExpired

This commit is contained in:
Aron Wussler 2021-11-02 09:57:22 +01:00
parent 420bb96585
commit 130472d5a5
9 changed files with 85 additions and 43 deletions

View file

@ -173,6 +173,11 @@ func TestBinaryMessageEncryption(t *testing.T) {
}
func TestIssue11(t *testing.T) {
pgp.latestServerTime = 1559655272
defer func() {
pgp.latestServerTime = testTime
}()
var issue11Password = []byte("1234")
issue11Key, err := NewKeyFromArmored(readTestFile("issue11_privatekey", false))