Page MenuHome GnuPG
Feed Advanced Search

Sep 24 2020

turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Nice, thanks! If I want to try this fix, should I just compile the master tree?

Sep 24 2020, 2:45 PM · Restricted Project, gnupg (gpg22), scd, Bug Report

Sep 22 2020

key created T5081: Cannot verify Signature of Electrum.
Sep 22 2020, 9:54 PM
werner triaged T5080: Gpg-agent gets confused when a homedir is moved as Normal priority.
Sep 22 2020, 4:32 PM · gnupg (gpg22), Bug Report
goeran updated the task description for T5080: Gpg-agent gets confused when a homedir is moved.
Sep 22 2020, 3:00 PM · gnupg (gpg22), Bug Report
goeran created T5080: Gpg-agent gets confused when a homedir is moved.
Sep 22 2020, 2:58 PM · gnupg (gpg22), Bug Report

Sep 21 2020

MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

Update: Using --use-standard-socket argument to run this does not work and gpg-agent still create new process. New findings:

Sep 21 2020, 3:22 PM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

Just to acknowledge here: I notice that the new gpg-agent random process respawn with an obsolete argument using --use-standard-socket. I will run my gpg daemon using this absolete argument to see if it can block this random process. [updated the script]

Sep 21 2020, 1:42 AM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 21 2020, 1:16 AM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

Thanks for your reply. I can confirm from my observation from the log this is a bug where I'm able to reproduce this every day. I will post this to mailing lists.

Sep 21 2020, 1:11 AM · gnupg (gpg22), Bug Report

Sep 20 2020

d716c added a comment to T5077: Unable to Creat OpenPGP new key pair, Unable to Connect to UIServer on startup. Creating a folder in my D drive as portable.

I tried using the portable version it wasnt portable apps, i used it the zip file option from this site, https://portapps.io/app/gnupg-portable/

Sep 20 2020, 11:46 PM · Bug Report, gpg4win
d716c added a comment to T5077: Unable to Creat OpenPGP new key pair, Unable to Connect to UIServer on startup. Creating a folder in my D drive as portable.

Sep 20 2020, 11:40 PM · Bug Report, gpg4win
d716c created T5077: Unable to Creat OpenPGP new key pair, Unable to Connect to UIServer on startup. Creating a folder in my D drive as portable.
Sep 20 2020, 11:39 PM · Bug Report, gpg4win
werner added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

FWIW: You may get a faster answer if you post to gnupg-users mailing lists. Bug reports are a tool to fix bugs and usually are only seen by a few developers.

Sep 20 2020, 7:39 PM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

I'm now able to kill the respawn process in the script (updated the script). But I need confirmation if this is a known bug ?

Sep 20 2020, 5:44 AM · gnupg (gpg22), Bug Report

Sep 19 2020

MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

I can create a script to manually kill the 2nd process, but can u guys confirm with me that this is a known bug ?

Sep 19 2020, 7:42 PM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

Just to let you know that , using --homedir option also has the same problem I noticed today. I got email each minute like this:

Sep 19 2020, 5:20 PM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

Ok let me update what I did next:

Sep 19 2020, 6:16 AM · gnupg (gpg22), Bug Report

Sep 18 2020

MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:31 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:24 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:24 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:17 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:12 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:11 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:10 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:10 PM · gnupg (gpg22), Bug Report
MaXi32 created T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:09 PM · gnupg (gpg22), Bug Report
mathieui created T5075: [python-gpgme] Traceback when running with python -OO.
Sep 18 2020, 5:11 PM · gpgme, Python, Bug Report
gniibe added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

Here are my test configurations.

Sep 18 2020, 10:15 AM · Bug Report
despair created T5074: Leaking fd.
Sep 18 2020, 8:29 AM · Restricted Project, gpgme, Bug Report
gniibe added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

I think that there is some misunderstanding how gpg-agent and scdaemon run.
In the normal configuration, those program run when you login to your desktop or it is invoked when used, then, after you logout, it dies.

Sep 18 2020, 5:01 AM · Bug Report
gniibe added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

