Re: gpg --gen-key fails with "invalid packet (c2b=2d)" using gpg4win-1.1.1 and XP Pro

2007-07-12 Thread Werner Koch
On Wed, 11 Jul 2007 20:27, [EMAIL PROTECTED] said: > That was exactly the issue - after moving pubring.gpg and secring.gpg to > a backup directory, key generation works fine. Would it be worth > modifying the code so that it checks for existence of these files and > asks for permission to overwri

Re: gpg --gen-key fails with "invalid packet (c2b=2d)" using gpg4win-1.1.1 and XP Pro

2007-07-11 Thread Werner Koch
On Tue, 10 Jul 2007 23:21, [EMAIL PROTECTED] said: > When I run at a Command Prompt gpg --gen-key, I get (after a bunch of > +^.> characters and two messages saying to type to generate random > bytes): > >gpg: [don't know]: invalid packet (ctb=2d) Please check your pubring.gpg and secring.gpg

RE: gpg --gen-key fails with "invalid packet (c2b=2d)" using gpg4win-1.1.1 and XP Pro

2007-07-11 Thread Parsavand, Dara
Thanks Werner, That was exactly the issue - after moving pubring.gpg and secring.gpg to a backup directory, key generation works fine. Would it be worth modifying the code so that it checks for existence of these files and asks for permission to overwrite them or simply exits with a message sayin

gpg --gen-key fails with "invalid packet (c2b=2d)" using gpg4win-1.1.1 and XP Pro

2007-07-10 Thread Parsavand, Dara
I tried searching this list and found a few others having problems with key generation, but I haven't figured out the solution for me. I've tried downloading GnuPG for windows by itself (gnupg-w32cli-1.4.7.exe) as well as part of the latest gpg4win package. Trying to generate a new key by using G

Re: gpg --gen-key fails

2006-10-12 Thread Henry Hertz Hobbit
Others wrote: >> Try: >> $ ls -ld ~ ~/.gnupg/ >> What are your permissions? Do you have rwx for .gnupg? >> drwx-- 164 hgr hgr 12288 Oct 12 23:45 /home/hgr >> drwx-- 3 hgr hgr 4096 Oct 12 15:26 /home/hgr/.gnupg/ Okay. That looks okay. Try the following: $ cd ; cd .gnupg # if that do

Re: gpg --gen-key fails

2006-10-12 Thread Ladislav Hagara
Interesting, I've deleted the folder and other keys as well and now it works tnx Have you ever used gpg? Do you have some key already (gpg --list-key)? If no, try: $ rm -rf ~/.gnupg $ mkdir ~/.gnupg $ chmod 700 ~/.gnupg $ gpg --gen-key Great, you are welcome. :-) -- Ladislav Hagara __

Re: gpg --gen-key fails

2006-10-12 Thread Ladislav Hagara
Hi, I'm trying to generate a gpg key with Code: gpg --gen-key but i receive a message like (transtation): writable public keyring not found : eof what i'm supposed to do? Just trying: $ mkdir .gnupg $ chmod 555 .gnupg/ $ gpg --gen-key ... *gpg: no writable public keyring found: eof* Key generat

Re: gpg --gen-key fails

2006-10-12 Thread Ladislav Hagara
Linux ubuntu amd64 Try: $ ls -ld ~ ~/.gnupg/ What are your permissions? Do you have rwx for .gnupg? drwx-- 164 hgr hgr 12288 Oct 12 23:45 /home/hgr drwx-- 3 hgr hgr 4096 Oct 12 15:26 /home/hgr/.gnupg/ -- Ladislav Hagara ___ Gnupg-users m

Re: gpg --gen-key fails

2006-10-12 Thread Claudio Iannotta
Il giorno gio, 12/10/2006 alle 23.09 +0200, Ladislav Hagara ha scritto: > > Hi, > > I'm trying to generate a gpg key with > > Code: > > gpg --gen-key > > but i receive a message like (transtation): > > writable public keyring not found : eof > > what i'm supposed to do? > > Just trying: > > $ mkd

gpg --gen-key fails

2006-10-12 Thread Claudio Iannotta
Hi, I'm trying to generate a gpg key with Code: gpg --gen-key but i receive a message like (transtation): writable public keyring not found : eof what i'm supposed to do? tnx ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg