|
|
Message-ID: <20261112015223.GA242717@joooj.vinc17.net> Date: Thu, 12 Nov 2026 02:52:23 +0100 From: Vincent Lefevre <vincent@...c17.net> To: Alejandro Colomar <alx+linux-man@...nel.org> Cc: Alejandro Colomar <alx@...nel.org>, linux-man@...r.kernel.org, libc-alpha@...rceware.org, Walter Harms <wharms@....de>, Rich Felker <dalias@...c.org>, ~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 Hi, On 2026-11-10 01:01:19 +0100, Alejandro Colomar wrote: > $ MANWIDTH=64 diffman-git -U99 HEAD > --- HEAD^:man/man3/crypt.3 > +++ HEAD:man/man3/crypt.3 [...] > STANDARDS > crypt() > POSIX.1‐2008. [...] > NOTES > - Features in glibc > - The glibc version of this function supports additional > - hashing algorithms. > - > + salt > If salt is a character string starting with the characters > "$id$" followed by a string optionally terminated by "$", > then the result has the form: > > $id$salt$hashed [...] The "$" character is disallowed by POSIX (in 2008 and still in the current edition) in the salt argument: https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/crypt.html https://pubs.opengroup.org/onlinepubs/9799919799/functions/crypt.html (this breaks a "shall"). I think that something should be said about that. -- 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.