LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-10-2012, 07:38 AM   #1
nex9
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Rep: Reputation: 0
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.
 
Old 09-10-2012, 09:04 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,239

Rep: Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024Reputation: 2024
these may help
http://www.gnupg.org/gph/en/manual.html
http://www.gnupg.org/documentation/manuals/gnupg/
 
Old 09-11-2012, 07:33 AM   #3
nex9
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
  


Reply

Tags
gpg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gpg / gpg-agent -- Can't connect to /root/.gnupg/S.gpg-agent jrtayloriv Linux - Security 6 07-16-2014 01:26 PM
[SOLVED] gpg help lhorace Linux - Newbie 2 11-08-2009 10:56 AM
[SOLVED] gpg: WARNING: unsafe permissions on configuration file `/home/b/.gnupg/options' gpg: widda Mandriva 8 09-05-2009 09:37 AM
GPG: Bad session key gpg between gpg on linux and gpg gui on windows XP konqi Linux - Software 1 07-21-2009 09:37 AM
Gpg ? antken Linux - General 2 09-01-2002 10:05 AM


All times are GMT -5. The time now is 12:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration