Home GnuPG
Diffusion GnuPG f795a0d59e19

Import only packets which are allowed in a keyblock.
f795a0d59e19Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Import only packets which are allowed in a keyblock.

* g10/import.c (valid_keyblock_packet): New.
(read_block): Store only valid packets.

A corrupted key, which for example included a mangled public key
encrypted packet, used to corrupt the keyring. This change skips all
packets which are not allowed in a keyblock.

Details

Provenance
wernerAuthored on Dec 20 2012, 9:43 AM
Parents
rG5c557a51cdf3: Issue 1447: Pass proper Host header and SNI when SRV is used with curl.
Branches
Unknown
Tags
Unknown