On 16/05/2024 18:03, Andreas Metzler via Exim-users wrote:
> On 2024-05-16 Slavko via Exim-users <exim-users@???> wrote:
> [...]
>> Anyway, would be great, if exim can use system's crypto library,
>> to support all system's password hash formats.
>
> crypteq should already do that.
Unfortunately it does not. There is specific code handling
{md5} / {sha1} / {crypt} / {crypt16} spotted in the already-crypted
(second) argument, deciding what sort of encryption to apply to
the cleartext (first) argument before comparison.
Calling a ${perl } expansion in an authenticator's server_condition option
(thanks, Kai!) sounds like the best bet. Looks like you need
both Crypt::Blocwfish and Crypt::CBC though.
--
Cheers,
Jeremy
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/