see https://phabricator.kde.org/T2132
When performing tasks like "sign and encrypt files" from the contextmenu in Windows Explorer, the preselected entrys in the Kleo do not match with the previous selection.
aheinecke |
see https://phabricator.kde.org/T2132
When performing tasks like "sign and encrypt files" from the contextmenu in Windows Explorer, the preselected entrys in the Kleo do not match with the previous selection.
ensured the program behaves how expected using
gpg-connect-agent -v ~/.gnupg/S.uiserver
and using the required commands to sign, encrypt or sign_encrypt a file.
Compiled Kleo for windows, patching existing kleo installation with newly created Kleopatra.exe
Lint Skipped |
Unit Tests Skipped |
I need to mention:
when using a "force command", like "sign" or "sign_encrypt" what will happen ist:
wizard->setSigningUserMutable(true);
wizard->setSigningPreset(false);
wizard->setSigningPreset(true);
(and the same for encrypt)
This seems inconvenient at first.
To ensure that signing and encrypting are working at the same time, the wizard currently needs this behaviour (or it will just not preselct anything)
Looks good to me. Makes sense to interpret "Forced" as selected by default as we don't want to force the user to do anything.
Maybe in a second commit you could replace s/SignForced/SignSelected/ s/EncryptForced/EncryptSelected/ s/ArchiveForced/ArchiveSelected/ in kleo uiserver? So that it's more understandable in the code how the commands are interpreted.