Bug 498778

Summary: New, more-strict device ID requirements exclude current GSConnect IDs
Product: [Applications] kdeconnect Reporter: FeRD (Frank Dana) <ferdnyc>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED NOT A BUG    
Severity: normal CC: andrew.g.r.holmes
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description FeRD (Frank Dana) 2025-01-17 06:21:40 UTC
A few days ago, @albertvaca changed[1] the KDE Connect protocol specification for device ID format, with the message:

~~~~~~~~
Enforce ID format

All implementations have been using UUIDs as device IDs for a while, so we can start validating and enforcing this format.
~~~~~~~~

The new format is expected to match this RegEx: /^[a-zA-Z0-9_]{32,38}$/

While GSConnect HAS been using UUIDs as device ID for some time now, we've been using *real* UUIDs, with hyphens instead of underscores.

In the interest of not forcing all of our users to have to regenerate their device IDs (and then re-pair all of their devices, and re-apply preferences), would it be possible for the format to be expanded so that it also accepts hyphen-separated UUID strings?

See also: https://github.com/GSConnect/gnome-shell-extension-gsconnect/issues/1910

[1]: https://invent.kde.org/network/kdeconnect-meta/-/commit/e4f93eecb876dccf1f35e6db4944d536a8b9bc53
Comment 1 FeRD (Frank Dana) 2025-01-18 15:50:30 UTC
Withdrawing this, as we've concluded that it makes more sense to change our device IDs to fit the new format.