diff options
author | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-06-14 15:58:19 -0400 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-06-14 15:58:19 -0400 |
commit | 31e072432f985e03cc27b101f3a150fb45204d4f (patch) | |
tree | bbf62b56f926f92d668d0cfb771de78bf56cb55c /src | |
parent | 7c315f56f1a5b9ed7742f48a9a0b836a47f44458 (diff) |
Add lsign-key to the trust_keys function so that the trusted key
actually ends up with full validity.
Diffstat (limited to 'src')
-rw-r--r-- | src/common | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -468,6 +468,11 @@ trust_key() { # get key fingerprint fingerprint=$(get_key_fingerprint "$keyID") + # attach a "non-exportable" signature to the key + # this is required for the key to have any validity at all + # the 'y's on stdin indicates "yes, i really want to sign" + echo -e 'y\ny' | gpg --lsign-key --command-fd 0 "$fingerprint" + # import "full" trust for fingerprint into gpg echo ${fingerprint}:5: | gpg --import-ownertrust if [ $? = 0 ] ; then |