Skip to content

Commit

Permalink
Merge pull request #281 from autocrypt/fix-setup-message-openpgp
Browse files Browse the repository at this point in the history
Correct the Autocrypt Setup Message's encrypted content
  • Loading branch information
dkg committed Dec 14, 2017
2 parents 600a429 + cd16d8c commit ba74e2f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/level1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -838,8 +838,13 @@ both programmatically and manually.
- The second mime part of the message MUST have Content-Type
``application/autocrypt-setup``, and SHOULD have Content-Disposition
of ``attachment``. Its content consists of the user's ASCII-armored
secret key, encrypted in an ASCII-armored :rfc:`RFC 4880
Symmetrically Encrypted Data Packet<4880#section-5.7>`
secret key, encrypted within an ASCII-armored OpenPGP
symmetrically-encrypted message. Specifically, this means a block
delimited with ``-----BEGIN PGP MESSAGE-----`` and ``-----END PGP
MESSAGE-----``, which contains two OpenPGP packets: a
:rfc:`Symmetric-Key Encrypted Session Key<4880#section-5.3>`
followed by a :rfc:`Symmetrically Encrypted Integrity Protected Data
Packet<4880#section-5.13>`.

- There MAY be text above or below the ASCII-armored encrypted data in
the second MIME part, which MUST be ignored while processing. This
Expand Down

0 comments on commit ba74e2f

Please sign in to comment.