When sign is selected but no signing key exists, pinentry should prompt the user to generate a key for this identity.
Instead an error message about unusable secret key is shown.
I noticed that the resolver.exe from gpg4win-tools also does not handle this case.