[Bug 1349252] Re: crypt(3) lacks Blowfish support

Carlo Marcelo Arenas Belón 1349252 at bugs.launchpad.net
Thu Sep 9 19:36:22 UTC 2021


FWIW, in Ubuntu 20.04 a bcrypt hash generated with -B in the provided
htpasswd (that uses their own implementation), can be used by crypt(3):

  $ perl -e 'print crypt("cvspassword", "\$2y\$05\$xGcVN3jyU43rgH/jtc0mG.wMEYmvXBjdZtBc5R1jFYD83aaOTWiqa"), "\n"'
  $2y$05$xGcVN3jyU43rgH/jtc0mG.wMEYmvXBjdZtBc5R1jFYD83aaOTWiqa

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1349252

Title:
  crypt(3) lacks Blowfish support

Status in glibc package in Ubuntu:
  Won't Fix
Status in linux package in Ubuntu:
  Invalid

Bug description:
  crypt(3) bundled with Ubuntu's GNU C Library supports MD5, DES, SHA256
  and SHA512 hashing methods, but lacks support for Blowfish (aka
  bcrypt).

  There is a patch available from Openwall:
  http://www.openwall.com/crypt/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1349252/+subscriptions




More information about the foundations-bugs mailing list