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 Kernel Packages, which is subscribed to linux 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 -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp