summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-08-20 18:08:10 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-08-20 18:08:10 +0200
commitfa888a60114c60f2babc311f15aff8e14f196025 (patch)
treecf534d6639b8ccae6677829897c0a7ba5efdad6f /.gitlab-ci.yml
parent96c3ebd47138ea4ee044fea9fc4dc967c76f263f (diff)
openpgp: Add optional parameters to unknown S2K variants.
- This mirrors how we handle other unknown variants. However, since we do not know the length of the parameters for unknown S2K variants, we cannot parse them back. To work around that, the parameter field is optional, and will be `None` when an unknown S2K is parsed. The data is not lost, but stored in the packet containing the S2K object, so that we can serialize it again. - Carefully preserve the invariant that we can parse any packet we can serialize by comparing the serialized form of the packet fragments containing the S2K and any fields the parameters of unknown variants bleed into on parsing. - Unfortunately, this means that S2K on its own no longer roundtrips. Remove that test accordingly.
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions