Page MenuHome GnuPG

Make ADSK configurable for new keys
Closed, ResolvedPublic

Description

The usecase for ADSK is mostly that in an organisation the Admistration will set an ADSK throgh the Windows registry for new keys. So T6879: Kleopatra: Add support for adding an ADSK is more of a fallback for existing keys. We should read that from the config when generating a new key, Similar to T6881: Kleopatra: Make designated revoker configurable for new keys and automatically add such a subkey for newly generated keys if it is configured.

Event Timeline

TobiasFella moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jan 23 2024, 11:42 AM
ikloecker set External Link to https://invent.kde.org/pim/kleopatra/-/merge_requests/94.May 8 2024, 10:15 AM
werner renamed this task from Kleopatra: Make ADSK configurgurable for new keys to Make ADSK configurgurable for new keys.May 22 2024, 6:18 PM
werner removed TobiasFella as the assignee of this task.
werner edited projects, added gnupg22; removed kleopatra.
werner added a subscriber: TobiasFella.
werner added a subscriber: werner.

This should not be configured in Kleopatra but an option to gpg because this is a core crypto functionality. Thus is now a gpg task.

Now also with support for --quick-add-adsk in 2.6. This will work also for gpgme without further changes.

ikloecker renamed this task from Make ADSK configurgurable for new keys to Make ADSK configurable for new keys.Jun 7 2024, 2:49 PM

It would be helpful if gpgconf --list-options gpg listed the default-new-key-adsk option so that Kleopatra knows whether the option is set.

Backported to 2.4. Options are now listed with gpgconf.

ebo moved this task from Backlog to WiP on the gnupg24 board.
ebo changed the task status from Open to Testing.Aug 2 2024, 10:37 AM
ebo added a subscriber: ebo.

Status is testing for 2.4, no backport yet for 2.2, so there it stays in the backlog column

werner: Can you also backport listing of "default-new-key-adsk" with gpgconf so that Kleopatra can check whether a default ADSK is set?

Done for 2.2. It is already in 2.4.

While testing this I noticed that only the last adsk or trusted key is listed. Thus several assurances of this options are not properly represented. See T7313

While testing this I noticed that only the last adsk or trusted key is listed. Thus several assurances of this options are not properly represented. See T7313

For our use case in Kleopatra we only need to know if any ADSK is configured or not.

werner removed a project: Restricted Project.
werner moved this task from QA to gnupg-2.2.45 on the gnupg22 board.
werner edited projects, added gnupg22 (gnupg-2.2.45); removed gnupg22.

Tested with VS-Desktop-3.2.94.2-Beta.
Works as expected on the cli.

werner claimed this task.
werner moved this task from WiP to 2.4.6 on the gnupg24 board.
werner edited projects, added gnupg24 (2.4.6); removed gnupg24.