l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
April 21: Google Glass
Next Installfest:
TBD
Latest News:
Mar. 18: Google Glass at LUGOD's April meeting
Page last updated:
2002 Jul 25 21:20

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] question about trust (gpg)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] question about trust (gpg)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 25 July 2002 04:44 pm, Ryan wrote:
> Yeah, the keyservers are great for this. You could set up a script to run
> via a cron job to sync with the keyservers (weekly is my sugguestion....)
> and automaticly download the keys to any unknown signatures. (if anyone
> has/knows of such a script, please share)

Fine, I wrote one myself (quick and dirty perl hack) :P

It'll ask your default keyserver for a copy of each of the keys on your 
public key ring.

I'm placing it into public domain, so do whatever you want with it, but I'm 
not responsible if it breaks, formats your hard drive, etc.....

#!/usr/bin/perl -w

@pubkeys = `gpg --list-sigs | grep pub`; # Get a list of public keys on our 
keyring

foreach ( @pubkeys ) {
  s/\// /;                               # Convert '/'s to ' 's
  s/(\S+)\s+(\S+)\s+(\S+).*/$3/;       # Strip all but the third field (KeyID)
  if ( /[0-9A-F]{8}?/ ) {                # Sanity check the key
    @args = ("gpg", "--recv-key", $_);
    print "Updating KeyID $args[2]...";  # Status message
    system(@args);                       # Update the key
  }
}

- -- 
PGP/GPG Fingerprint: 3B30 C6BE B1C6 9526 7A90  34E7 11DF 44F3 7217 7BC7
On pgp.mit.edu, import with `gpg --keyserver pgp.mit.edu --recv-key 72177BC7`
Also available at http://www.cal.net/~ryan/ryan_at_mother_dot_com.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9QMViEd9E83IXe8cRAuMQAJ9pOjZyMqfsG1eIyWZMbf2vZEq1gACghWJL
AYGLHDZ/mRxmBj3oCLW6Skw=
=RZjU
-----END PGP SIGNATURE-----
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.