This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
@@ -37,16 +37,16 @@ function profilePath(filename) {
// libotr context wrapper
functionContext(context){
this.context=context;
this._context=context;
}
Context.prototype={
constructor: Context,
get username()this.context.contents.username.readString(),
get account()this.context.contents.accountname.readString(),
get protocol()this.context.contents.protocol.readString(),
get msgstate()this.context.contents.msgstate,
get fingerprint()this.context.contents.active_fingerprint,
get username()this._context.contents.username.readString(),
get account()this._context.contents.accountname.readString(),
get protocol()this._context.contents.protocol.readString(),
get msgstate()this._context.contents.msgstate,
get fingerprint()this._context.contents.active_fingerprint,
get fingerprint_hash()this.fingerprint.contents.fingerprint,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
@@ -11,4 +11,11 @@
<!ENTITY authDialog.questionAndAnswer "Question and answer">
<!ENTITY authDialog.sharedSecret "Shared secret">
<!ENTITY authDialog.manualInstruction "To verify the fingerprint, contact your buddy via some other authenticated channel, such as the telephone or GPG-signed email. Each of you should tell your fingerprint to the other. If everything matches up, you should indicate in the dialog below that you have verified the fingerprint.">
<!ENTITY authDialog.choose "Choose">
<!ENTITY authDialog.choose "Choose">
<!ENTITY authDialog.how "How would you like to authenticate your buddy?">
<!ENTITY authDialog.qaInstruction "To authenticate using a question, pick a question whose answer is known only to you and your contact. Enter this question and answer, then wait for your contact to enter the answer as well. If the answers do not match, then you may be talking to an imposter.">
<!ENTITY authDialog.secretInstruction "To authenticate, pick a secret known only to you and your contact. Enter this secret, then wait for your contact to enter it as well. If the secrets do not match, then you may be talking to an imposter.">
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
@@ -1,4 +1,10 @@
auth.yourFingerprint=Fingerprint for you, %S:\n%S
auth.theirFingerprint=Purported fingerprint for %S:\n%S
auth.help=Authenticating a contact helps ensure that the person you are talking to is who they claim to be.
auth.helpTitle=Authentication help
auth.helpTitle=Authentication help
auth.question=This is the question asked by your contact:\n\n%S\n\nEnter secret answer here (case sensitive):
auth.secret=Enter secret here:
auth.error=An error occurred during authentication.
auth.success=Authentication successful.
auth.successThem=Your contact has successfully authenticated you. You may want to authenticate your contact as well by asking your own question.