mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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>
This commit is contained in:
parent
8bc1debfef
commit
bcc8250bc5
3 changed files with 33 additions and 17 deletions
|
@ -333,8 +333,9 @@ listed too.
|
|||
|
||||
@item --list-packets
|
||||
@opindex list-packets
|
||||
List only the sequence of packets. This is mainly
|
||||
useful for debugging.
|
||||
List only the sequence of packets. This is mainly useful for
|
||||
debugging. When used with option @option{--verbose} the actual MPI
|
||||
values are dumped and not only their lengths.
|
||||
|
||||
|
||||
@item --card-edit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue