-
Notifications
You must be signed in to change notification settings - Fork 259
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
GSConnect device ID format needs to be updated #1910
Comments
Could we ask Albert to allow real UUIDs too? Sounds from the quote on the comment in #1905 that maybe he isn't aware that we use real UUIDs? |
Suppose it can't hurt to ask. I've opened https://bugs.kde.org/show_bug.cgi?id=498778 |
Should be aware, I think. This was discussed in kdeconnect-meta!9, I think some other discussion might have happened on Matrix, but I don't recall :/ |
Hmm. Having looked at that kdeconnect-meta issue, now I'm thinking we might want to withdraw our request. One of the reasons Albert gives there for preferring the underscored form of UUIDs for device IDs is that they're "D-Bus Safe" — the D-Bus spec says, regarding valid object paths, that:
So, where GSConnect creates the |
I'm still a little out if the loop. Will this mean that any non-updated gsconnect versions will stop working with kdeconnect android in the future? Meaning we would probably want to backport releases for old shell versions. |
As things currently stand, that's not clear... but at some point, my assumption is that the answer would be "yes". The reason Albert gave for wanting to tighten up the device ID definition is so that they "can" start validating IDs, and he explicitly removed this sentence from the definition:
So, if not today or tomorrow, then at some point in the future, it's safe to assume that device IDs that don't match the defined format may not be accepted by all other implementations. (Tho I would imagine their desktop client, rather than the Android app, would be the first to start rejecting non-compliant device IDs.) |
I'mma close that KDE bug report, because I think the conclusion is that it would be a bad idea for us to stick with our current device IDs regardless (due to the D-Bus object path issue). |
Yesterday Albert also updated the protocol docs to make it required that devices have UUID-format device IDs, the definition is now:
GSConnect IDs are currently real UUIDs (with hyphens instead of underscores).
Looks like we need code to generate new-format IDs, then trigger that code for all devices not using the correct format, regenerate their certificates, and tell the user they'll need to re-pair all of their devices.
Originally posted by @ferdnyc in #1905 (comment)
The text was updated successfully, but these errors were encountered: