From 76d1b148de5785a608e6cb7968bea0d108166b0c Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 13 Sep 2008 19:05:44 +0200 Subject: [PATCH] And strip the key/password --- ud-mailgate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ud-mailgate b/ud-mailgate index 36f1cc3..4f8fee3 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -100,7 +100,7 @@ DelItems = {"c": None, 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 -- 2.20.1