detecting armor or text

Atom 'Smasher' atom at suspicious.org
Mon Nov 15 16:49:52 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Mon, 15 Nov 2004 vedaal at hush.com wrote:

> gpg --list-packets
=======================

$ echo test | gpg --store | gpg --no-verbose --list-packets
:compressed packet: algo=3
:literal data packet:
 	mode b, created 1100533258, name="",
 	raw data: 5 bytes

                    +- armor
                   \/ 
$ echo test | gpg -a --store | gpg --no-verbose --list-packets
:compressed packet: algo=3
:literal data packet:
 	mode b, created 1100533259, name="",
 	raw data: 5 bytes

i don't see any difference in the "list-packets" between the binary and 
the armored input. i guess a mode "b" is armored or raw binary, and mode 
"t" is plain text?


- -- 
         ...atom

  _________________________________________
  PGP key - http://atom.smasher.org/pgp.txt
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
  -------------------------------------------------

 	"If a baseball player slides into home plate and, right
 	 before the umpire rules if he is safe or out, the player
 	 says to the umpire - 'Here is $1,000.' What would we
 	 call that? We would call that a bribe.
 	 If a lawyer was arguing a case before a judge and said,
 	 'Your honor before you decide on the guilt or innocence
 	 of my client, here is $1,000.' What would we call that?
 	 We would call that a bribe.
 	 But if an industry lobbyist walks into the office of a
 	 key legislator and hands her or him a check for $1,000,
 	 we call that a campaign contribution.
 	 We should call it a bribe."
 		-- Janice Fine
 		Dollars and Sense magazine

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures

iQEcBAEBCAAGBQJBmNAlAAoJEAx/d+cTpVci+oUH/ArV/Pof1jZqOuqo6q3Ovw2r
oT4Dh40cciIr3X1Eh0mT2ABGcySWw2E6AlPEwt048EBPMfH2pAMWRGlnkV3K5jvI
sh9nVl5HMb8Zp7XbU/cuYuvcMzTcIiVKLurHIiRe7FkDwZQSHgLzCMbU1EOh5qjq
NbyPX6/BYc3DUzLCVVAN8p8Czv3XzLwGuPn6sDR/TdqhXKJgPXBT730Vd4bhXerG
ClmSSVmvoO+MMoWCqf/anDaUhsPPlIk/6kvX2RHrcDLy7mmc+c/utTByufHju+Ed
J/XEDO5hIgWwmDWvfsM5VpDl+1HizHCbg/is5WD+Hnu5cKkVn0Nsltb8/Om4aIA=
=FtD8
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list