if string.find(Msg[0],"-----BEGIN PGP SIGNED MESSAGE-----") == -1:
return None;
-
+
Res = GPGCheckSig(Msg[0]);
# Failed to find a matching sig
if Msg.getparam('micalg') != None:
Output = Output + "Hash: %s\r\n"%(string.upper(Msg.getparam('micalg')[4:]));
Output = Output + "\r\n";
- Output = Output + Signed.getvalue() + Signature;
+ Output = Output + string.replace(Signed.getvalue(),"\n---","\n- ---") + Signature;
return (Output,1);
else:
# Just return the message body