diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-19 18:14:13 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-19 18:14:13 -0500 |
commit | 6c048ca2dc8ca4ae7708ce8ee5c578ab4ed73c8b (patch) | |
tree | 9011cae7688dc9c0656cd81b953037b76d257908 /src/share/mh/publish_key | |
parent | e2614bf8edffed6f83a646db9514ebb00cfe4faf (diff) |
Modify/cleanup add_certifier and add_revoker, so that their code base
is more similar, and so that they can read keys from stdin instead of
just from a file. Also fix the permissions on the tempdir in
publish_key.
Diffstat (limited to 'src/share/mh/publish_key')
-rw-r--r-- | src/share/mh/publish_key | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/share/mh/publish_key b/src/share/mh/publish_key index 05faa0b..b0ffd93 100644 --- a/src/share/mh/publish_key +++ b/src/share/mh/publish_key @@ -28,6 +28,8 @@ fi # create a temporary gnupg directory from which to publish the key export GNUPGHOME=$(msmktempdir) +chmod 0700 "$GNUPGHOME" +chown "$MONKEYSPHERE_USER":"$MONKEYSPHERE_USER" "$GNUPGHOME" # trap to remove tmp dir if break trap "rm -rf $GNUPGHOME" EXIT |