-
Notifications
You must be signed in to change notification settings - Fork 527
Description
Microsoft Windows [Version 10.0.26100.7171]
CopyQ v13.0.0
In Windows environments, after clicking the button to generate a new key, an error message is displayed:
failed to generate keys
This error is misleading as a new and valid encryption key can be located at
C:\Users\%USERNAME%\AppData\Roaming\copyq\copyq.pub. To resolve this issue, the key needs to be imported into Kleopatra:
After importing the key, a window will pop up prompting you to trust the key. You must trust it for encryption in CopyQ to work. Kleopatra should show the key in a certified status now:
At this point, close and reopen CopyQ. Encryption should work without any problem now.
(I opened this issue so anyone googling the error message will likely find this issue along with steps to fix as I don't expect there's anything that can be done upstream to automatically import the key in Kleopatra -- it may be better to flesh out these instructions to resolve this issue in the official docs.)