aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/crypto/gpg/writer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/gpg/writer.go b/lib/crypto/gpg/writer.go
index 269b4907..96d083e8 100644
--- a/lib/crypto/gpg/writer.go
+++ b/lib/crypto/gpg/writer.go
@@ -69,7 +69,7 @@ func (s *Signer) Close() (err error) {
s.w.Write([]byte("\r\n"))
var signedHeader textproto.Header
- signedHeader.Set("Content-Type", "application/pgp-signature")
+ signedHeader.Set("Content-Type", "application/pgp-signature; name=\"signature.asc\"")
signatureWriter, err := s.mw.CreatePart(signedHeader)
if err != nil {
return err