gpg 2.2.21 automatically detected and used my Nitrokey after booting the system. In other words, I did 'gpg -d foo.gpg', it asked for PIN and decrypted the file. gpg 2.2.22 doesn't detect Nitrokey after boot: $ gpg -d ~/cvc2.gpg gpg: encrypted with 4096-bit RSA key, ID 580C5E1242C5AD46, created 2013-02-20 "Michał Górny (Gentoo) <mgorny@gentoo.org>" gpg: public key decryption failed: End of file gpg: decryption failed: No secret key I need to manually issue 'gpg --card-status' to make it start working.
patch backported.