Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix client profile's serialization and deserialization #108

Closed
5 tasks done
juniorz opened this issue Jun 7, 2018 · 2 comments
Closed
5 tasks done

Fix client profile's serialization and deserialization #108

juniorz opened this issue Jun 7, 2018 · 2 comments
Assignees
Labels
API importance high An issue that is absolutely necessary to have done before final release interactive path non-interactive path

Comments

@juniorz
Copy link
Member

juniorz commented Jun 7, 2018

Why

What is currently implemented does not match the spec.

Reference

otrv4/otrv4#138

Tasks

@juniorz
Copy link
Member Author

juniorz commented Jul 16, 2018

We noticed part of this story is about removing the ID from the client profile, so we might also need to:

  • Remove ID from prekey profile.
  • Remove both profile IDs from the non-interactive auth message.

But I am also confused about how the receiver of a Non-Interactive-Auth Message will be able to verify it when they has more than one active prekey profile at the same time?

Which profile should be used to generate the parameter t?

juniorz pushed a commit that referenced this issue Jul 17, 2018
juniorz pushed a commit that referenced this issue Jul 17, 2018
@juniorz
Copy link
Member Author

juniorz commented Jul 17, 2018

We have decided the user is expected to try all their valid profiles to validate a non-interactive auth message when multiple options are available.

juniorz pushed a commit that referenced this issue Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API importance high An issue that is absolutely necessary to have done before final release interactive path non-interactive path
Projects
None yet
Development

No branches or pull requests

3 participants