Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

backport #1911 to GNOME 43 (based on v54) #1928

Open
wants to merge 1 commit into
base: backports/gnome-43
Choose a base branch
from

Conversation

ferdnyc
Copy link
Member

@ferdnyc ferdnyc commented Feb 26, 2025

It will, frankly, be a miracle if I haven't missed or broken anything here, and presumably the CI will need some major adjusting just to be able to test these, but:

This PR is an attempt to bring all of the changes from #1911 to the backports/gnome-43 branch, which is based off of tag v54 (the last GNOME 43 release of GSConnect).

For release as v59, to be followed by backports/gnome-45 as v60, then main as v61.

@ferdnyc
Copy link
Member Author

ferdnyc commented Feb 27, 2025

OK, now that we have CI images tagged gnome-43 and gnome-45, let's try using them to test these backports...

refactor(core): update certificate generation

Update the certificate generation to produce EC-based certificates
with the required device ID format.

refactor(core): reject invalid device IDs

Check incoming device IDs and reject connections from those with
an ID not matching `/[a-zA-Z0-9_]{32,38}/`.

refactor(device): generate device IDs per protocol v8

refactor(core): migrate installations to new certificates

Migrate installations to new certificates, with device IDs
following the protocol v8 constraints.

test: update certificates and private keys

feat(daemon): add migration notification

Add a brief notification, explaining that GSConnect has been
updated and some devices may require re-pairing.

device: support protocol v8 verification key

See: https://invent.kde.org/network/kdeconnect-meta/-/merge_requests/10

feat: add support for protocol version 8

Add support for the planned changes in protocol version 8.

See: https://invent.kde.org/network/kdeconnect-android/-/commit/454b2fd5d7b3162443fbec4a6f0b7cafa1b554ee
@ferdnyc ferdnyc force-pushed the backport-proto8-v54 branch from 9473ef6 to e2539b3 Compare February 28, 2025 06:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants