feat: attach public key

This commit is contained in:
James Houlahan
2020-08-17 14:02:09 +02:00
parent 9ba08e5edb
commit f4dfadce52
3 changed files with 39 additions and 4 deletions

View File

@ -45,7 +45,6 @@ func Parse(r io.Reader, key, keyName string) (m *pmapi.Message, mimeBody, plainB
}
if key != "" {
// TODO: This is currently broken!
if err = attachPublicKey(p.Root(), key, keyName); err != nil {
return
}