Coder Social home page Coder Social logo

Comments (7)

arlolra avatar arlolra commented on June 1, 2024

No, that's not how it works. If you're using a shared secret, then both parties are verifying each other. It's only the question / answer that works as you've described here. Think about it and test in pidgin-otr if you don't believe me.

from ctypes-otr.

azadi avatar azadi commented on June 1, 2024

OK sure, but then shouldn't the message in X's window be that X has verified Y? Because right now it says that X has verified X.

from ctypes-otr.

arlolra avatar arlolra commented on June 1, 2024

Ah, does it? I got caught up with the "You should do the same with her." part and failed to read this properly. Let me verify that.

from ctypes-otr.

arlolra avatar arlolra commented on June 1, 2024

I failed to reproduce that. Can you confirm?

from ctypes-otr.

azadi avatar azadi commented on June 1, 2024

It's quite possible that the intended operation is what is described by the OTR protocol, but this is what happens:

I have two contacts, X and Y. I start authentication from X using shared secret and the authentication is successful.

In X, the message I see is:

You have verified X's identity.

And in Y:

You have verified Y's identity.

What I am thinking is, shouldn't it say that X has verified Y (Y's window) and that Y has verified X (in X's window)? This will make it more clear to X user that Y has verified her, and to Y that X has verified her. Right now, we are saying to X that "You have verified X's identity", while it is in fact both X and Y that have verified each other.

from ctypes-otr.

arlolra avatar arlolra commented on June 1, 2024

There are two separate issues here:

  • You're opening two accounts on one client and then authenticating each other, which is confusing you a little. What you're failing to realize is that the window that says X, is actually account Y. The window title displays who you're talking to, not who you are. In which case, the strings are correct.
  • The second part needs some thought, but you're probably right that the message for the shared secret can be improved to "Your mutual identities have been verified", or some such.

from ctypes-otr.

azadi avatar azadi commented on June 1, 2024

re: 1: Aah yes, I was confusing them since I had two windows open side-by-side. Sorry for the noise.

from ctypes-otr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.