projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8d364cd
)
Mutt brokenness fixes
author
jgg
<>
Tue, 24 Apr 2001 02:13:26 +0000
(
02:13
+0000)
committer
jgg
<>
Tue, 24 Apr 2001 02:13:26 +0000
(
02:13
+0000)
userdir_gpg.py
patch
|
blob
|
history
diff --git
a/userdir_gpg.py
b/userdir_gpg.py
index
3abc05c
..
6319d58
100644
(file)
--- a/
userdir_gpg.py
+++ b/
userdir_gpg.py
@@
-116,9
+116,9
@@
def GetClearSig(Msg,Paranoid = 0):
Output = "-----BEGIN PGP SIGNED MESSAGE-----\r\n";
# Semi-evil hack to get the proper hash type inserted in the message
if Msg.getparam('micalg') != None:
Output = "-----BEGIN PGP SIGNED MESSAGE-----\r\n";
# Semi-evil hack to get the proper hash type inserted in the message
if Msg.getparam('micalg') != None:
- Output = Output + "Hash: %s\r\n"%(string.upper(Msg.getparam('micalg')[4:]));
+ Output = Output + "Hash:
MD5,SHA1,
%s\r\n"%(string.upper(Msg.getparam('micalg')[4:]));
Output = Output + "\r\n";
Output = Output + "\r\n";
- Output = Output + string.replace(Signed.getvalue(),"\n-
--","\n- --
-") + Signature;
+ Output = Output + string.replace(Signed.getvalue(),"\n-
","\n-
-") + Signature;
return (Output,1);
else:
if Paranoid == 0:
return (Output,1);
else:
if Paranoid == 0: