mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Don't set chmod 0444 on public DSA key file
Nothing inside an app/update bundle should be altered anyway, and these permissions will be lost by revision control systems. They also conflict with BinaryDelta's permissions validation
This commit is contained in:
1 parent
5f88af7099
commit
04d1f22d16
1 file changed
-1
@@ -11,7 +11,6 @@ openssl="/usr/bin/openssl"
|
||||
$openssl gendsa <($openssl dsaparam 4096) -out dsa_priv.pem
|
||||
chmod 0400 dsa_priv.pem
|
||||
$openssl dsa -in dsa_priv.pem -pubout -out dsa_pub.pem
|
||||
chmod 0444 dsa_pub.pem
|
||||
|
||||
echo "
|
||||
Generated private and public keys: dsa_priv.pem and dsa_pub.pem.
|
||||
|
||||
Reference in new issue
Block a user