Home GnuPG
Diffusion GnuPG 12bbfe3854e9

gpgsm: Skip the optional PKCS#12 PBES2 keyLength parameter

Description

gpgsm: Skip the optional PKCS#12 PBES2 keyLength parameter

* sm/minip12.c (parse_bag_encrypted_data): Parse and ignore the
  optional keyLength.
(parse_shrouded_key_bag): Ditto.

We have noticed newer German Telekom issued certificates which for the
first time include this optional parameter. This patch allows to
properly parse them. See RFC-2898, A2 for the specs.

Details

Provenance
wernerAuthored on Tue, Mar 10, 3:24 PM
Parents
rG560dcc842d0e: Add new key to distsigkey.gpg
Branches
Unknown
Tags
Unknown
References
STABLE-BRANCH-2-2