Useful script for looking at keys..

Newton Hammet newton@hammet.net
Sat Sep 28 02:32:02 2002


Hello All,

  In attempting to look at my public key in greater detail I have come
up with
 following 3-line bash script which may be useful:


RNG=~/.gnupg/pubring.gpg
[ "$1" != "" } && RNG=$1
gpg --debug-all --list-packets $RNG 2>&1|grep -v DBG:|\
grep -E 'pkey|data:|, algo|public key pack'

  It shows the hex values of numbers being used in the key, as well as
signature data.

  Hope this helps others...

Regards, Newton