LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 02-21-2005, 04:11 PM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
problem with gpg key


Both "gpg --import public_key.asc" and "gpg --import /usr/share/doc/en_US.ISO8859-1/books/handbook/pgpkeys-developers.html" don't work. If this helps i had previously updated my FreeBSD 5.3 installation. Which is the problem? Here's the output.
======================================================
vakhos# gpg --import public_key.asc
gpg: failed to create temporary file `/root/.gnupg/.#lk0x80db0c0.vakhos.lan.819': No such file or directory
gpg: keyblock resource `/root/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/root/.gnupg/.#lk0x80db0c0.vakhos.lan.819': No such file or directory
gpg: keyblock resource `/root/.gnupg/pubring.gpg': general error
gpg: no writable keyring found: eof
gpg: error reading `public_key.asc': general error
gpg: import from `public_key.asc' failed: general error
gpg: Total number processed: 0

======================================================
vakhos# gpg --import /usr/share/doc/en_US.ISO8859-1/books/handbook/pgpkeys-developers.html
gpg: failed to create temporary file `/root/.gnupg/.#lk0x80db0c0.vakhos.lan.898': No such file or directory
gpg: keyblock resource `/root/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/root/.gnupg/.#lk0x80db0c0.vakhos.lan.898': No such file or directory
gpg: keyblock resource `/root/.gnupg/pubring.gpg': general error
gpg: no writable keyring found: eof
gpg: error reading `/usr/share/doc/en_US.ISO8859-1/books/handbook/pgpkeys-developers.html': general error
gpg: import from `/usr/share/doc/en_US.ISO8859-1/books/handbook/pgpkeys-developers.html' failed: general error
gpg: Total number processed: 0
vakhos# gpg --import /usr/share/doc/en_US.ISO8859-1/books/handbook/pgpkeys-developers.html
gpg: failed to create temporary file `/root/.gnupg/.#lk0x80db0c0.vakhos.lan.902': No such file or directory
gpg: keyblock resource `/root/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/root/.gnupg/.#lk0x80db0c0.vakhos.lan.902': No such file or directory
gpg: keyblock resource `/root/.gnupg/pubring.gpg': general error
gpg: no writable keyring found: eof
gpg: error reading `/usr/share/doc/en_US.ISO8859-1/books/handbook/pgpkeys-developers.html': general error
gpg: import from `/usr/share/doc/en_US.ISO8859-1/books/handbook/pgpkeys-developers.html' failed: general error
gpg: Total number processed: 0
vakhos#
 
Old 02-21-2005, 04:37 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
At the risk of asking the obvious -- Does the /root/.gnupg directory exist?
 
Old 02-22-2005, 03:05 AM   #3
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Original Poster
Rep: Reputation: 30
Reading from the output message "no". Sorry, but i have no idea about gpg keys. Looking around i only get to find them; do you know a link, which exactly explains what i must do, how are they used, etc? In a tutorial i was reading in order to set this key up, but i wasn't instructed to to create that file; i thought the problem is more than that.
 
Old 02-22-2005, 07:15 AM   #4
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
I think this is the one I've referred other people to. Read it all and you'll have a much better understanding of how gpg works.
 
Old 07-30-2006, 08:49 PM   #5
aarnott
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
I had a similar problem. I solved it by using ls -l ~/.gnupg/ to discover that my secring.gpg file was owned by root.root instead of my own account. Fixing that using chown made gpg start working.
 
Old 04-17-2007, 01:32 PM   #6
zahid72
LQ Newbie
 
Registered: Apr 2002
Distribution: home
Posts: 2

Rep: Reputation: 0
Cool

Dear All,

I would like to also add my comments for the same problem which I went for only in the creation of file .gnupg in the root directory and it did work.

Thanks !!!!!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum and gpg key problem Richlw Fedora 1 06-30-2005 12:01 AM
GPG Key problem satimis Fedora 2 04-13-2005 03:22 AM
Problem importing Mandrake Cooker public GPG key hazza Mandriva 2 07-26-2004 05:38 AM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM
what is gpg-key salahuddin_66 Slackware 3 05-18-2004 03:10 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:50 PM.

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