On Sat, Sep 12, 2020 at 09:32:35AM +0100, isdtor wrote:
The next step is to export my own cert with gpgsm and create the openssl hash, then set smime_default_key to the same. With this setting, I can no longer send encrypted mail at all, the error message is:error encrypting data: No public key?
As I noted on mutt-users I don't use S/MIME and haven't done so with GPGME except to test things (and that was a few years ago, when I still had a working test cert).
Have you tried using `gpgsm --list-keys <your-email-address>`? That should generate output with a line like "ID: 0x12345678", which should mean adding to your .muttrc:
set smime_default_key = "0x12345678"Alternatively, have you tried adding yourself to the Cc or To list and seeing if that works? That would at least confirm there is *some* correct value and we just need to figure out what it is...
-- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature