I'm using GnuPG with OpenPGP SmartCard.
The Key is available on two smartcards which use on two different readers.
This setup works good since about 1 year.
Now I receive mail from a new person. This always fails.
Here an exmple with the Omnikey 3121.
Following Snippet from scdaemon
2017-12-05 21:27:00 scdaemon[6126] DBG: chan_5 <- SERIALNO 2017-12-05 21:27:00 scdaemon[6126] DBG: chan_5 -> S SERIALNO D276000124010201000500004E580000 0 2017-12-05 21:27:00 scdaemon[6126] DBG: chan_5 -> OK 2017-12-05 21:27:00 scdaemon[6126] DBG: chan_5 <- SETDATA 009DC7DF95075C8901A93D1448A35B3611D57BC0A9446F490DE1CE56C5CA3423E402B29C955CF13B4605FAF677EA0BA8D2072ABCE943E7F47E48DD580863818E70566FDEA3BCF6F072B024835D0C39E73B77A6249B39E46664BDD72CA5EF0706D4CF8A224D22BFB8952B4FEE88EB7B67DBCED9166B71211FFA60E68E49E2CB61039ADC02861679E895A629462F2AD6CF35E251744759D2A6F83300B4622409D6D269AE2359640464486BDC2653E20450C906BFAF2105211B96C337AEC52E80096E2BEA97D23B540AF494098B4CB8E1370F0CDEBC48560C5C8562C2A444AC3FA811F4974D373286BEA52A1BFE507E7FB5D7734049361243ABAD93CB0C38403F4E79C0AC43463F8076E6E01D8F2B56C1EFA9A479DFB5F8711CF6EE645D2869E8FA4DB4950AFEA2F1DDD04E01ABFDCC7253DAE67DC0EFEE3BBB975017398129E31031691352B83CFDD5B9EC63FC29F2A6F64DF4890AD141F50F8A0EE7B723AA23721ACC91D0637ACAFAAE8605091D81B51F25C9BBEB2129EBEC8DFCEAFF563C48879D09077AAFC438DF321C392DE01B6864EA24CB9FC4650ABE9BC0B03D44C88F12ED30DC9CB195D3B6C80D5A5BECC1552E788E623D5D9066D60A9A5F6CE516FD4FC915773C5B87916B4FC03396E952EC1E37F2326D93522DA143240ABE 2017-12-05 21:27:00 scdaemon[6126] DBG: chan_5 -> OK 2017-12-05 21:27:00 scdaemon[6126] DBG: chan_5 <- SETDATA --append 55DA1911DB12172A85F446CB0B5BE91B62F42A491632CF18B5B10FDED735C13E4731129069 2017-12-05 21:27:00 scdaemon[6126] DBG: chan_5 -> OK 2017-12-05 21:27:00 scdaemon[6126] DBG: chan_5 <- PKDECRYPT OPENPGP.2 2017-12-05 21:27:03 scdaemon[6126] operation decipher result: Missing item in object 2017-12-05 21:27:03 scdaemon[6126] app_decipher failed: Missing item in object 2017-12-05 21:27:03 scdaemon[6126] DBG: chan_5 -> ERR 100663364 Missing item in object <SCD> 2017-12-05 21:27:03 scdaemon[6126] DBG: chan_5 <- RESTART 2017-12-05 21:27:03 scdaemon[6126] DBG: chan_5 -> OK
The same happens with the Gemalto Shell Token.
As said - I receive a lot of encrypted eMail and it never failed before.
I confirmed the user who sends me the mail uses the correct key as well. This matches.
Working
Note: The message is encrypted for the following User ID's / Keys: 0xFX72E002698XXXX
Not working
Note: The message is encrypted for the following User ID's / Keys: 0xFX72E002698XXXX
My Plattform ist Ubuntu 17.04.
GPG version
gpg (GnuPG) 2.1.15
libgcrypt 1.7.6-beta