Create key.go unit tests

This commit is contained in:
Aron Wussler 2019-05-13 14:06:54 +00:00 committed by Daniel Huigens
parent 9240e5d86a
commit 8af460ba61
6 changed files with 144 additions and 37 deletions

View file

@ -50,7 +50,6 @@ func TestAttachmentSetKey(t *testing.T) {
}
func TestAttachnentEncryptDecrypt(t *testing.T) {
var pmCrypto = PmCrypto{}
var testAttachmentCleartext = "cc,\ndille."
encSplit, err := pmCrypto.EncryptAttachment([]byte(testAttachmentCleartext), "s.txt", testPrivateKeyRing)