Page MenuHome GnuPG

No way to provide premade literal packet(s) for signing
Closed, ResolvedPublic

Description

Release: 1.2.x, 1.3.x

Description

When providing a premade literal packet for signing via --no-literal, GnuPG hashes the entire literal packet (header and all) rather than just the data contents. Arguably, this isn't a bug (after all, no-literal means no literal), but it would be nice to have an option to say "these are premade literal packet(s), so treat them as such".

How To Repeat

echo "bar" > bar.txt
gpg -z0 --store bar.txt
gpg -z0 --no-literal --sign bar.txt.gpg

Fix

Unknown