Cannot decrypt file encrypted with enQsig

Dirk Gottschalk dirk.gottschalk1980 at googlemail.com
Sun Jul 29 23:37:02 CEST 2018


Hi.

Am Freitag, den 27.07.2018, 16:49 +0200 schrieb Felix E. Klee:
> From what I can tell, the file has been encrypted with four keys. My
> encryption key is the sub key 04FDF78D1679DD94. The private key is on
> a smart card. As you can see, decryption fails with an error message:
> “gpg: public key decryption failed: Missing item in object”

Does this key work as expected in other programs, MUAs for example?

> *What does the error message mean? Why does encryption fail?*

> I wonder if perhaps enQsig cannot properly deal with encryption sub
> keys:

> *Would it be possible to extract the public encryption sub key?* (to
> only provide that to the sender)

IIRC, a "gpg --export <enc-key-ID>" should do exactly this. I didn't
test it mysqlf, but exporting a only a sub key should be no problem.

> I am using Gpg4win 3.1.2 on Windows 7x64. If more information is
> needed,
> then I am happy to provide it!

Could you provide an example file with this error, in best case
generated from the Sender?

Have you tried to inspect the packets in the file with
"--list-packets"?

This would show the key IDs which were used to encrypt, probably enQsig
really uses the wrong key to encrypt. Your primary key will fail then
when it's not capable to encrypt, which is the default.

Regards,
Dirk

-- 
Dirk Gottschalk
Paulusstrasse 6-8
52064 Aachen
Tel.: +49 1573 1152350
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180729/f2c921a6/attachment.sig>


More information about the Gnupg-users mailing list