Automaticaly import public keys by e-mails
David Srbecky
dsrbecky at gmail.com
Mon Aug 8 23:29:05 CEST 2005
Roscoe wrote:
> Well, I don't know about a pure gnupg way but where theres a idea
> theres a broken piece of sh script trying to implement it! And without
> further ado I present my broken piece of sh script:
>
> $ cat > emaillist
> dsrbecky at gmail.com
> eocsor at gmail.com
> $ for i in `cat emaillist`; do lynx -dump
> "http://stinkfoot.org:11371/pks/looku
> p?op=index&search=$i"|grep '1. http://'|awk '{print $2}'|xargs lynx
> -dump|gpg -- import; done
> gpg: key 2DC6523A: public key "David Srbecky <dsrbecky at gmail.com>" imported
> gpg: Total number processed: 1
> gpg: imported: 1
> gpg: 3 marginal(s) needed, 1 complete(s) needed, classic trust model
> gpg: depth: 0 valid: 4 signed: 4 trust: 0-, 0q, 0n, 0m, 0f, 4u
> gpg: depth: 1 valid: 4 signed: 0 trust: 1-, 0q, 0n, 3m, 0f, 0u
> gpg: next trustdb check due at 2005-10-06
> gpg: key 699B3EBE: "Roscoe <eocsor at gmail.com>" not changed
> gpg: Total number processed: 1
> gpg: unchanged: 1
> $
>
> That might not be immediately usable, but you get the idea :)
>
Sorry for the late reply - I had to download, install and learn Cygwin,
but it works now! Thanks!
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20050808/d2045429/signature-0001.pgp
More information about the Gnupg-users
mailing list