-/* $OpenBSD: cryptutil.c,v 1.12 2015/09/13 15:33:48 guenther Exp $ */
+/* $OpenBSD: cryptutil.c,v 1.13 2024/01/22 19:26:55 deraadt Exp $ */
/*
* Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
*
crypt_newhash(const char *pass, const char *pref, char *hash, size_t hashlen)
{
int rv = -1;
- const char *defaultpref = "blowfish,8";
+ const char *defaultpref = "bcrypt,8";
const char *errstr;
const char *choices[] = { "blowfish", "bcrypt" };
size_t maxchoice = sizeof(choices) / sizeof(choices[0]);
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: login.conf.5,v 1.71 2023/12/29 11:57:38 claudio Exp $
+.\" $OpenBSD: login.conf.5,v 1.72 2024/01/22 19:26:55 deraadt Exp $
.\" BSDI $From: login.conf.5,v 2.20 2000/06/26 14:50:38 prb Exp $
.\"
-.Dd $Mdocdate: December 29 2023 $
+.Dd $Mdocdate: January 22 2024 $
.Dt LOGIN.CONF 5
.Os
.Sh NAME
.Ql =
to separate the capability from the value.
The types are described after the capability table.
-.Bl -column "approve-service" "program" "blowfish,8" "Description"
+.Bl -column "approve-service" "program" "bcrypt,8" "Description"
.It Sy Name Ta Sy Type Ta Sy Default Ta Sy Description
.\"
.It approve Ta program Ta "" Ta
.Xr login 1 .
.\"
.Pp
-.It localcipher Ta string Ta blowfish,a Ta
+.It localcipher Ta string Ta bcrypt,a Ta
The cipher to use for encrypting passwords.
Refer to
.Xr crypt_newhash 3