valent icon indicating copy to clipboard operation
valent copied to clipboard

Expired certificates are not handled

Open andyholmes opened this issue 1 year ago • 3 comments

Current Behavior

Until now (at least), KDE Connect clients generate certificates with a 10-year expiry. With KDE Connect passing its 10th birthday awhile back, certificates have started to expire and cause silent errors.

Expected Behavior

Valent should handle certificate regeneration or notification of expiration automatically. Ideally, it should also be able to notify if a connection is refused because a remote device's certificate is expired.

Desktop

Other (please specify)

Other Desktop

All platforms

Operating System

All operating systems

Installed from

Nightly Flatpak

Version

nightly

Devices

No response

Plugins

No response

Logs

No response

Screenshots

No response

andyholmes avatar Aug 17 '24 18:08 andyholmes

this is happening with my new device, it shows up for a second in valent and then dissapear.

authenticating (192.168.1.45:1716): Invalid certificate for "91c110b9_b5fa_4cb3_9294_4f1971d6d132"

but weirdly, it doesnt connection between 2 androids running kdeconnect ?

also any fix for this temporarily ?

isshin1 avatar Jan 03 '25 03:01 isshin1

If your ID is 91c110b9_b5fa_4cb3_9294_4f1971d6d132 then your certificate hasn't expired, you've encountered a different error. Could you open a separate report?

andyholmes avatar Jan 04 '25 00:01 andyholmes

added https://github.com/andyholmes/valent/issues/769

isshin1 avatar Jan 04 '25 04:01 isshin1