
A PGP packet visualizer
pgpdump es un visualizador de paquetes PGP que muestra el formato de paquetes de OpenPGP (RFC 4880) y PGP versión 2 (RFC 1991).
Aquí hay un ejemplo:
% pgpdump test/sig1
Old: Marker Packet(tag 10)(3 bytes)
String - ...
New: One-Pass Signature Packet(tag 4)(13 bytes)
New version(3)
Sig type - Signature of a binary document(0x00).
Hash alg - SHA1(hash 2)
Pub alg - DSA Digital Signature Algorithm(pub 17)
Key ID - 0xA79778E247B63037
Next packet - other than one pass signature
New: Signature Packet(tag 2)(63 bytes)
Ver 3 - old
Hash material(5 bytes):
Sig type - Signature of a binary document(0x00).
Creation time - Fri Nov 27 22:35:02 JST 1998
Key ID - 0xA79778E247B63037
Pub alg - DSA Digital Signature Algorithm(pub 17)
Hash alg - SHA1(hash 2)
Hash left 2 bytes - 8f 82
DSA r(160 bits) - ...
DSA s(157 bits) - ...
-> hash(DSA q bits)
Siga los siguientes pasos para instalar pgpdump desde un tarball de lanzamiento:
% ./configure
% make
% su
# make install
Para compilar desde Git, ejecute autoreconf -fviW all antes de ejecutar los comandos anteriores.
Los binarios están disponibles para Mac OS X a través de Homebrew:
% brew install pgpdump
Para saber cómo usar pgpdump, escriba pgpdump -h.
Algunos ejemplos están almacenados en el directorio test. También puede visualizar su pubring y secring.
La página oficial de pgpdump es:
Para ejecutar todas las pruebas:
% make check
o:
% make
% ./test/test
Para ejecutar pruebas específicas:
% make check TESTS="test/pub.res test/sig.res"
o:
% make
% ./test/test test/pub.res test/sig.res