summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/backend
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-09-29 12:53:30 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-09-29 13:12:48 +0200
commit7e9561e933088a935e2f6e238255a8836b9369d9 (patch)
treea641802c34d2845d174fd7daa6ae1e7b12cee15c /openpgp/src/crypto/backend
parent81d21ecab7fbe05c5bff3dee66aa737562d8f6e1 (diff)
openpgp: Put all information into the hashed subpacket area.
- Put the Issuer, IssuerFingerprint, and EmbeddedSignature subpackets into the hashed subpacket area. - Even though this information is self-authenticating (the act of validating the signature authenticates the subpacket), it is stored in the unhashed subpacket area. This has the advantage that the signer authenticates the set of issuers. Furthermore, it makes handling of the resulting signatures more robust: If there are two two signatures that are equal modulo the contents of the unhashed area, there is the question of how to merge the information in the unhashed areas. Storing issuer information in the hashed area avoids this problem.
Diffstat (limited to 'openpgp/src/crypto/backend')
0 files changed, 0 insertions, 0 deletions