#
ebdedc24 |
| 22-Jan-2024 |
deraadt <deraadt@openbsd.org> |
make login.conf(5) and crypt_newhash(3) and the underlying code consistant regarding bcrypt,a instead of blowfish,a. "blowfish" is a historical alias which we don't need to document as firmly as "bc
make login.conf(5) and crypt_newhash(3) and the underlying code consistant regarding bcrypt,a instead of blowfish,a. "blowfish" is a historical alias which we don't need to document as firmly as "bcrypt". report about difficult manual page discovery from ataraxia937 ok millert
show more ...
|
#
f3415991 |
| 13-Sep-2015 |
guenther <guenther@openbsd.org> |
Wrap <pwd.h> so that calls go direct and the symbols are all weak. Hide bcrypt_autorounds(), prefixing with an underbar for static builds.
|
#
0e3c6306 |
| 12-Sep-2015 |
guenther <guenther@openbsd.org> |
Wrap <unistd.h> so that internal calls go direct and they're all weak symbols Delete unused 'fd' argument from internal function oldttyname()
|
#
0a19aba8 |
| 23-Jul-2015 |
tedu <tedu@openbsd.org> |
permit "bcrypt" as an alias for "blowfish". this is, after all, what 99% of the world calls it. allow just "bcrypt" without params to mean auto-tune ("bcrypt,a"). default remains 8 rounds (for now) o
permit "bcrypt" as an alias for "blowfish". this is, after all, what 99% of the world calls it. allow just "bcrypt" without params to mean auto-tune ("bcrypt,a"). default remains 8 rounds (for now) ok deraadt
show more ...
|
#
3d7603d5 |
| 24-Feb-2015 |
tedu <tedu@openbsd.org> |
Set errno to EINVAL, instead of letting ERANGE escape out. Printing strerror() in that case will say result too large, even if rounds is actually too small. invalid is less specific, but less incorre
Set errno to EINVAL, instead of letting ERANGE escape out. Printing strerror() in that case will say result too large, even if rounds is actually too small. invalid is less specific, but less incorrect. ok millert
show more ...
|
#
bf7196e8 |
| 15-Jan-2015 |
chl <chl@openbsd.org> |
remove unused variable
ok tedu@
|
#
e08a42f8 |
| 30-Dec-2014 |
tedu <tedu@openbsd.org> |
copy bcrypt autotune from encrypt(1) and expose via crypt_newhash ok deraadt miod
|
#
af808b3f |
| 24-Dec-2014 |
tedu <tedu@openbsd.org> |
simplify crypt_checkpass. The API promise is that this function doesn't use global data. The simplest fix is to only check blowfish passwords, and implicitly lock out DES passwords. crypt_checkpass i
simplify crypt_checkpass. The API promise is that this function doesn't use global data. The simplest fix is to only check blowfish passwords, and implicitly lock out DES passwords. crypt_checkpass is currently only used in one place, passwd, to verify the local user's password, so this is probably acceptable. Gives people a little more time to migrate away from DES before introduing checkpass into more places.
show more ...
|
#
b44bde11 |
| 24-Nov-2014 |
tedu <tedu@openbsd.org> |
check crypt() for null. noticed by Jonas Termansen
|
#
9f74fb3b |
| 21-Nov-2014 |
schwarze <schwarze@openbsd.org> |
Let crypt_checkpass() set EACCES after bcrypt_checkpass() failure; ok tedu@
|
#
817d1ee3 |
| 21-Nov-2014 |
tedu <tedu@openbsd.org> |
change prototype for crypt_newhash. the login_cap_t is a holdover from its pwd_gensalt origins, but a string argument works equally work and is more friendly to consumers beyond local user accounts.
change prototype for crypt_newhash. the login_cap_t is a holdover from its pwd_gensalt origins, but a string argument works equally work and is more friendly to consumers beyond local user accounts. ok deraadt
show more ...
|
#
dee4fe2a |
| 17-Nov-2014 |
tedu <tedu@openbsd.org> |
add new function crypt_newhash to simplify creating new hashes. does most of the work pwd_gensalt did, but also creates the hash. (unused yet)
|
#
05fedc11 |
| 12-May-2014 |
tedu <tedu@openbsd.org> |
remove md5crypt. while changing things, add a crypt_checkpass wrapper that handles most of the edge cases. (not quite ready for production, though.) ok deraadt
|