LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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: 8

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
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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: 8

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



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 9 06-03-2019 10:06 AM
[SOLVED] gpg: WARNING: unsafe permissions on configuration file `/home/b/.gnupg/options' gpg: widda Mandriva 9 07-30-2018 07:49 AM
[SOLVED] gpg help lhorace Linux - Newbie 2 11-08-2009 10:56 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration