SyntaxFix
Write A Post
Hire A Developer
Questions
I think you had not yet import the private key as the message error said, To import public/private key from gnupg:
gpg --import mypub_key gpg --allow-secret-key-import --import myprv_key