GPG asymmetric decryption should fail, but does not

Welcome to the forum @Martin

I don’t use gpg of any sort, let alone asymmetric, but a forum web search found this. Does it help?

Is that from a shell? If so, I worry if the --gpg-encryption-switches line might get split improperly.

EDIT:

Another possible guess is: