Commit ca73ca3a authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Do not set a custom key filter for certificate selection

The key filter is superfluous since we restrict the available keys
already by setting suitable options.
Moreover, the key filter could be changed by the user overriding the
restrictions and allowing the selection of incompatible keys.

GnuPG-bug-id: 5332
parent fda74840
Pipeline #52959 passed with stage
in 18 minutes and 10 seconds
......@@ -282,7 +282,6 @@ void SignEncryptWidget::dialogRequested(CertificateLineEdit *certificateLineEdit
CertificateSelectionDialog *const dlg = new CertificateSelectionDialog(this);
dlg->setKeyFilter(std::make_shared<EncryptCertificateFilter>(mCurrentProto));
dlg->setOptions(CertificateSelectionDialog::Options(
CertificateSelectionDialog::MultiSelection |
CertificateSelectionDialog::EncryptOnly |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment