Improve documentation and naming

- Rename pmmime to gomime
- Rename pmKeyObject to pgpKeyObject
This commit is contained in:
Daniel Huigens 2019-05-15 13:40:19 +02:00
parent 30ee92e63b
commit 7d9930b8e0
13 changed files with 108 additions and 99 deletions

View file

@ -31,7 +31,7 @@ func TestAttachmentGetKey(t *testing.T) {
}
func TestAttachmentSetKey(t *testing.T) {
packets, err := SetKey(testPublicKeyRing, testSymmetricKey)
packets, err := testPublicKeyRing.EncryptKey(testSymmetricKey)
if err != nil {
t.Fatal("Expected no error while encrypting attachment key, got:", err)
}