fix: public key names and content types

This commit is contained in:
James Houlahan
2020-09-02 14:31:11 +02:00
parent f9af17dd9b
commit da751a38e3
3 changed files with 5 additions and 4 deletions

View File

@ -63,7 +63,7 @@ func (store *Store) CreateDraft(
attachmentReaders = append(attachmentReaders, strings.NewReader(attachedPublicKey))
publicKeyAttachment := &pmapi.Attachment{
Name: attachedPublicKeyName + ".asc",
MIMEType: "application/pgp-key",
MIMEType: "application/pgp-keys",
Header: textproto.MIMEHeader{},
}
attachments = append(attachments, publicKeyAttachment)