tags 393005 patch Hey,
This is a simple patch to allow non-root users to use apt-key list and apt-key fingerprint. Regards, Carl Chenet
20a21,40 > list_keys() { > ID=`id -u` > if [ "$ID" = "0" ]; then > $GPG --batch --list-keys > else > GPG="gpg --ignore-time-conflict --no-options --quiet" > $GPG --batch --list-keys > fi > } > > fingerprint() { > ID=`id -u` > if [ "$ID" = "0" ]; then > $GPG --batch --fingerprint > else > GPG="gpg --ignore-time-conflict --no-options --quiet" > $GPG --batch --fingerprint > fi > } > 152c172 < $GPG --batch --list-keys --- > list_keys 155c175 < $GPG --batch --fingerprint --- > fingerprint