gpg --batch --yes --edit-key trust

mark at proseconsulting.co.uk mark at proseconsulting.co.uk
Tue Jul 27 12:02:07 CEST 2010


On Tue 27/07/10  9:12 AM , Werner Koch wk at gnupg.org sent:
> On Mon, 26 Jul 2010 10:01, mark at proseconsulting.co.uk said:
> > gpg --fingerprint --list-keys "$1" |\
> >     $AWK -v tmpfile="$TMPFILE" -v trustlevel="$2"
>
> Please use --with-colons for all scripts.  The standard output is only
> for humans.

Good spot.  Amended script attached.  I hope others find it useful.

Best regards,
Mark Bannister.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: set-gpg-trust
Type: application/octet-stream
Size: 518 bytes
Desc: not available
URL: </pipermail/attachments/20100727/5cfe1aea/attachment.obj>


More information about the Gnupg-users mailing list