Add KeyIDs public API functionality (#76)
* Add public KeyIDs functions * Add signature keyIDs functions * Lint code
This commit is contained in:
parent
1f4d966115
commit
2f89b9fa0e
7 changed files with 212 additions and 9 deletions
|
|
@ -143,7 +143,7 @@ func TestDataPacketEncryption(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatal("Unable to unarmor pgp message, got:", err)
|
||||
}
|
||||
ids, ok := pgpMessage.getEncryptionKeyIDs()
|
||||
ids, ok := pgpMessage.GetEncryptionKeyIDs()
|
||||
assert.True(t, ok)
|
||||
assert.Exactly(t, 3, len(ids))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue