On 16 May 2011, at 21:42, Ben Summers wrote:
> 
> I'm getting login failed errors when attempting to clone a repo over https on 
> Solaris 10, but the same command and repo works fine on Mac OS X. Cloning the 
> repo over http from the Mac works fine. The https server is running Solaris 
> 10 and the Jetty web server.

I've tracked the problem down, and it was nothing to do with https vs http.

On Solaris, getpass() will only return up to 8 characters. On Mac OS X, it 
returns up to 128 characters. My password for the https repo was 10 characters 
long, and the test clone over http used a default 6 character password.

Solaris provides getpassphrase() which returns up to 257 characters. When I 
change fossil to use this instead of getpass(), everything works fine.

I'll submit a patch to use getpassphrase() and build nicely on Solaris (you 
need to hack the makefile a bit as well).

Ben


--
http://bens.me.uk/


_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to