Any operation with the above configuration results in various errors, for example:
$ gpg --quick-gen-key --batch --passphrase '' sig_key [...] gpg: RNG is not compliant with --compliance=de-vs mode gpg: signing failed: Forbidden gpg: make_keysig_packet failed: Forbidden gpg: key generation failed: Forbidden
If I read the code right, this is not caused by the non-compliant RNG, but with the non-compliant libgcrypt version 1.9.0+, which still does not have de-vs compliance certificate. This is mentioned in the comments of both gnupg and libgcrypt, but not clear from the messages.
I am not sure if there is a better way to report a more descriptive error from this place of the code as I am not very familiar with that, but if it would be, it would cause less confusion for users (at least until the libgcrypt will have the certs).