[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

usage of debian keyring rsync service



Hi,

Please let me know if the following method is appropriate to handle
processing of gpg keys as served by Debian's keyring server.
Specifically, is the handling correct for revoked keys, ie, exact same
process to import ALL files?


#!/bin/bash

WRK_DIR=/root/debian-keys
echo $WRK_DIR

if [ -d $WRK_DIR ]; then cd $WRK_DIR; else echo -e "\n\t$WRK_DIR does
not exit!\a";exit 9; fi

(
rsync -az --progress keyring.debian.org::keyrings/keyrings/ .

for x in *gpg *pgp
do
        echo -e "\n======== processing $x ========\n"
        gpg --import $x
done

) 2>&1 |tee /tmp/$(basename $0).out


Thanks.

--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP

Current Land Line No: 03 9912 0504
Mobile: 04 2574 1827 Fax: 03 9012 2178

National No: 1300 85 3804

Affinity Vision Australia Pty Ltd
http://www.affinityvision.com.au
http://adsl2choice.net.au

In Case of Emergency --  http://www.affinityvision.com.au/ice.html



Reply to: