With gpgsm 2.2.15 and ~/.gnupg/crls.d/ renamed away, I see this when trying to encrypt:
gpgsm: Note: non-critical certificate policy not allowed gpgsm: certificate not found: No public key gpgsm: certificate #1C7CAD9DED77429D3CA98D1D/1.2.840.113549.1.9.1=#636140756E692D6D75656E737465722E6465,CN=Zertifizierungsstelle Universitaet Muenster - G02,O=Universitaet Muenster,C=DE gpgsm: checking the CRL failed: Not found gpgsm: can't sign using '5E:A8:6C:19:99:8E:43:CC:CF:BB:1C:0E:35:07:FF:F6:F2:BA:3C:26': Not found gpgsm: Note: non-critical certificate policy not allowed gpgsm: certificate #1C7CAD9DED77429D3CA98D1D/1.2.840.113549.1.9.1=#636140756E692D6D75656E737465722E6465,CN=Zertifizierungsstelle Universitaet Muenster - G02,O=Universitaet Muenster,C=DE gpgsm: checking the CRL failed: Missing certificate gpgsm: can't encrypt to '5E:A8:6C:19:99:8E:43:CC:CF:BB:1C:0E:35:07:FF:F6:F2:BA:3C:26': Missing certificate gpgsm: Note: non-critical certificate policy not allowed gpgsm: certificate not found: No public key gpgsm: certificate #1C7CAD9DED77429D3CA98D1D/1.2.840.113549.1.9.1=#636140756E692D6D75656E737465722E6465,CN=Zertifizierungsstelle Universitaet Muenster - G02,O=Universitaet Muenster,C=DE gpgsm: checking the CRL failed: Not found gpgsm: can't encrypt to '5E:A8:6C:19:99:8E:43:CC:CF:BB:1C:0E:35:07:FF:F6:F2:BA:3C:26': Not found
Encryption works when adding disable-crl-checks.
After executing gpgsm -k --with-validation (also without disable-crl-checks), CRLs are present in ~/.gnupg/crls.d/, and encryption works without disable-crl-checks.
Should I post 1150 lines of debug-all log information of dirmngr for the failed encryption? I do not see what goes wrong where.