Page MenuHome GnuPG

gpgsm can't decrypt smime encrypted mails from 1 contact
Closed, InvalidPublic

Description

I can't use KMail for SMIME encrypted mails. All mails from one person (very
important to me) cannot be decrypted for some reason. I save smime.p7m from
email and try this:
gpgsm -v --debug-all --decrypt smime.p7m
and get this:
gpgsm: параметры конфигурации из файла `/home/magist3r/.gnupg/gpgsm.conf'
gpgsm: enabled debug flags: x509 mpi crypto memory cache memstat hashing assuan
gpgsm: recp 0 - error getting info: General error
gpgsm: recp 1 - error getting info: General error
gpgsm: recp 2 - error getting info: General error
gpgsm: recp 3 - error getting info: General error
gpgsm: recp 4 - error getting info: General error
gpgsm: recp 5 - error getting info: General error
gpgsm: recp 6 - error getting info: General error
gpgsm: recp 7 - error getting info: General error
gpgsm: message decryption failed: No secret key <GpgSM>
random usage: poolsize=600 mixed=0 polls=0/0 added=0/0

outmix=0 getlvl1=0/0 getlvl2=0/0

secmem usage: 0/16384 bytes in 0 blocks
Any ideas?

PS. Thunderbird decrypts these emails well.
PS2. On another machine with gpg 2.1.5 I get the same behaviour.

Details

Version
2.0.26

Event Timeline

magist3r added projects: gnupg, Bug Report.
magist3r added a subscriber: magist3r.

To replicate this bug we need more information: What is yopur OS, which version
of libgcrypt and libksba are you using? "gpgsm --version" tells you these
version numbers.

If you send us the smime.p7m we might be able to find the problem without the
need for the key. Sending that file encrypted to wk@gnupg.org, keyid 1442b367
would be okay.

marcus added a subscriber: marcus.

Without the necessary info, we can not act on this.