Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

GPG

Name: Anonymous 2012-12-02 16:17

With GnuPG you can sign messages. The signature looks something below. Does this contain more than just a hash, and if so, what/how can this be made visible?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQI......
.........
=TNf9
-----END PGP SIGNATURE-----

Name: Anonymous 2012-12-02 16:54

>>4
$ cat > anus
I thereby relinquish my role of guardian of the anus.
$ gpg --detach-sign -a anus

You need a passphrase to unlock the secret key for
user: "The Guardian <guardian@anus>"
4096-bit RSA key, ID 00000000, created 2012-01-01

$ ls
anus  anus.asc
$ cat anus.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIc...cQE
-----END PGP SIGNATURE-----
$ gpg --list-packets anus.asc
:signature packet: algo 1, keyid 0000000000000000
    version 4, created 1354484986, md5len 0, sigclass 0x00
    digest algo 3, begin of digest a1 45
    hashed subpkt 2 len 4 (sig created 2012-12-02)
    subpkt 16 len 8 (issuer key ID 0000000000000000)
    data: [4095 bits]
$ pgpdump anus.asc
Old: Signature Packet(tag 2)(540 bytes)
    Ver 4 - new
    Sig type - Signature of a binary document(0x00).
    Pub alg - RSA Encrypt or Sign(pub 1)
    Hash alg - RIPEMD160(hash 3)
    Hashed Sub: signature creation time(sub 2)(4 bytes)
        Time - Sun Dec  2 16:49:46 EST 2012
    Sub: issuer key ID(sub 16)(8 bytes)
        Key ID - 0x0000000000000000
    Hash left 2 bytes - d2 67
    RSA m^d mod n(4095 bits) - ...
        -> PKCS-1
$

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List