I want to sign my GitHub commits with GnuPG. So I'm trying to generate a GPG key as instructed in this article.
But the problem is when I run this command on the terminal:
gpg --full-generate-key
I get the error:
gpg: invalid option "--full-generate-key"
I've also tried gpg2 --full-generate-key
and still get the same error.
I've followed the instructions on this answer to instal gpg. The installation succeeds, but the error remains. Is there any other installation step I'm missing? Or maybe a different option other than --full-generate-key
to generate a GPG key?
gpg --full-gen-key