
A PGP packet visualizer
pgpdump는 OpenPGP(RFC 4880) 및 PGP 버전 2(RFC 1991)의 패킷 형식을 표시하는 PGP 패킷 시각화 도구입니다.
다음은 예시입니다:
% 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)
릴리스 tarball에서 pgpdump를 설치하려면 다음 단계를 수행하십시오:
% ./configure
% make
% su
# make install
Git에서 빌드하려면 위 명령을 실행하기 전에 autoreconf -fviW all을 실행하십시오.
Mac OS X용 바이너리는 Homebrew를 통해 제공됩니다:
% brew install pgpdump
pgpdump 사용법을 알아보려면 pgpdump -h를 입력하십시오.
일부 예제는 test 디렉터리에 저장되어 있습니다. 또한 pubring과 secring도 시각화할 수 있습니다.
pgpdump의 공식 홈페이지는 다음과 같습니다:
모든 테스트를 실행하려면:
% make check
또는:
% make
% ./test/test
특정 테스트를 실행하려면:
% make check TESTS="test/pub.res test/sig.res"
또는:
% make
% ./test/test test/pub.res test/sig.res