diff options
author | intrigeri <intrigeri@boum.org> | 2012-07-02 18:12:28 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2012-07-02 18:13:31 +0200 |
commit | 973608ff1999ae385fad392e1344ec57348481be (patch) | |
tree | 9d7778d9d468a61559891856eee2613bc4de3e92 /templates | |
parent | 78ce35ce97ffc887f0786289789bec8f9880ca9c (diff) |
Make sure the exported public key is world-readable.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/reprepro-export-key.sh.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/reprepro-export-key.sh.erb b/templates/reprepro-export-key.sh.erb index 1afcef8..e619e24 100644 --- a/templates/reprepro-export-key.sh.erb +++ b/templates/reprepro-export-key.sh.erb @@ -6,4 +6,5 @@ if [ ! -z "$KEY" ]; then tempfile=$(mktemp) gpg --homedir <%= basedir %>/.gnupg --export --armor $KEY > "$tempfile" mv "$tempfile" <%= basedir %>/key.asc + chmod 0664 <%= basedir %>/key.asc fi |