[Da-tools-commits] ./debian/userdir-ldap r445: And strip the key/password
Peter Palfrader
peter at palfrader.org
Sat Sep 13 17:05:44 UTC 2008
------------------------------------------------------------
revno: 445
committer: Peter Palfrader <peter at palfrader.org>
branch nick: userdir-ldap
timestamp: Sat 2008-09-13 19:05:44 +0200
message:
And strip the key/password
modified:
ud-mailgate
-------------- next part --------------
=== modified file 'ud-mailgate'
--- a/ud-mailgate 2008-09-13 17:01:02 +0000
+++ b/ud-mailgate 2008-09-13 17:05:44 +0000
@@ -100,7 +100,7 @@
def make_hmac(str):
F = open(PassDir+"/key-hmac","r");
- key = F.readline()
+ key = F.readline().strip()
F.close();
return hmac.new(key, str, sha1_module).hexdigest
More information about the Da-tools-commits
mailing list