Home GnuPG
Diffusion GnuPG bcc8250bc5b9

gpg: Allow printing of MPI values in --list-mode.
bcc8250bc5b9Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Allow printing of MPI values in --list-mode.

* g10/parse-packet.c (set_packet_list_mode): Set mpi_print_mode.
* g10/misc.c (mpi_print): Do not print an extra leading zero.

This was in older versions possible using "--debug 4" but that was
disabled in 2.1 due to a conflict using this values also for
Libgcrypt. Now the values are dumped either with --debug 4 or using
--list-packets along with --verbose.

Because OpenPGP only uses unsigned integers an extra leading zero will
not be printed anymore.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 16 2015, 7:57 PM
Parents
rG8bc1debfefb7: gpg: Fix broken write of opaque MPI length header.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGbcc8250bc5b9: gpg: Allow printing of MPI values in --list-mode. (authored by Werner Koch <wk@gnupg.org>).Mar 16 2015, 8:12 PM