[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
get_key_info.sh on FinFisher for public key server
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have not checked all files, just a sample. as keys have not been
revoked or removed from the public server it would help if someone could
execute the following on every gpg'ed file. as individuals revoke their
keys, if im not mistaken, we will not be able to document the names of
those keys.
[get_key_info.sh]
#!/bin/bash
FILE="$1"
for ID in $(gpg -d "$FILE" |& awk '{print $7}' | grep -v 'available'); do
#gpg --dry-run --keyserver pgp.mit.edu --recv-keys 0x${ID}
echo "ID: 0x$ID"
w3m -dump "https://pgp.mit.edu/pks/lookup?search=0x${ID}&op=index" \
| grep pub
done
LOG:
$ ./get_key_info.sh FinIPCatcher.zip.gpg
ID: 0x977E9F54
ID: 0x0FC82479
ID: 0x0FEB4CFF
ID: 0x6225EAA0
ID: 0x58143658
ID: 0x8E037629
ID: 0x8269976E
pub 1024D/66878388 2013-04-17 Alfons Rauscher <[email protected]>
ID: 0xB03A5EA9
ID: 0xD81082F4
pub 2048R/D81082F4 2012-03-08 Melvin Teoh (Gamma Group)
<[email protected]>
ID: 0xF5946EA8
ID: 0x695D98C9
ID: 0x280AD26F
ID: 0xF158ADF2
ID: 0xF166F2CA
pub 2048R/3F895273 2013-03-05 Alexander Hagenah <[email protected]>
ID: 0x7774F144
ID: 0xA7A4AC21
pub 2048R/A7A4AC21 2013-03-05 Hari Purnama (pgp) <[email protected]>
$ ./get_key_info.sh FinIP-Catcher-User-Manual.docx.gpg
ID: 0x977E9F54
ID: 0x0FC82479
ID: 0x0FEB4CFF
ID: 0x6225EAA0
ID: 0x58143658
ID: 0x8E037629
ID: 0x8269976E
pub 1024D/66878388 2013-04-17 Alfons Rauscher <[email protected]>
ID: 0xB03A5EA9
ID: 0xD81082F4
pub 2048R/D81082F4 2012-03-08 Melvin Teoh (Gamma Group)
<[email protected]>
ID: 0xF5946EA8
ID: 0x695D98C9
ID: 0x280AD26F
ID: 0xF158ADF2
ID: 0xF166F2CA
pub 2048R/3F895273 2013-03-05 Alexander Hagenah <[email protected]>
ID: 0x7774F144
ID: 0xA7A4AC21
pub 2048R/A7A4AC21 2013-03-05 Hari Purnama (pgp) <[email protected]>
$ ./get_key_info.sh FinFly-Web-Syllabus.pdf.gpg
ID: 0x977E9F54
ID: 0x0FC82479
ID: 0x0FEB4CFF
ID: 0x6225EAA0
ID: 0x58143658
ID: 0x8E037629
ID: 0x8269976E
pub 1024D/66878388 2013-04-17 Alfons Rauscher <[email protected]>
ID: 0xB03A5EA9
ID: 0xD81082F4
pub 2048R/D81082F4 2012-03-08 Melvin Teoh (Gamma Group)
<[email protected]>
ID: 0xF5946EA8
ID: 0x695D98C9
ID: 0x280AD26F
ID: 0xF158ADF2
ID: 0xF166F2CA
pub 2048R/3F895273 2013-03-05 Alexander Hagenah <[email protected]>
ID: 0x7774F144
ID: 0xA7A4AC21
pub 2048R/A7A4AC21 2013-03-05 Hari Purnama (pgp) <[email protected]>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlPkqtYACgkQveagdEkPM4CjfACeKDvcaLarLRepieSXiK1blPj+
E/EAoOoWomhgo4dBs3MBr6oIUZkh0pAZ
=PpUm
-----END PGP SIGNATURE-----