-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
E2E: do not modifiy userid #2186
Conversation
but wouldn't you now be using tobi@nc@yourawesomeserver.com? |
No, we fetch the userid, which never has server included, e.g: Now with userid fetching, it does not matter with what you authenticate (userid, name, email), the CSR will always use userid (tobi@nc). Previously, we took simply the "id" with which we authenticated (on account setup). |
Sure, but how do we migrate existing users? |
We do not have to: CSR is only signed by server if common name in CSR matches the userid. android/src/main/java/com/owncloud/android/ui/dialog/SetupEncryptionDialogFragment.java Lines 348 to 363 in 04de5ca
(the above is true for all stable app releases, on alpha testing there was no server side checking of userid) |
…as usernames as such are valid: tobi@nc Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
12b502c
to
dbcfb88
Compare
Fix #2173
Fix #2134
As we now have a call to get the uid, we shall not split the string, as usernames such as are valid: tobi@nc
Signed-off-by: tobiasKaminsky tobias@kaminsky.me