rpms/monotone/FC-4 monotone.init,1.2,1.3
Roland McGrath (roland)
fedora-extras-commits at redhat.com
Tue Aug 23 09:35:54 UTC 2005
Author: roland
Update of /cvs/extras/rpms/monotone/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5461
Modified Files:
monotone.init
Log Message:
Use md5sum instead of sha1sum for passphrase generator.
Index: monotone.init
===================================================================
RCS file: /cvs/extras/rpms/monotone/FC-4/monotone.init,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- monotone.init 23 Aug 2005 07:11:28 -0000 1.2
+++ monotone.init 23 Aug 2005 09:35:52 -0000 1.3
@@ -30,7 +30,8 @@
random_passphrase()
{
- dd if=/dev/urandom count=1 2> /dev/null | sha1sum |
+ # As of 0.22, 32 chars is the maximum pass phrase length.
+ dd if=/dev/urandom count=1 2> /dev/null | md5sum |
{ read sum rest; echo $sum; }
}
More information about the fedora-extras-commits
mailing list