Page MenuHome GnuPG

GPGME(++) Add "include-key-block" and "auto-key-import" to context flags
Closed, ResolvedPublic

Description

These two options in combination create the S/MIME user experience for OpenPGP where you just send a signed mail and get the key into your keyring.
I need this for GpgOL and we should also add this for KMail.

While auto-key-import might make sense in the default configration "include-key-block" should only be added based on the context. To be symmetric and to allow users to disable it through config "auto-key-import" should be added, too.
"Include key block" only makes sense IMO for Kleopatra file signing, and mail encryption. I recently noticed that e.g. since I put this in my config I included my key into every git commit signature.

Event Timeline

aheinecke triaged this task as Normal priority.Dec 12 2023, 8:17 AM
aheinecke created this task.
aheinecke changed the task status from Duplicate to Resolved.Jan 4 2024, 8:50 AM

I did not relaize that when we originally implemented that feature we already exposed it through GPGME. So this has been fixed since 2020.