Add missing PGP/MIME version header to publish response
This commit is contained in:
parent
e0085d7bfb
commit
c83c02cedd
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ Encrypt live everybody is.
|
|||
encrypted |= pgp_sign(self.domain, encrypted)
|
||||
payload = MIMEApplication(str(encrypted), _subtype='octet-stream')
|
||||
mpenc = MIMEApplication(payload.as_string(policy=default), _subtype='pgp-encrypted')
|
||||
mpenc['Version'] = '1'
|
||||
email = MIMEMultipart(_subtype='encrypted', _subparts=[mpenc], policy=default,
|
||||
protocol='application/pgp-encrypted')
|
||||
email['Subject'] = 'Your key has been published'
|
||||
|
|
Loading…
Reference in a new issue