LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-06-2005, 01:47 AM   #1
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
gpg problem.


Hello.

I want to use gpg to encrypt a file that I can send to someone else, and they will be able to open it by just entering the passphrase that I select.

I have been told that gpg -c filename will do what I want.

However, when I run that command I get the following errors....

gpg: failed to create temporary file `/home/craig/.gnupg/.#4354355654.localhost.435' : No such file or directory
gpg: keyblock resource `/home/craig/.gnupg/pubring.gpg' : general error
Enter Passphrase:

Once I enter the passphrase twice. I get the following...

gpg: can't create `/home/craig/.gnupg/random_seed` : No such file or directory.



I get this whether I am root or not.

I must be missing something? This is the first gpg command I have run on the machine. So if I have to do any setup I haven't done so.

Can anyone please point me in the right direction?

All I want to be able to do is encrypt a file with passphrase that I select, and be able to give it to other people who will be able to decrypt it using the same passphrase.

I have had a problem in the past where I lost a lot of data thanks to a HDD crash which took the keys with it. I don't want to have to have a certain set of keys to open the file. Just a passphrase.

Thanks
Craig
 
Old 04-06-2005, 01:54 AM   #2
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Original Poster
Rep: Reputation: 30
Don't worry... I made a stupid mistake.

>Craig
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kdevelop and gpg problem kpachopoulos Fedora 1 06-18-2005 08:37 AM
GPG Key problem satimis Fedora 2 04-13-2005 03:22 AM
yum GPG problem bikov_k Linux - General 1 01-08-2005 08:17 PM
gpg problem pr1sg Linux - Software 7 05-11-2003 10:25 PM
problem with gpg raven Linux - Software 1 09-29-2002 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:24 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