91 Commits

Author SHA1 Message Date
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
b9b4396b12 Fix key generation functions.
Created key must always be looked for as it is not assigned to the
passed in null key.
Delete local context and loopback passphrase provider.
Parameter expires was ignored in CreateKeyWithEngineDefaultAlgo.
2020-11-12 22:38:10 +01:00
SET
39afc3ebdc Fix bad return value of AppConfig::WriteTextFile. 2020-11-12 10:56:37 +01:00
SET
10f2a659bf Do update ownership of secret keys.
After importing or deleting secret keys.
2020-11-11 21:37:31 +01:00
SET
335ecd1261 AppConfig : update ownership of secret key.
Allow to append or remove the fingerprint to the private key array.
2020-11-11 21:36:08 +01:00
SET
4f8ea18a66 Use fingerprint instead of keyid when importing and deleting keys. 2020-11-11 21:09:43 +01:00
SET
9cce0febdb Add key creation functions.
- create a pair of keys with default engine algorithms
 - create a secret key
 - create a subkey (public) and add it to a secret key.
2020-11-11 14:47:05 +01:00
SET
15abc8b810 Prefer transient popup to change key expiry date
This is a trade-off.

When the calendar of the WDateEdit is clicked, widget PopupExpiryTime gets hidden, forcing to show it again.

If PopupExpiryTime::setTransient is false, it will obviously persist, until explicitly hidden with the Close button. Not satisfactory to change key selection while it is visible, nor to do other tasks like changing certification trust level, certifying uids.... whatever.

Forcing its persistence while playing with many events has not been successful, and quite ugly.
2020-11-08 09:03:45 +01:00
SET
fd583c091a Optimize passphrase line edit visibility in certify key popup.
WLineEdit::isVisible always returns false when the popup is hidden !
2020-11-07 22:28:33 +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
fcd595d530 Rename variable.
Prepare for other edits in KeyEdit (change expiry date).
m_targetKeyFpr -> m_targetUidValidityKeyFpr.
2020-11-07 18:54:38 +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
ffd9692504 List key certifications
Set context KeyListMode to ::Signatures | ::Validate.
List certification on public key only.
2020-11-07 12:21:49 +01:00
SET
de5f765688 Merge branch 'edit' 2020-11-06 21:44:33 +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
f32d96b868 Merge branch 'edit' 2020-11-06 17:10:10 +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
9f98859099 Fix status report.
Key, uid and signature status well all comparedtot IsBad(), copy/paste
woes.
Show also if key is secret.
2020-11-06 17:08:22 +01:00
SET
2ba2aadcd8 Update README.md. 2020-11-05 20:27:59 +01:00
SET
18e518b8fe Merge branch 'edit' 2020-11-05 20:23:41 +01:00
SET
4d521b3d0b Link all configurations to wthttp.
Abandon wtfcgi.
2020-11-05 20:21:50 +01:00
SET
fa9596f7bb Merge branch 'edit' 2020-11-04 21:53:43 +01:00
SET
dc035883e7 Update gitignore. 2020-11-04 21:51:51 +01:00
SET
d75c983be6 Merge branch 'edit' 2020-11-04 21:47:52 +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
90a6e5b294 Merge branch 'edit' 2020-11-04 21:02:18 +01:00
SET
54fa245fa8 Allow certification trust level to be editable for any key.
Imported primary keys also have unknown trust level, when they have
been generated in other keyrings.

Later, we should decide whether to exclude any primary key with ultimate
trust level from any further change.
2020-11-04 21:00:03 +01:00
SET
709954b2f7 Merge branch 'edit' 2020-11-04 09:08:23 +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
757dd7401e Update README.md. 2020-11-03 18:07:08 +01:00
SET
0bb61b7119 Use CSS style sheet.
Avoid confusing text behind default transparent popup.
2020-11-03 14:15:11 +01:00
SET
980b172c96 Bump version. 2020-11-03 11:17:10 +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
c9f56cc7eb Hide delete button when findind keys. 2019-10-28 11:50:19 +01:00
nmset
ecb57eef48 Fix typo 2019-10-25 20:25:27 +02:00
nmset
117f68e43c Update formating 2019-10-25 20:22:58 +02:00
SET
47e78be7e9 Initial commit 2019-10-25 20:16:43 +02:00