[Freeciv-Dev] Re: Passwd auth with MD5 hash
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, 21 Aug 2001, Bernd Jendrissek wrote:
> In article
> <Pine.LNX.4.04.10108210212560.20552-100000@xxxxxxxxxxxxxxxxxxxxxxx> Trent
> Piepho <xyzzy@xxxxxxxxxxxxx> wrote:
> >On Tue, 21 Aug 2001, Raimar Falke wrote:
> >> I don't see the md5 method.
> >
> >It was in the call to crypt(), except my crypt manpage says it uses a
> >variation of DES not md5. Is crypt() portable to non-UNIX systems though?
>
> IIRC glibc (note: *g*libc) crypt(3) has a feature where, if the first two
> chars of salt are "$1" or somesuch, the algorithm used is MD5.
>
> >The salt generation code looked like a mess to me. My manpage says salt is
> >just a two characters. There is no need to mess with it so much either, just
>
> Except when it starts with '$1' and you're using the GNU C library.
Looks like I could use a new manpage package. This seems pretty non-portable
though. I wonder if hashing the password is really necessary at all. After
all, the owner of the save game file can always change the password or hack
the server to not hash it, so it doesn't add any security.
- [Freeciv-Dev] Re: Passwd auth with MD5 hash, Bernd Jendrissek, 2001/08/21
- [Freeciv-Dev] Re: Passwd auth with MD5 hash,
Trent Piepho <=
- [Freeciv-Dev] Re: Passwd auth with MD5 hash, Reinier Post, 2001/08/21
- [Freeciv-Dev] Re: Passwd auth with MD5 hash, Auth Gábor, 2001/08/21
- [Freeciv-Dev] Re: Passwd auth with MD5 hash, Trent Piepho, 2001/08/21
- [Freeciv-Dev] Re: Passwd auth with MD5 hash, Erik Sigra, 2001/08/21
- [Freeciv-Dev] Re: Passwd auth with MD5 hash, Trent Piepho, 2001/08/21
- [Freeciv-Dev] Re: Passwd auth with MD5 hash, Erik Sigra, 2001/08/21
- [Freeciv-Dev] Re: Passwd auth with MD5 hash, Trent Piepho, 2001/08/21
- [Freeciv-Dev] Re: Passwd auth with MD5 hash, Erik Sigra, 2001/08/21
- [Freeciv-Dev] Re: Passwd auth with MD5 hash, Paul Zastoupil, 2001/08/24
[Freeciv-Dev] Re: Passwd auth with MD5 hash, Gaute B Strokkenes, 2001/08/21
|
|