Commit bf753d47 authored by Patrick Brunschwig's avatar Patrick Brunschwig

correctly encode passphrase

parent f3226d93
......@@ -109,7 +109,7 @@
EnigmailKeyMgmt.addUid(window,
window.arguments[0].keyId,
Ec.convertFromUnicode(name.value),
email.value,
Ec.convertFromUnicode(email.value),
Ec.convertFromUnicode(comment.value),
function _addUidCb(exitCode, errorMsg) {
if (exitCode != 0) {
......
......@@ -122,7 +122,9 @@
}
}
EnigmailKeyMgmt.changePassphrase(window, window.arguments[0].keyId, currPasswd, newPasswd,
EnigmailKeyMgmt.changePassphrase(window, window.arguments[0].keyId,
Ec.convertFromUnicode(currPasswd),
Ec.convertFromUnicode(newPasswd),
function _changePwdCb(exitCode, errorMsg) {
if (exitCode != 0) {
Ec.alert(window, Ec.getString("changePassFailed")+"\n\n"+errorMsg);
......
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