For SSH, I don't think forwarding gpg-agent's socket (S.gpg-agent.ssh) is good idea; It complicates things unnecessarily. Simply use -A option of SSH, if possible.

Sep 18 2020, 3:58 AM · Bug Report
gniibe closed T5063: Use of some "SCD" command through extra socket, a subtask of T5062: gpg: error getting version from 'scdaemon': Forbidden, as Resolved.
Sep 18 2020, 3:55 AM · Bug Report
gniibe closed T5063: Use of some "SCD" command through extra socket as Resolved.
Sep 18 2020, 3:55 AM · Bug Report
gniibe added a comment to T5063: Use of some "SCD" command through extra socket.

Fixed in master.

Sep 18 2020, 3:52 AM · Bug Report
gniibe added a comment to T5063: Use of some "SCD" command through extra socket.

"SCD GETINFO card_list" is not needed actually. It was my misunderstanding.

Sep 18 2020, 3:51 AM · Bug Report

Sep 17 2020

GwenDragon added a project to T5073: Date output of GnuPG not in correct language format: gnupg (gpg22).
Sep 17 2020, 6:00 PM · gnupg (gpg22), Bug Report
GwenDragon created T5073: Date output of GnuPG not in correct language format.
Sep 17 2020, 5:37 PM · gnupg (gpg22), Bug Report
bernhard closed T3379: Gpg4win windows publisher signature not always correctly displayed in UAC dialogue as Resolved.

Last report more than two years ago.

Sep 17 2020, 1:50 PM · gpg4win, Bug Report
turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

This is everything lsusb knows about the device:

Sep 17 2020, 8:28 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

And please report the output of lsusb -d 04e6:e003 for the information of the card reader.

Sep 17 2020, 8:27 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

@turkja Thanks for your information.
May I ask you one thing?
Please show me the usb VID:PID of your card reader.
Is it 04e6:e003?
You can examine a line of the output by lsusb.

Sep 17 2020, 8:23 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Just wanted to add to my initial findings:

  • I was not using proprietary drivers (libscmccid.so.5.0.35), because the installer script fails to install on default CentOS 8 pcsc-lite. So the distribution pcsc-lite also doesn't have this issue.
  • Fastest way to test this condition is to just detach/attach the reader device.
  • Proprietary drivers doesn't support secure pin entry!
Sep 17 2020, 5:59 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Sep 16 2020

CaveTheCave added a comment to T5069: Concurrent auto-start of gpg-agent by multiple gpg instances..

Please note that:

  • There is a single user accessing the socket dir (which is the same as the homedir).
  • The socketdir (homedir) is not in a local directory. It is in another file system accessed via the SMB protocol, with a command such as:
gpg --homedir "//192.168.32.211/c$/gpghomedir" ...
Sep 16 2020, 8:33 PM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
CaveTheCave added a comment to T5069: Concurrent auto-start of gpg-agent by multiple gpg instances..

From the '&ovl' I assume that the lock file has been opened for overlapped IO.
Please see an extract from MSDN for the LockFileEx function:

Sep 16 2020, 5:03 PM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
glr created T5071: Doc fix: simple typos.
Sep 16 2020, 1:19 PM · Documentation, Bug Report
werner added a comment to T5069: Concurrent auto-start of gpg-agent by multiple gpg instances..

We need to figure out why the file locks seem not to work. gpg-agent processes whatch there own socket and terminate if that socket does not belong to them anymore.

Sep 16 2020, 8:10 AM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
gniibe claimed T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).
Sep 16 2020, 8:04 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Thanks for sending.

Sep 16 2020, 8:01 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Here is the output for an SCM SPR532

Sep 16 2020, 7:55 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Bus 001 Device 123: ID 04e6:e003 SCM Microsystems, Inc. SPR532 PinPad SmartCard Reader

Sep 16 2020, 7:48 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Is it an alias of SPR532? Please show me the USB vendor ID and product ID.

Sep 16 2020, 7:39 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
CaveTheCave added a comment to T5069: Concurrent auto-start of gpg-agent by multiple gpg instances..

