
A PGP packet visualizer
pgpdump è un visualizzatore di pacchetti PGP che mostra il formato dei pacchetti di OpenPGP (RFC 4880) e PGP versione 2 (RFC 1991).
Ecco un esempio:
% 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)
Seguire i seguenti passaggi per installare pgpdump da un tarball di release:
% ./configure
% make
% su
# make install
Per compilare da Git, eseguire autoreconf -fviW all prima di eseguire i comandi precedenti.
Sono disponibili binari per Mac OS X tramite Homebrew:
% brew install pgpdump
Per sapere come usare pgpdump, digitare pgpdump -h.
Alcuni esempi sono memorizzati nella directory test. Inoltre, è possibile visualizzare il proprio pubring e secring.
La home page ufficiale di pgpdump è:
Per eseguire tutti i test:
% make check
oppure:
% make
% ./test/test
Per eseguire test specifici:
% make check TESTS="test/pub.res test/sig.res"
oppure:
% make
% ./test/test test/pub.res test/sig.res