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
Result = [];
Owner = "";
KeyID = "";
+ Hits = {};
try:
Strm = os.popen(string.join(Args," "),"r");
# Output the key
if Split[0] == 'fpr':
+ if Hits.has_key(Split[9]):
+ continue;
+ Hits[Split[9]] = None;
Result.append( (KeyID,Split[9],Owner,Length) );
finally:
if Strm != None: