GPG command line encryption
by villumanati from LinuxQuestions.org on (#5CJDQ)
Hello,
I would appreciate it if someone would clarify gpg encryption.
essentially I run the command
Code:gpg --output myFile.gpg --encrypt --recipient MyReciever myInput.txtI then receive a prompt
Code:It is not certain that the key belongs to the person named in the user id. If you really know what you are doing, you may answer the next question with yes
Use this key anyway? (y/N)My question is there a way to skip this prompt and/or have it automatically enter y?
if it matters i am running linux debian 4.9.168...


I would appreciate it if someone would clarify gpg encryption.
essentially I run the command
Code:gpg --output myFile.gpg --encrypt --recipient MyReciever myInput.txtI then receive a prompt
Code:It is not certain that the key belongs to the person named in the user id. If you really know what you are doing, you may answer the next question with yes
Use this key anyway? (y/N)My question is there a way to skip this prompt and/or have it automatically enter y?
if it matters i am running linux debian 4.9.168...