[EMAIL PROTECTED] (Niels M�ller) writes:
> Jeff Bailey <[EMAIL PROTECTED]> writes:
>
> > A force flag would probably be the best thing to do, with an error that
> > says:
>
> Noted.
>
> > [jbailey@cr499794-a jbailey]$ ls -al .lsh
> > total 10
> > drwxr-xr-x 2 jbailey jbailey 1024 Jul 27 08:28 .
> > drwx------ 78 jbailey jbailey 9216 Jul 27 08:16 ..
> > [jbailey@cr499794-a jbailey]$ lsh_keygen | lsh_writekey
> > lsh_writekey: File exists
> > Broken pipe
>
> Probably a bug introduced after 0.9.4.
>
> I'll look closer at this later next week.
I think I have found the bug. It tried to open the "identity" file
twice. Or more precisely, when the name "identity.pub" is constructed,
an extra NUL character is included before the dot.
/Niels