Yes it is the windows version. It occurs both in Windows 10 and Windows Server 2016.
What I notice is that a gpg-agent is started, then after some time another one is started and the previous ends (presumably because it has lost the socket), etc. At any point in time, I can see only one agent instance running in the task manager, but with different process ids.

Sep 16 2020, 6:57 AM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report

Sep 15 2020

werner triaged T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2) as High priority.

Okay, I have the same problem at my office and thus I should be able to figure out the reason. I have ignored the problem until now because the wokraround is easy enough and in most cases I authenticate with my token anyway. But yes, this needs to be fixed.

Sep 15 2020, 9:35 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner triaged T5069: Concurrent auto-start of gpg-agent by multiple gpg instances. as Normal priority.

I assume this is the Windows version. gpg uses a locking mechanism to avoid creating several gpg-agent processes. In the worst case this may take quite some time until one of the processes can get the lock. There is an exponential backoff scheme in use and I have not yet found a way to replicate the full deadlock you describe. It would be helpful if you could describe in more detail how you run into this case.

Sep 15 2020, 9:35 PM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
CaveTheCave created T5069: Concurrent auto-start of gpg-agent by multiple gpg instances..
Sep 15 2020, 3:17 PM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report

Sep 14 2020

turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Thanks for prompt answer!

Sep 14 2020, 9:45 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner added projects to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2): scd, gnupg (gpg22).

Thanks for the detailed report. Does the green LED blink fast when it does not work?

Sep 14 2020, 7:59 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
turkja created T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).
Sep 14 2020, 3:37 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Sep 11 2020

avemilia added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

Additionally, does your answer imply that when I ssh into remote, no gpg logs on remote should be produced if everything is executed correctly?

Sep 11 2020, 9:52 AM · Bug Report
avemilia added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

I see. How should I prepare environment instead? With local it is clear, but with remote it isn't. I also use remote as a normal machine with yubikey plugged directly into it most of the time, as it is a desktop at home. Local is a laptop that I use when I'm not at home. So, let's say I have a fresh reboot of remote and use it a bit with yubikey. So, it has gpg-agent started with its own socket there. Now I want to ssh into remote. If I understand correctly, for correct functionality I need to kill gpg-agent on remote first, otherwise agent forwarding will misbehave? Then, after I'm done with ssh and get back to remote (physically), how do I "recover" from ssh and re-launch gpg agent normally again? Since you say that killing it will send instruction to kill it on local machine, what should be done instead?

Sep 11 2020, 9:49 AM · Bug Report
gniibe added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

You should not do gpgconf --kill all on your remote machine; It kills gpg-agent on your local machine, through forwarded socket. And next invocation of gpg will invoke gpg-agent on your remote machine, which makes things confusing.

Sep 11 2020, 9:36 AM · Bug Report
avemilia added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

I didn't run gpg-agent or scdaemon on remote manually. If that happened -- it probably happened as a result of ssh'ing into it and spawning a zsh shell, which executed the section that I mark as "Environment (per shell)" above. I do this kind of "preparation" (stop gpg, clean up logs to collect only relevant logs on problem demonstration) to make the problem description as minimal as possible. And I post all relevant produced logs to make the problem description as complete as possible. Sorry if this is confusing, I don't really know what I'm doing but I want to make a bug report that can be acted upon.

Sep 11 2020, 9:22 AM · Bug Report
gniibe added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

Sorry, my editing error. I wanted to write:

Sep 11 2020, 8:51 AM · Bug Report
avemilia updated the task description for T5064: Forwarded gpg ssh agent doesn't see smartcard ssh key, only (none).
Sep 11 2020, 8:38 AM · Bug Report
avemilia updated the task description for T5064: Forwarded gpg ssh agent doesn't see smartcard ssh key, only (none).
Sep 11 2020, 8:33 AM · Bug Report
avemilia updated the task description for T5064: Forwarded gpg ssh agent doesn't see smartcard ssh key, only (none).
Sep 11 2020, 8:27 AM · Bug Report
avemilia created T5064: Forwarded gpg ssh agent doesn't see smartcard ssh key, only (none).
Sep 11 2020, 8:25 AM · Bug Report
avemilia added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

