🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90024

Re: Modern encryption for INN's ckpasswd or equivalent options?

#90024
From: Russ Allbery
Date: Sat, 28 Jan 2023 19:59
17 lines
1595 bytes
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:

> How can I tell what algorithms my library supports?

man 3 crypt should hopefully tell you what the available hash algorithms
are.  You'll need something that writes the password file, though (or use
passwd to set a password for a system user and then copy and paste the
hash from /etc/shadow, which I've done in a pinch).

https://man.freebsd.org/cgi/man.cgi?crypt(3) seems to imply nothing better
than SHA-512 is supported, which is a bit surprising.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87k016tops.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <tr3s1v$peb$1@nnrp.usenet.blueworldhosting.com> <87sffutqdx.fsf@hope.eyrie.org> <tr3tns$qg3$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Message-ID: <87k016tops.fsf@hope.eyrie.org>
Subject: Re: Modern encryption for INN's ckpasswd or equivalent options?
Date: Sat, 28 Jan 2023 11:59:27 -0800
From: Russ Allbery <eagle@eyrie.org>
References: <tr3s1v$peb$1@nnrp.usenet.blueworldhosting.com> <87sffutqdx.fsf@hope.eyrie.org> <tr3tns$qg3$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="18855"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:B2Lt30aM/Zk7PlNF+hbJFDfkIEI=