Fix various keys issues (#117)
* Fix armouring headers for public keys * Fix error for session key decryption failure
This commit is contained in:
parent
27efcb4627
commit
ff54225384
7 changed files with 75 additions and 6 deletions
|
|
@ -103,7 +103,7 @@ func TestAttachmentDecrypt(t *testing.T) {
|
|||
assert.Exactly(t, message, redecData)
|
||||
}
|
||||
|
||||
func TestAttachmentDecrypt2(t *testing.T) {
|
||||
func TestAttachmentDecryptStatic(t *testing.T) {
|
||||
passphrase := []byte("wUMuF/lkDPYWH/0ZqqY8kJKw7YJg6kS")
|
||||
keyPacket, err := base64.StdEncoding.DecodeString(readTestFile("att_keypacket", false))
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue