LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   need help with gpg (https://www.linuxquestions.org/questions/linux-software-2/need-help-with-gpg-4175426507/)

nex9 09-10-2012 07:38 AM

need help with gpg
 
I have a requirement from another company to encrypt/decrypt files via gpg (files are then FTP'ed). I am having problems getting a key generated (using CentOS 6.3, if that matters).

I am using "gpg --gen-key", and I get the following errors:

gpg --gen-key
can't connect to `/home/bob/.gnupg/S.gpg-agent': No such file or directory
gpg-agent[25596]: command get_passphrase failed: Operation cancelled
gpg: cancelled by user
gpg: Key generation canceled.

I have tried starting the agent (both as the "bob" use and as "root"), but I still get the same error. I have tried running "gpg-agent --verbose --server" and I do not see any errors from the agent.

Any help would be greatly appreciated.

chrism01 09-10-2012 09:04 PM

these may help
http://www.gnupg.org/gph/en/manual.html
http://www.gnupg.org/documentation/manuals/gnupg/

nex9 09-11-2012 07:33 AM

Thanks, but unfortunately that did not resolve my issue (and the first link seems woefully out of date - IE: menu items for "gpg --gen-key" don't even match the menu items of the current version - seems to be docs for version 1.0 not 2.0). Second link seems to be for current docs, but I get the same errors when following these directions.


All times are GMT -5. The time now is 05:28 PM.