summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/src/packet/signature.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-08-12 13:11:33 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-08-12 13:34:02 +0200
commit2aa8c003a99afef4e8199e92cfa403a5048cdf7c (patch)
treefb685911ab8e429d9160ea8d74f4bacd59177629 /openpgp-ffi/src/packet/signature.rs
parente59a49767ffdc5b90137cfe03ea7512c5f437404 (diff)
openpgp: Improve SKESK5::decrypt.
- Previously, this function returned the symmetric algorithm used to encrypt the session key. However, that is not necessarily the same as the symmetric algorithm used to encrypt the payload. SKESKv5 packets simply don't have that information. Return a placeholder instead. Properly fixing this requires changing SKESK::decrypt to return an optional symmetric algorithm, and that repples through to DecryptionHelper::decrypt and PacketParser::decrypt.
Diffstat (limited to 'openpgp-ffi/src/packet/signature.rs')
0 files changed, 0 insertions, 0 deletions