Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-10-14 | mkpasswd: implement a generic way to provide the hash type | Marco d'Itri | 1 | -0/+11 | |
2018-10-14 | mkpasswd: support the other hash types in libxcrypt | Marco d'Itri | 1 | -2/+17 | |
Among them scrypt and bcrypt. | |||||
2018-10-14 | mkpasswd: reorder the hash types | Marco d'Itri | 1 | -10/+10 | |
From the most secure to the less, accordingly to libxcrypt's crypt(5). | |||||
2018-10-14 | mkpasswd: correctly print the available methods as columns | Marco d'Itri | 1 | -1/+1 | |
2018-10-10 | mkpasswd: adopt the John the Ripper naming of hash types | Marco d'Itri | 1 | -15/+15 | |
And add hidden compatibility aliases for the old ones. (Except than the bcrypt variants, since there is no proof that anybody ever used this program for them.) See https://github.com/besser82/libxcrypt/pull/26 for more information. | |||||
2018-09-20 | mkpasswd: include crypt.h on Solaris | Marco d'Itri | 1 | -1/+1 | |
2018-09-20 | mkpasswd: fix rounds support for bcrypt 2x and 2y | Marco d'Itri | 1 | -8/+8 | |
2018-09-20 | mkpasswd: support letting crypt_gensalt decide the prefix | Marco d'Itri | 1 | -3/+10 | |
If crypt_gensalt (as implemented by Solaris and modern versions of libxcrypt) is passed a NULL prefix then it will decide by itself which algorithm should be used by default. | |||||
2018-09-16 | mkpasswd: simplify a check for errors | Marco d'Itri | 1 | -3/+1 | |
salt is a const char *, so we know that it cannot be modified as a side effect. | |||||
2018-09-16 | mkpasswd: update the libowcrypt Makefile section | Marco d'Itri | 1 | -1/+0 | |
Distributions which have crypt_gensalt in libowcrypt now should define a HAVE_LIBOWCRYPT=1 Makefile variable. | |||||
2018-09-16 | mkpasswd: rename HAVE_XCRYPT to HAVE_XCRYPT_H | Marco d'Itri | 1 | -1/+1 | |
2018-09-16 | mkpasswd: ifdef out the entropy gathering code on Solaris | Marco d'Itri | 1 | -0/+6 | |
2018-09-16 | mkpasswd: let crypt_gensalt collect entropy by itself | Marco d'Itri | 1 | -3/+16 | |
Let crypt_gensalt(3) collect entropy by itself instead of having mkpasswd provide it. This is supported by the libxcrypt implementation of crypt_gensalt(3). | |||||
2018-09-12 | mkpasswd: use perror with crypt and crypt_gensalt | Marco d'Itri | 1 | -5/+8 | |
Only some implementations of crypt(3) set errno on errors. | |||||
2018-05-25 | mkpasswd: update the copyright year | Marco d'Itri | 1 | -1/+1 | |
2018-05-22 | mkpasswd: support passwords of arbitrary length | Marco d'Itri | 1 | -8/+31 | |
Closes: #899254 | |||||
2018-01-13 | Update the copyright years | Marco d'Itri | 1 | -1/+1 | |
2017-12-27 | Remove unused variables in get_random_bytes() | Petr Písař | 1 | -4/+4 | |
If getentropy() is available, GCC warns about unsused variables: mkpasswd.c: In function ‘get_random_bytes’: mkpasswd.c:369:13: warning: unused variable ‘bytes_read’ [-Wunused-variable] ssize_t bytes_read; ^~~~~~~~~~ mkpasswd.c:368:9: warning: unused variable ‘fd’ [-Wunused-variable] int fd; ^~ This patch fixes it. | |||||
2017-12-10 | mkpasswd: use getentropy(2) on recent Linux | Marco d'Itri | 1 | -3/+6 | |
2017-12-10 | mkpasswd: refactoring | Marco d'Itri | 1 | -9/+6 | |
2017-08-22 | fix FSF address in mkpasswd.c | Andreas Stieger | 1 | -3/+3 | |
2017-02-26 | Annotate more functions with NORETURN | Marco d'Itri | 1 | -2/+2 | |
Contributed by Sami Kerola. Closes #48 from Github. | |||||
2017-02-26 | Fix minor compiler warnings | Marco d'Itri | 1 | -2/+3 | |
Fix a lot of minor compiler warnings with no practical effect. Contributed by Sami Kerola. | |||||
2017-02-26 | BSD portability fixes | Marco d'Itri | 1 | -0/+1 | |
2017-02-26 | mkpasswd: fix compile time error with HAVE_ARC4RANDOM_BUF | Marco d'Itri | 1 | -1/+1 | |
Patch from MacPorts. | |||||
2016-03-28 | mkpasswd: define _DEFAULT_SOURCE | Marco d'Itri | 1 | -0/+1 | |
Since glibc 2.20 it replaces the deprecated _BSD_SOURCE macro. | |||||
2015-03-23 | mkpasswd: exit if crypt_gensalt on Solaris fails | Marco d'Itri | 1 | -1/+3 | |
2014-12-26 | mkpasswd: use arc4random_buf where available | Marco d'Itri | 1 | -4/+11 | |
2014-12-26 | mkpasswd: support OpenBSD's new hash 2b | Marco d'Itri | 1 | -0/+6 | |
2014-09-13 | mkpasswd: fix a memory leak | Marco d'Itri | 1 | -0/+1 | |
2014-09-13 | mkpasswd: correctly report read(2) failures | Marco d'Itri | 1 | -6/+8 | |
They would always be reported as a short read. | |||||
2014-09-13 | mkpasswd: the number of random bytes is unsigned | Marco d'Itri | 1 | -2/+2 | |
2014-05-02 | Port mkpasswd to Solaris/Dyson | Igor Pashev | 1 | -4/+4 | |
2014-02-07 | Extract the version number from the changelog | Marco d'Itri | 1 | -0/+1 | |
2014-02-06 | mkpasswd: fix an underflow in the parser for -R | Marco d'Itri | 1 | -2/+5 | |
Reported by mahkoh on github: https://github.com/rfc1036/whois/issues/12 | |||||
2013-04-10 | Handle --help as success for mkpasswd too | Marco d'Itri | 1 | -7/+7 | |
2013-03-30 | Imported Debian version 5.0.12v5.0.12 | Marco d'Itri | 1 | -28/+28 | |
2013-03-30 | Imported Debian version 5.0.1v5.0.1 | Marco d'Itri | 1 | -1/+5 | |
2013-03-30 | Imported Debian version 4.7.35v4.7.35 | Marco d'Itri | 1 | -8/+18 | |
2013-03-30 | Imported Debian version 4.7.33v4.7.33 | Marco d'Itri | 1 | -39/+83 | |
2013-03-30 | Imported Debian version 4.7.29v4.7.29 | Marco d'Itri | 1 | -1/+5 | |
2013-03-30 | Imported Debian version 4.7.27v4.7.27 | Marco d'Itri | 1 | -2/+1 | |
2013-03-30 | Imported Debian version 4.7.26v4.7.26 | Marco d'Itri | 1 | -88/+88 | |
2013-03-30 | Imported Debian version 4.7.25v4.7.25 | Marco d'Itri | 1 | -56/+164 | |
2013-03-30 | Imported Debian version 4.7.7v4.7.7 | Marco d'Itri | 1 | -6/+29 | |
2013-03-30 | Imported Debian version 4.7.6v4.7.6 | Marco d'Itri | 1 | -2/+2 | |
2013-03-30 | Imported Debian version 4.6.25v4.6.25 | Marco d'Itri | 1 | -3/+4 | |
2013-03-30 | Imported Debian version 4.6.3v4.6.3 | Marco d'Itri | 1 | -1/+1 | |
2013-03-30 | Imported Debian version 4.5.29v4.5.29 | Marco d'Itri | 1 | -5/+3 | |
2013-03-30 | Imported Debian version 4.5.28v4.5.28 | Marco d'Itri | 1 | -1/+1 | |