Fixing rebase of andrewbuss/decrypt_sign

Also switched testdata/ssh_key with an ssh-ed25519 key
This commit is contained in:
Mahrud Sayrafi
2018-02-04 19:59:36 -08:00
committed by Kyle Isom
parent 9a49b3a39e
commit e6481c0513
9 changed files with 42 additions and 37 deletions

View File

@@ -169,7 +169,7 @@ func TestEncryptDecrypt(t *testing.T) {
RightNames: right,
}
resp, err := c.Encrypt([]byte("Hello World!"), []string{}, ac)
resp, err := c.Encrypt([]byte("Hello World!"), []string{}, []string{}, ac)
if err != nil {
t.Fatalf("Error: %s", err)
}
@@ -183,7 +183,7 @@ func TestEncryptDecrypt(t *testing.T) {
}
// (resp []byte, labels, names []string, secure bool, err error)
_, _, _, _, err = c.Decrypt(resp, "alice")
_, _, _, _, _, err = c.Decrypt(resp, "alice")
if err != nil {
t.Fatalf("%v", err)
}