Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20261112032929.GB160897@qaa.vinc17.org>
Date: Thu, 12 Nov 2026 04:29:29 +0100
From: Vincent Lefevre <vincent@...c17.net>
To: Rich Felker <dalias@...c.org>
Cc: Alejandro Colomar <alx+linux-man@...nel.org>,
	Alejandro Colomar <alx@...nel.org>, linux-man@...r.kernel.org,
	libc-alpha@...rceware.org, Walter Harms <wharms@....de>,
	~hallyn/shadow@...ts.sr.ht, musl@...ts.openwall.com
Subject: Re: [PATCH v1] man/man3/crypt.3: These functions accept many
 algorithms, not only DES

On 2026-11-11 21:53:39 -0500, Rich Felker wrote:
> That's the whole reason '$' was chosen: POSIX doesn't define the
> behavior (since a "shall" is violated) so the implementation is free
> to define a behavior here. The behaviors for the portable base64
> character set documented in POSIX uses only 2 characters as salt
> (insufficient) and the common agreed-upon definition for how they are
> used is as salt for the classic DES-based password hash.

But the behavior is completely out of scope of POSIX.

-- 
Vincent Lefèvre <vincent@...c17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.