Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Ability to sign in by QR code and sign another device in by QR code + verification + cross-signing #9303

Closed
wants to merge 77 commits into from

Conversation

hughns
Copy link
Member

@hughns hughns commented Sep 20, 2022

This PR currently depends on #9232 being merged. Compare

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

Here's what your changelog entry will look like:

✨ Features

  • Ability to sign in by QR code and sign another device in by QR code + verification + cross-signing (#9303). Contributed by @hughns.

@@ -1579,6 +1579,11 @@
"Privacy": "Privacy",
"Share anonymous data to help us identify issues. Nothing personal. No third parties.": "Share anonymous data to help us identify issues. Nothing personal. No third parties.",
"Sessions": "Sessions",
"You can use this device to sign in a new device with a QR code. ": "You can use this device to sign in a new device with a QR code. ",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has an extra space at the end of it that shouldn't be there :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's been mentioned that these spaces might be intentional: this is a sign that the wrong amount of the string is under the translations. We can't join strings in-code because some languages just don't work like that. Instead, we put entire paragraphs under a single string (repeating some copy if required).

"Please ensure that you know the origin of this code. By linking devices, you will provide someone with full access to your account.": "Please ensure that you know the origin of this code. By linking devices, you will provide someone with full access to your account.",
"Scan the QR code below with your device that’s signed out.": "Scan the QR code below with your device that’s signed out.",
"Start at the sign in screen": "Start at the sign in screen",
"Select ‘Scan QR code’": "Select ‘Scan QR code’",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't remember, but I don't think we're supposed to use magic quotes in strings - check with design to see if they care.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ironically the magic quotes came from them...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, it's on all of the designs but it's been declared a non-feature in the past (just that their operating system isn't worth fighting to get rid of them at design time)

@@ -1579,6 +1579,11 @@
"Privacy": "Privacy",
"Share anonymous data to help us identify issues. Nothing personal. No third parties.": "Share anonymous data to help us identify issues. Nothing personal. No third parties.",
"Sessions": "Sessions",
"You can use this device to sign in a new device with a QR code. ": "You can use this device to sign in a new device with a QR code. ",
"There are two ways to do this:": "There are two ways to do this:",
" You will need to use this device to scan the QR code shown on your other device that’s signed out.": " You will need to use this device to scan the QR code shown on your other device that’s signed out.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one has a space at the start that shouldn't be there

@hughns hughns changed the title Prototype of HTTP rendezvous for sign in using QR Ability to sign in by QR code and sign another device in by QR code + verification + cross-signing Oct 12, 2022
@hughns hughns closed this Oct 12, 2022
@hughns hughns deleted the hughns/http-rendezvous branch October 12, 2022 20:37
@hughns
Copy link
Member Author

hughns commented Feb 23, 2023

FTR, this PR was superseded by #9403

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants