Obtain a signature ID with only a sig file?
vedaal at nym.hush.com
vedaal at nym.hush.com
Wed Jan 2 20:32:30 CET 2013
Jeff Hanson jhansonxi at gmail.com wrote on
Tue Jan 1 23:39:58 CET 2013 :
>Is there a way to obtain the signature ID from a detached sig file without
the signed file?
-----
It can be done by using gpg --list-packets 'detached sig filename'
Here is what happens on my system by doing the above for a detached signature file,
when only the signature file is present, and the file signed is not:
$ gpg --list-packets /cygdrive/c/users/vedaal/'My Documents'/km1.pdf.gpg
:compressed packet: algo=1
:onepass_sig packet: keyid A306C37B495CA15B
version 3, sigclass 0x00, digest 8, pubkey 1, last=1
:literal data packet:
mode b (62), created 1357154353, name="KM1.pdf",
raw data: 24689 bytes
:signature packet: algo 1, keyid A306C37B495CA15B
version 4, created 1357154353, md5len 0, sigclass 0x00
digest algo 8, begin of digest 88 48
hashed subpkt 2 len 4 (sig created 2013-01-02)
subpkt 16 len 8 (issuer key ID A306C37B495CA15B)
data: [2048 bits]
vedaal
More information about the Gnupg-users
mailing list