keyblock resource: file open error

Wesley J Landaker
Sat, 21 Oct 2000 12:39:32 -0700

Hash: SHA1

On Saturday 21 October 2000 12:37pm, Daniel Freedman wrote:

> Hi,
> I've installed GnuPG 1.0.4 on RH 6.0 using the RPM linked to from the
> website. When trying to establish my initial key with
> 'gpg --gen-key': I get the following message:
> gpg: keyblock resource `/home/freedman/.gnupg': file open error
> gpg: keyblock resource `/home/freedman/.gnupg': file open error
> It will continue the script to generate the random seed (??), but
> then fail to be able to write that in my home directory (in .gnupg).
> I've never seen this type of message before, so I'm not sure if I've
> misconfigured bash (I do have umask 077 set, but I didn't think this
> would effect this process) or if this is a gnupg-related question.
> If it's bash-config, sorry for bothering you guys.
I actually ran into this same thing when I upgraded to gnupg-1.0.4 and had some other users trying to install it... it seems that for some reason it won't make the ~/.gnupg directory for you. However, if the directory already exists or if you just make the directory yourself, it works fine. i.e. mkdir ~/.gnupg gpg --gen-key works fine. This will never happen if you already have a ~/.gnupg directory (ie if you are upgrading from a previous version and you already have keys) - -- Wesley J. Landaker - ICQ# 17241646 PGP DSS/DH Key: 0x0F338E07 PGPKey FP: 3AAA 424B B488 198E B68B C0E5 390A BACA 0F33 8E07 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: See or to obtain PGP software iEYEARECAAYFAjnx8PgACgkQOQq6yg8zjgcb8gCfWM3GeyE70dWZbEfLBf7j7y1g yR4AoN9t5DBEgObWr3nN89ub673A6mF8iEYEARECAAYFAjnx8PgACgkQOQq6yg8z jgcb8gCgyldWPfLXkWhu4iCrr6usaFdGpXMAn1Jgx+xisiUHvyBotczBzCIBydQc =o9qV -----END PGP SIGNATURE----- -- Archive is at - Unsubscribe by sending mail with a subject of "unsubscribe" to