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

Feature Request: Session verification #11

Closed
jtrees opened this issue Jul 28, 2021 · 11 comments · Fixed by #513
Closed

Feature Request: Session verification #11

jtrees opened this issue Jul 28, 2021 · 11 comments · Fixed by #513
Assignees
Labels
Milestone

Comments

@jtrees
Copy link

jtrees commented Jul 28, 2021

Is your feature request related to a problem? Please describe.
My user profile gets a red shield on Element when I have an active Cinny session because the session is not verified. That makes me sad.

Also, security isn't as good as it good be without cryptographic verification.

Describe the solution you'd like
Emoji verification and (optionally) QR-code verification integrated in the UI.

Describe alternatives you've considered

  • verification that's initiated via a slash command
  • manual text-based verification

These are both fine as stop-gap solutions.

Additional context
Cinny looks incredible! I've been hoping a client like this would pop up out of nowhere someday. Thanks so much for making it!

@farribeiro
Copy link

isn't duplicated with issue #4 ?

@kidonsky
Copy link

I think that they are two different uses from the user point of view.
A session verification can be made with emojis verification and no more manual action. (see element)

Issue #4 mentions manual import/export.

So in my mind, one complete the other. (as you mentioned in your comment)

@farribeiro
Copy link

if a session is revoked, do automatic logout

@farribeiro
Copy link

farribeiro commented Jul 30, 2021

if a session is revoked, do automatic logout

I think that they are two different uses from the user point of view.
A session verification can be made with emojis verification and no more manual action. (see element)

Issue #4 mentions manual import/export.

So in my mind, one complete the other. (as you mentioned in your comment)

BTW... if a session verified with success, then import the keys, must be automatic

@ajbura ajbura added the type: feature New feature or request label Aug 4, 2021
@gpanders
Copy link
Contributor

Here is the relevant section from the Matrix docs: https://matrix.org/docs/guides/implementing-more-advanced-e-2-ee-features-such-as-cross-signing

@ShadowJonathan
Copy link
Contributor

For the record, this is keeping me from seriously recommending cinny to others, as it's basically standard at this point to implement this for cross-signing and all.

That said, the right technical term for this is "bootstrapping cross-signing", I'm putting it here so it turns up in search results

@woojoo666
Copy link

woojoo666 commented Nov 19, 2021

it seems like since Cinny sessions are unable to be verified, all the messages you send will have a "Encrypted by an unverified device" indicator when viewed from Element.

Rambox_21-11-19--01-39-47--987

Steps to reproduce:

  1. sign in on Element first, and make sure your session is verified and encrypted
  2. sign in on Cinny
  3. export your keys from Element and import to Cinny
  4. send some messages using Cinny
  5. your messages, when seen from your Element session, should have a red shield icon next to it that says "Encrypted by an unverified device" on hover (see screenshot)

Anybody know if this is permanent? I guess if I ever close/log out of Cinny, then it will be permanent, but if Cinny gets verification in the future, will I be able to verify my existing session and get rid of these warning icons?

@ajbura
Copy link
Member

ajbura commented Nov 19, 2021

@woojoo666 importing keys doesn’t verify a session, it just decrypt encrypted messages sent by other sessions. To verify the session go to your profile in element in any room and click on unverified sessions, then click manual verify. You can see Cinny session details in Cinny’s settings (just to be sure when manually confirming). This is a workaround until we have emoji verification.

@woojoo666
Copy link

woojoo666 commented Nov 20, 2021

@ajbura I was trying to find a way to manual verify but I couldn't, when I click "verify" in Element desktop, I get the message "To proceed, please accept the verification request on your other login.", but nothing pops up on Cinny. And I don't see a button to manually verify, as was shown in the 2020 github discussion here: (element-hq/element-web#12586)

@woojoo666
Copy link

Nevermind it looks like you can only do it by going to one of your rooms, opening the room details, clicking on your username in the list, and clicking on the "Cinny Web" session. See element-hq/element-web#15365 (comment)

@kfiven
Copy link
Collaborator

kfiven commented Nov 20, 2021

@woojoo666 That's what ajbura said in above message ''go to your profile in element in any room''. Looks like everyone look for that option in settings as it used to be there but element removed it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Session verification and online key backup (Done in v2.0.0)
Development

Successfully merging a pull request may close this issue.

8 participants