Re: Security findings

Ian Collier via Mutt-dev <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On Sun, Apr 19, 2026 at 07:38:05PM +0200, Alejandro Colomar via Mutt-dev wrote:
> Hmmm, I think crypt prints the hex values as text.  That is, where
> mutt(1) would produce the value 0x1234, crypt would produce the string
> "1234" (more or less).

The crypt(3) function, after generating the hash, outputs it in B64 format,
which is very similar to base64 but confusingly the alphabet is in a different
order (and has dot where base64 has plus).  So yes, the output from crypt(3)
is guaranteed to be ASCII characters.

Ian Collier.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.