Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hw12203:/Users/alopresto/Workspace/scratch (master) alopresto
- ๐ 14s @ 15:49:46 $ echo "This is a test" > sign.txt
- hw12203:/Users/alopresto/Workspace/scratch (master) alopresto
- ๐ 11s @ 15:52:30 $ gpg --sign sign.txt
- hw12203:/Users/alopresto/Workspace/scratch (master) alopresto
- ๐ 60s @ 15:53:22 $ xxd sign.txt.gpg
- 0000000: a301 014d 02b2 fd90 0d03 000a 013c 6ef6 ...M.........<n.
- 0000010: 5b2f 7def 6901 ac1d 6208 7369 676e 2e74 [/}.i...b.sign.t
- 0000020: 7874 5882 a322 5468 6973 2069 7320 6120 xtX.."This is a
- 0000030: 7465 7374 0a89 021c 0400 010a 0006 0502 test............
- ...
- 0000250: 1999 83c9 ....
- hw12203:/Users/alopresto/Workspace/scratch (master) alopresto
- ๐ 100s @ 15:54:11 $ gpg --verify -vvv sign.txt.gpg
- gpg: using character set `utf-8'
- :compressed packet: algo=1
- :onepass_sig packet: keyid 3C6EF65B2F7DEF69
- version 3, sigclass 0x00, digest 10, pubkey 1, last=1
- :literal data packet:
- mode b (62), created 1484956450, name="sign.txt",
- raw data: 15 bytes
- gpg: original file name='sign.txt'
- :signature packet: algo 1, keyid 3C6EF65B2F7DEF69
- version 4, created 1484956450, md5len 0, sigclass 0x00
- digest algo 10, begin of digest 98 8e
- hashed subpkt 2 len 4 (sig created 2017-01-20)
- subpkt 16 len 8 (issuer key ID 3C6EF65B2F7DEF69)
- data: [4092 bits]
- gpg: Signature made Fri Jan 20 15:54:10 2017 PST using RSA key ID 2F7DEF69
- gpg: using PGP trust model
- gpg: key 00D026C4: accepted as trusted key
- gpg: key 51BF2B79: accepted as trusted key
- gpg: key 2F7DEF69: accepted as trusted key
- gpg: Good signature from "Andy LoPresto <alopresto@apache.org>" [ultimate]
- gpg: aka "Andy LoPresto <alopresto.apache@gmail.com>" [ultimate]
- gpg: binary signature, digest algorithm SHA512
- hw12203:/Users/alopresto/Workspace/scratch (master) alopresto
- ๐ 10s @ 15:54:22 $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement