Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 23 Jun 2014 18:33:39 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Recommended way to probe for bcrypt support?

On Mon, Jun 23, 2014 at 02:53:58PM -0700, Isaac Dunham wrote:
> I'm wondering if there's a recommended way to probe for bcrypt support;
> it would be nice to add this to toybox so mkpasswd could use blowfish on
> musl or OWL systems.

The best way to do this is with runtime detection: simply attempt to
use crypt or crypt_r with a setting string that requests bcrypt and
see if it works.

Rich

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.