21 Commits

Author SHA1 Message Date
SET
608ccbc1bb Generate key data before download is requested.
Once ExportKeyStreamResource::handleRequest is entered, a 'Save As'
dialog will be opened by the browser, even if key data is empty. This
may happen if passphrase is wrong.

If key data is generated before the download is actually requested, we
can check if there is anything to push to browser and prevent the
download request.
2020-11-25 22:05:38 +01:00
SET
93bd93a0fa Improve some UI strings. 2020-11-25 12:26:14 +01:00
SET
b761c366f7 Merge branch 'master' into TestExportPrivateKeys 2020-11-24 20:13:23 +01:00
SET
110e5e4fb3 Allow revoking key certifications.
Certified user identities in keys can be revoked using the same popup
for certification.

Requires GnuPG 2.2.24 (not available in distro's repository, not fully
tested to date).
2020-11-22 14:22:08 +01:00
SET
82b8810f62 Allow exporting secret keys.
Requests the passphrase with a popup.

As from GPGME 1.15.0, the loopback pinentry is functional when exporting secret keys. It works fine when the exact passphrase is provided. If it's a wrong passphrase, GPGME does not generate an ::Error, but the app crashes with 'free(): double free detected in tcache 2'.

Hence, this patch cannot be committed to master.

Status : dangerous
Result : works and works not
Reason : a wrong passphrase means a crash
2020-11-20 22:41:29 +01:00
SET
bb174075df Allow to add and revoke user identities.
Using a popup with required parameters.
2020-11-19 19:16:17 +01:00
SET
e312ac1efd Allow exporting public keys.
Secret keys cannot be exported because the loopback pinentry mechanism
fails to work.
2020-11-15 20:32:12 +01:00
SET
5e7df13df0 Show subkey and certification algorithms.
Subkey algorithms are shown in a new table column.
Uid signature algorithms are shown in the tooltip text.
2020-11-14 15:03:36 +01:00
SET
1b73407db2 Allow to create keys.
A popup shows required parameters. Created keys are added to the list of
secret keys managed by the user.
2020-11-13 18:37:37 +01:00
SET
2bddf29596 Allow to change key expiry date.
Select new date in a popup. Controlled by a specific configuration flag.
2020-11-07 22:25:07 +01:00
SET
9cf9e803d8 Better describe key certification.
Use 'Certification status' instead of 'Signature status'.
2020-11-07 16:33:13 +01:00
SET
9996ec6f1c Hint at one-way operation during key certification.
Applying Exportable and Non-Revocable options cannot be undone.
2020-11-07 16:28:28 +01:00
SET
c8b2f81bf8 Optimize certification trust level management.
A private key should be editable to Unknown or Ultimate levels only.
A public key should be editable to all levels except Ultimate.
Undefined level is excluded for both public and private keys.

The public WTreeTableNode may list private keys if the user does not manage
these private keys. Inform of this state in the tool tip. The certification
trust level is excluded for any change.
2020-11-06 21:42:50 +01:00
SET
b408350933 Fix status report.
Key, uid and signature status well all compared to IsBad(), copy/paste
woes.
Show also if key is secret.
2020-11-06 17:09:48 +01:00
SET
ea720f2cab Show status info for key, uid and signature, in tooltips.
Status like IsExpired, IsInvalid ...
2020-11-04 21:45:48 +01:00
SET
f5416addc0 Create and use a sensitive WText in some tree table nodes.
It may be of interest to copy WTreeTableNode items text content. These
cannot be selected with the mouse for copy to clipboard. The text is
here shown read-only in an extended auto-replaced WLineEdit.
2020-11-04 09:06:48 +01:00
SET
7f8af95d3a Certify key.
In-place editing with a popup if user is allowed in app config file.
User must of course manage at least a private key. User identities of
target key may be selectively chosen. Optionally, certification may be
exportable and non-revocable.
2020-11-03 11:06:25 +01:00
SET
e434315940 Edit owner trust level.
Inplace editing with a combobox if user is allowed. in app config file.
2020-10-25 17:28:47 +01:00
SET
ca2105733b Show certification trust level when listing keys. 2020-10-21 17:27:40 +02:00
SET
b1ab6ba97d Fix typo 2020-06-05 20:35:11 +02:00
SET
47e78be7e9 Initial commit 2019-10-25 20:16:43 +02:00