directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r648857 - /directory/studio/trunk/tools/sign.sh
Date Wed, 16 Apr 2008 21:21:45 GMT
Author: pamarcelot
Date: Wed Apr 16 14:21:39 2008
New Revision: 648857

URL: http://svn.apache.org/viewvc?rev=648857&view=rev
Log:
Added a SHA1 signing to the sign utility.

Modified:
    directory/studio/trunk/tools/sign.sh

Modified: directory/studio/trunk/tools/sign.sh
URL: http://svn.apache.org/viewvc/directory/studio/trunk/tools/sign.sh?rev=648857&r1=648856&r2=648857&view=diff
==============================================================================
--- directory/studio/trunk/tools/sign.sh (original)
+++ directory/studio/trunk/tools/sign.sh Wed Apr 16 14:21:39 2008
@@ -18,6 +18,8 @@
     echo -n "Signing: $FILE ... "
 
     openssl md5 < "$FILE" | cut "-d " -f1 > "$FILE.md5"
+    
+    gpg --print-md SHA1 "$FILE" > "$FILE".sha
 
     echo "$PASSWORD" | gpg --default-key "$DEFAULT_KEY" --detach-sign --armor --no-tty --yes
--passphrase-fd 0 "$FILE" && echo done.
 done



Mime
View raw message