Article View: news.software.nntp
Article #90021Re: Modern encryption for INN's ckpasswd or equivalent options?
From: Russ Allbery
Date: Sat, 28 Jan 2023 19:23
Date: Sat, 28 Jan 2023 19:23
25 lines
1915 bytes
1915 bytes
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:
> Does anyone have an example perl_auth program I could reference that
> supports more modern encrypted storage of passwords?
> I have a small set of users and do not want to use PAM or system
> auth. The crypt implementation used by ckpasswd -f, is, well, extremely
> old.
ckpasswd -f just uses crypt, so it will use as modern of a password
hashing algorithm as your libc or libcrypt supports. Generally this is
configured by the prefix of the hashed password. For example, on Linux,
you can use hashes starting with $y$ to use yescrypt, which is about as
modern as you could possibly want.
This is therefore entirely up to how you set the passwords in the file
that you're pointing to with ckpasswd -f, which is a bit outside what INN
deals with. It's quite possible that htpasswd, for example, won't
generate one of the newer hash types.
--
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:
<87sffutqdx.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-mailReferences:
<tr3s1v$peb$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <87sffutqdx.fsf@hope.eyrie.org> Subject: Re: Modern encryption for INN's ckpasswd or equivalent options? Date: Sat, 28 Jan 2023 11:23:22 -0800 From: Russ Allbery <eagle@eyrie.org> References: <tr3s1v$peb$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:CeHwDTOvUvIv07J5/vLUJyKc0gY=