Re-generate cert if it's for a different device ID

Authored by albertvaka on May 8 2019, 9:49 PM.

Description

Re-generate cert if it's for a different device ID

This would happen to people who transferred their KDE Connect config from
one phone to another (mostly with backup apps that only work on rooted
phones). This led to a state where other devices would always reject the
connection because the certificate CN didn't match the device ID.

On the PC side this is not a problem because the certificate is the source
of truth for the device ID.

Details

Committed
albertvakaMay 8 2019, 9:50 PM
Parents
R225:260abb192cb5: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown