| Jeff Abrahamson on Wed, 2 Jul 2003 18:51:05 -0400 |
|
Do you ever find yourself wondering whose key you've signed at a plug
meeting? Should I verify your info? But maybe I already signed your
key last year and I forgot. Verifying again would be such a waste.
Or maybe this is just me: I'm so bad with names. But not anymore. Here
are two bash functions that tell me whose keys I've signed:
signed-me-verbose() { gpg --list-sigs | \
egrep '(^pub|jeff@purple.com)'| \
perl -wne 'my $last_line = ""; while(my $line = <>) { \
if($line !~ /^pub/) { print $last_line; print $line; } \
$last_line = $line; }'; }
signed-me() { gpg --list-sigs | \
egrep '(^pub|jeff@purple.com)'| \
perl -wne 'my $last_line = ""; while(my $line = <>) { \
if($line !~ /^pub/ and $last_line =~ /^pub/) { print $last_line; } \
$last_line = $line; }'; }
Overly clever would be a perl program that used Palm:: modules to
update a memo entry in my pilot. The whole thing could then be
run by cron so I needn't ever think about it. Left as an exercise, as
I am not overly clever.
--
Jeff
Jeff Abrahamson <http://www.purple.com/jeff/>
GPG fingerprint: 1A1A BA95 D082 A558 A276 63C6 16BF 8C4C 0D1D AE4B
Attachment:
pgp6cgdJSKvFL.pgp
|
|