Commit f29f81a9 authored by putro's avatar putro

reverted last 2 fix because they were wrong

parent d8d77ec4
......@@ -122,7 +122,7 @@ def createNym():
writeConfig()
setActiveNym(email)
msg = prepareSetupMsg(gpgfuncts.selectSecKey(email, subj_type, subject))
msg = prepareSetupMsg(gpgfuncts.selectSecKey(email), subj_type, subject)
emsg = signCryptMsg(msg, dest, sign=False, passphrase="")
if not emsg:
config['last_message'] = "Something went wrong while preparing the message, recipient key missing ???"
......@@ -157,7 +157,7 @@ def deleteNym():
def prepareSetupMsg(keyid, subj_type, subject):
key = gpgfuncts.exportPubKey(keyid)
msg = "%s: %s\n\n" % (subj_type, subject) + key
msg = "\n%s: %s\n\n" % (subj_type, subject) + key
return msg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment