Keys clean of all signatures except those made by others I trust

Robert J. Hansen rjh at
Thu Jan 25 00:01:25 CET 2018

> please don't script based on the output of gpg without using
> --with-colons.

Correction noted, thank you.  Have one in return.  :)

>   for fpr in $(gpg --with-colons --list-keys | \
>                awk -F: '/^fpr:/{ print $10 }'); do \
>       gpg --edit-key "fpr" clean save; done

"fpr" should be $fpr, I think.

More information about the Gnupg-users mailing list