GPG Key for private registry

Hello,

I am trying to publish a provider to the private registry, but am getting this error:

I created an RSA gpg key, length 4096. I am following these hashicorp instructions

Any direction as what kind of keys and length to generate would be helpful.

Thanks!