Page MenuHome GnuPG

Kleopatra: Omit question about own key when importing a secret team key
Testing, NormalPublic

Description

This is a spin-off of T7502 which was created before team keys materialized in Kleopatra.

In general, when importing a secret team key the question whether the importing user is the only user of the key is pretty useless because the purpose of team keys is to be shared among several users. Team keys that are created with Kleopatra are tagged with a group flag. Hence it's possible to detect team keys when a key is imported.

When a secret team key (i.e. a public key with the group flag and secret subkeys) is imported then Kleopatra should not ask the user whether they are the only user of the key. This avoids confusing the user with a useless question. Instead the users will immediately asked whether they want to certify the key.

Event Timeline

ebo triaged this task as Normal priority.Tue, Feb 10, 11:00 AM
ebo added projects: gpd5x, vsd34.
ikloecker moved this task from Backlog to WIP on the gpd5x board.

Fixed and backported for VSD 3.4.

ikloecker changed the task status from Open to Testing.Wed, Feb 11, 2:05 PM
ikloecker mentioned this in Unknown Object (Maniphest Task).Mon, Feb 23, 9:00 AM

tested with Gpg4win-5.0.2-beta2

This works for keys marked with the group flag with secret subkeys and missing primary key, as aimed for in this ticket.
It does not work for keys not marked as group keys but which were "saved as team keys". There the "Mark own certificate" dialog is shown, like for all other keys.

While testing this, I tripped over https://dev.gnupg.org/T8076 which is unexpected from a user perspective and should be fixed ASAP.
One should not have to manually delete key files.

This is the dialog window which comes up when importing a team key with the group flag:

We need to include the updated translations in the release build.

ebo edited projects, added gpd5x (gpd-5.0.2); removed gpd5x.