Page MenuHome GnuPG

Provide guidance to users if no usable secret key is present
Open, LowPublic

Description

first time users will likely not have a key pair yet. if they start by using the add-in in outlook, it should be easy for them to figure out how to get one. at a minimum, they should be pointed to kleopatra, ideally with the dialog to generate a new keypair opening automatically if a "generate now" button was used.

Event Timeline

m.eik triaged this task as Low priority.Jun 11 2025, 6:00 PM
m.eik created this task.
svuorela mentioned this in Unknown Object (Maniphest Task).Aug 4 2025, 9:26 AM
svuorela mentioned this in Unknown Object (Maniphest Task).Sep 29 2025, 9:00 AM
svuorela mentioned this in Unknown Object (Maniphest Task).Oct 6 2025, 9:51 AM
svuorela mentioned this in Unknown Object (Maniphest Task).Oct 13 2025, 9:55 AM
svuorela mentioned this in Unknown Object (Maniphest Task).Oct 20 2025, 9:37 AM
svuorela mentioned this in Unknown Object (Maniphest Task).Oct 27 2025, 10:11 AM
svuorela mentioned this in Unknown Object (Maniphest Task).Nov 3 2025, 9:28 AM
svuorela mentioned this in Unknown Object (Maniphest Task).Nov 10 2025, 9:52 AM

Suggested patch in work/tfry/connect_check_email :

When a web client (first) connects, check whether a secret key matching this account is available. Otherwise, pop up a dialog, with options to open kleopatra or kleopatra --gen-key.

tfry mentioned this in Unknown Object (Maniphest Task).Mon, Mar 9, 9:15 AM
tfry renamed this task from guide users to generate or import a key pair if none is present to Provide guidance to users if no usable secret key is present.Mon, Mar 23, 9:02 AM

Extended to show distinct messages for the cases:

  • No key matching that email available at all (new users)
  • Only a public key available (possibly bad import from backup)
  • Expired secret key
  • Disabled secret key
  • Revoked or invalid secret key
tfry mentioned this in Unknown Object (Maniphest Task).Mon, Mar 23, 9:12 AM