Hi isdtor, On Saturday, 2020-09-12 09:32:35 +0100, isdtor wrote:
> Basically, what I want to achieve is that the locally saved copy of an > encrypted email is readable by and encrypted to me. By default, this is not > the case, and the saved copy is encrypted to the recipient only. This is due > to smime_default_key="". Works (or at least did months ago, don't use S/SMIME regularly) for me with set smime_default_key=0xABCDEF12 set smime_self_encrypt=yes where 0xABCDEF12 is the ID of gpgsm -K youremailaddress > The next step is to export my own cert with gpgsm and create the openssl hash, Erm.. export? what for? to create the hash? How? Maybe that's the wrong step. Just use the ID. > 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? And can you use gpgsm --encrypt to encrypt to that key respectively using the hash you generated? Eike -- OpenPGP/GnuPG encrypted mail preferred in all private communication. GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A Use LibreOffice! https://www.libreoffice.org/
signature.asc
Description: PGP signature