Thank you for the response.

Sep 11 2020, 8:14 AM · Bug Report
gniibe claimed T5062: gpg: error getting version from 'scdaemon': Forbidden.
Sep 11 2020, 6:39 AM · Bug Report
gniibe added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

Perhaps, for the usability, it would be good for gpg-agent's "extra" access to allow some of SCD commands.
This can align the current limitation, I suppose.

Sep 11 2020, 6:38 AM · Bug Report
gniibe created T5063: Use of some "SCD" command through extra socket.
Sep 11 2020, 4:35 AM · Bug Report
gniibe added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

I think that your configuration does not work well for gpg --card-status when you want to use local scdaemon service from remote machine.
By using "extra" socket, only a few commands are allowed to execute.

Sep 11 2020, 4:28 AM · Bug Report
gniibe added a project to T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation): Restricted Project.
Sep 11 2020, 2:20 AM · Restricted Project, ssh, Bug Report
gniibe changed the status of T5041: gpg-agent/scdaemon/gnuk unable to sign ssh certificate (Couldn't certify key … via agent: agent refused operation) from Open to Testing.

Fixed in Gnuk 1.2.16, although it still has a limitation by the I/O buffer size.

Sep 11 2020, 2:19 AM · Restricted Project, ssh, Bug Report

Sep 10 2020

avemilia updated the task description for T5062: gpg: error getting version from 'scdaemon': Forbidden.
Sep 10 2020, 11:58 PM · Bug Report
avemilia created T5062: gpg: error getting version from 'scdaemon': Forbidden.
Sep 10 2020, 11:56 PM · Bug Report
werner closed T2312: GnuPG 2.1 migration fails due to permissions but appears to succeed as Resolved.

It should be possible to apply the patch rG7de9ed521e516879a72ec6ff6400aed4bdce5920
for 2.2 also to older 2.1 or 2.2 versions,

Sep 10 2020, 7:50 AM · gnupg, Bug Report

Sep 9 2020

werner added a comment to T2312: GnuPG 2.1 migration fails due to permissions but appears to succeed.

That keeps the group permissions of an existing directory. Needs to be backported to 2.2

Sep 9 2020, 8:37 PM · gnupg, Bug Report
werner reopened T2312: GnuPG 2.1 migration fails due to permissions but appears to succeed as "Open".

The fix we have there has the problem that it forcefully changes the permissions. Consider the case that for example that group access was provided which will currently be reset with each start of gpg-agent.

Sep 9 2020, 7:41 PM · gnupg, Bug Report
aheinecke added a comment to T4123: Pinentry-qt does not always become active foreground window (especially when requesting pin for authentication).

There are two problems that might be mixed in here:
What I noticed sometimes is that pinentry-qt properly becomes the ForegroundWindow but the input focus is not set on the line, even though an active cursor is shown in the line.
This might be a pinentry-qt specific issue and I look into that.

Sep 9 2020, 2:17 PM · pinentry, Bug Report, gpg4win
leder added a comment to T5057: Smartcard's secret key cannot be found for decryption.

@gniibe I wonder, if file --export with following --import would do the trick!?

Sep 9 2020, 9:08 AM · gnupg (gpg22), Bug Report
werner added a comment to T5059: Could not create key pair: Timeout.

Checkout the taskbar. While creating the key you should get a (blinking) notification for pinentry - the tool to enter the passphrase. Under some circumstances Windows won't pop up that tool and you need to click on its icon in the taskbar.

Sep 9 2020, 8:49 AM · No Response, Support, kleopatra
werner added a comment to T5057: Smartcard's secret key cannot be found for decryption.

@gniibe: Actually I implemented this recently. Support for this is in gpg-card

Sep 9 2020, 8:47 AM · gnupg (gpg22), Bug Report
gniibe triaged T5057: Smartcard's secret key cannot be found for decryption as Normal priority.
Sep 9 2020, 8:32 AM · gnupg (gpg22), Bug Report
gniibe added a comment to T5057: Smartcard's secret key cannot be found for decryption.

@leder I agree that it is useful if OpenPGP public key can be (directly or indirectly) retrieved from a card.

Sep 9 2020, 8:31 AM · gnupg (gpg22), Bug Report
leder added a comment to T5057: Smartcard's secret key cannot be found for decryption.

One more idea: It is a riddle to me why I can configure keyserver http://pool.sks-keyservers.net/ and then do a --search-keys, but it is impossible to do --receive-keys with the following error:

Sep 9 2020, 7:43 AM · gnupg (gpg22), Bug Report
leder closed T5057: Smartcard's secret key cannot be found for decryption as Resolved.

Thank you, gniibe!

Sep 9 2020, 7:19 AM · gnupg (gpg22), Bug Report
andfox added a comment to T5055: APPCRASH with libKF5ConfigWidgets.dll.

I have run the DbgView test twice, I don't know if there is the data you need.

Sep 9 2020, 4:10 AM · Bug Report, gpg4win
gniibe added a comment to T5057: Smartcard's secret key cannot be found for decryption.

Please note that your private keys are on your card, together with finger print information. But there is no place to have OpenPGP public keys on the card. I guess that this is a possible cause of confusion.

Sep 9 2020, 3:08 AM · gnupg (gpg22), Bug Report

Sep 8 2020

leder added a comment to T5057: Smartcard's secret key cannot be found for decryption.

Now I am even more confused! This is key No. 1 - the number on the keyserver w/ --search-keys:

Sep 8 2020, 6:20 PM · gnupg (gpg22), Bug Report
h122642 created T5059: Could not create key pair: Timeout.
Sep 8 2020, 5:09 PM · No Response, Support, kleopatra
werner added a comment to T5057: Smartcard's secret key cannot be found for decryption.

On an OpenPGP card the key no 1 (OPENPGP.1) is a sign-only key - you can't use it for decryption even if you somehow managed to encrypt to that key. That restriction is enforced by the card.

Sep 8 2020, 4:54 PM · gnupg (gpg22), Bug Report
aheinecke triaged T5055: APPCRASH with libKF5ConfigWidgets.dll as Normal priority.

thanks for the report. Between Gpg4win-3.1.12 and Gpg4win-3.1.11 KF5ConfigWidgets was indeed updated so your report might point to a regression in that library.

Sep 8 2020, 10:47 AM · Bug Report, gpg4win
leder added a comment to T5057: Smartcard's secret key cannot be found for decryption.

Hello Werner,

Sep 8 2020, 9:42 AM · gnupg (gpg22), Bug Report
werner added a comment to T5057: Smartcard's secret key cannot be found for decryption.

Your problem seems to be that you don't have a copy of your public key anymore. The uni-mainz keyserver might be configured not to return expired keys (if I read the output above correctly). I was able to to retrieve your key using the standard pool (in particular from the server sks.pod02.fleetstreetops.com). The key is expired but that does hinder you to decrypt. Run "gpg --card-status" once tomake sure a stub file is available.

Sep 8 2020, 8:22 AM · gnupg (gpg22), Bug Report

Sep 7 2020

leder added a comment to T5057: Smartcard's secret key cannot be found for decryption.

Now I changed the gpg2 keyserver and can see my public keys on the public key server:

Sep 7 2020, 4:44 PM · gnupg (gpg22), Bug Report
leder set External Link to https://askubuntu.com/questions/1022982/gpg2-is-unaware-of-secret-and-public-key-on-smartcard on T5057: Smartcard's secret key cannot be found for decryption.
Sep 7 2020, 4:26 PM · gnupg (gpg22), Bug Report
leder created T5057: Smartcard's secret key cannot be found for decryption.
Sep 7 2020, 4:18 PM · gnupg (gpg22), Bug Report
bernhard renamed T5046: Exporting secret keys via gpgme from Exporting secret keys to Exporting secret keys via gpgme.
Sep 7 2020, 10:17 AM · gpgme, Bug Report
andfox created T5055: APPCRASH with libKF5ConfigWidgets.dll.
Sep 7 2020, 5:44 AM · Bug Report, gpg4win