408 Commits

Author SHA1 Message Date
Marco d'Itri
b3e5be673b Update the .mw server 2019-01-27 04:37:27 +01:00
Marco d'Itri
4723a2cc4c Debian changelog for 5.4.0 v5.4.0 2018-10-26 18:35:09 +02:00
Marco d'Itri
4d24d493ff mkpasswd: implement a generic way to provide the hash type 2018-10-14 03:41:14 +02:00
Marco d'Itri
80c36bb8e5 Update the .gp server 2018-10-14 03:19:48 +02:00
Marco d'Itri
f18cfbdfea debian/control: update the policy version 2018-10-14 03:19:48 +02:00
Marco d'Itri
88a7462301 mkpasswd: support the other hash types in libxcrypt
Among them scrypt and bcrypt.
2018-10-14 03:19:48 +02:00
Marco d'Itri
388d5757c4 mkpasswd: enable bcrypt if supported by the OS 2018-10-14 03:08:46 +02:00
Marco d'Itri
4362ef1fc4 mkpasswd: reorder the hash types
From the most secure to the less, accordingly to libxcrypt's crypt(5).
2018-10-14 02:33:13 +02:00
Marco d'Itri
b91c9057da mkpasswd: correctly print the available methods as columns 2018-10-14 01:14:09 +02:00
Marco d'Itri
b2ae96cf3f mkpasswd: adopt the John the Ripper naming of hash types
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-10-10 01:12:27 +02:00
Marco d'Itri
ae31f61a34 mkpasswd: include crypt.h on Solaris 2018-09-20 00:18:06 +02:00
Marco d'Itri
c12ad950fa config.h: fix the usage of __GLIBC__ vs. linux
gettext is a feature of the libc, while /dev/random is a feature of Linux.
2018-09-20 00:18:06 +02:00
Marco d'Itri
d4d7cd1096 mkpasswd: fix rounds support for bcrypt 2x and 2y 2018-09-20 00:18:06 +02:00
Marco d'Itri
22002f67be mkpasswd.1: clarify that --rounds without --method makes no sense
On old systems it will be ignored because descrypt does not support
changing the number of rounds, while on newer systems the default
method may change depending on the local configuration.
2018-09-20 00:18:06 +02:00
Marco d'Itri
3197cb7db4 mkpasswd: support letting crypt_gensalt decide the prefix
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-20 00:18:06 +02:00
Marco d'Itri
61f4e5d64c mkpasswd: simplify a check for errors
salt is a const char *, so we know that it cannot be modified as a side
effect.
2018-09-16 03:36:38 +02:00
Marco d'Itri
c1cb4b2ca0 mkpasswd: update the libowcrypt Makefile section
Distributions which have crypt_gensalt in libowcrypt now should define
a HAVE_LIBOWCRYPT=1 Makefile variable.
2018-09-16 03:36:38 +02:00
Marco d'Itri
44775cb342 mkpasswd: rename HAVE_XCRYPT to HAVE_XCRYPT_H 2018-09-16 03:36:38 +02:00
Marco d'Itri
7a325d277c mkpasswd: ifdef out the entropy gathering code on Solaris 2018-09-16 03:35:38 +02:00
Marco d'Itri
19e44ac2ec mkpasswd: let crypt_gensalt collect entropy by itself
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-16 03:35:38 +02:00
Marco d'Itri
8392fd349d mkpasswd: use perror with crypt and crypt_gensalt
Only some implementations of crypt(3) set errno on errors.
2018-09-12 02:26:55 +02:00
Marco d'Itri
5fc64b5eba mkpasswd: support the new libxcrypt 4.x 2018-09-12 02:26:55 +02:00
Marco d'Itri
71cf1ca7e1 Update the list of new gTLDs 2018-09-12 02:26:33 +02:00
Marco d'Itri
a884966cc8 Debian changelog for 5.3.2 v5.3.2 2018-07-15 12:40:31 +02:00
huguei
dd49cdeeb9 Update the charset for whois.nic.cl 2018-07-15 12:37:43 +02:00
Marco d'Itri
6f1cdfb960 Update the .au server 2018-07-15 12:13:27 +02:00
Marco d'Itri
bd4bd6e584 Update the .ie server 2018-07-15 12:13:11 +02:00
Marco d'Itri
d67739f043 Add the .ge server 2018-07-15 12:12:19 +02:00
Marco d'Itri
edd9112fd5 Update the list of new gTLDs 2018-07-11 16:19:59 +02:00
Marco d'Itri
fbeb327936 mkpasswd: update the copyright year 2018-05-25 01:44:38 +02:00
Marco d'Itri
4bf662069c Debian changelog for 5.3.0 v5.3.1 2018-05-22 15:34:07 +02:00
Marco d'Itri
fdd5a596b0 mkpasswd: support passwords of arbitrary length
Closes: #899254
2018-05-22 05:04:54 +02:00
Marco d'Itri
42f6fab4cf Fix a use after free in convert_in6arpa()
Looks like I forgot a free() call after changing the API.

Reported by Coverity Scan.
2018-05-22 04:33:34 +02:00
Marco d'Itri
51ff1b39f9 Add support for -bzh NIC handles 2018-05-22 02:22:04 +02:00
panaceya
ec211c2b33 Add support for -uanic NIC handles 2018-05-22 02:21:05 +02:00
Marco d'Itri
4613c51bcc New TLD servers: ls 2018-05-22 01:43:56 +02:00
Marco d'Itri
2d9d82afe9 Update the list of new gTLDs 2018-05-22 01:43:45 +02:00
Marco d'Itri
7735818026 include sys/time.h for select(2) on BSDs 2018-02-20 01:36:04 +01:00
Marco d'Itri
ba7218d902 Debian changelog for 5.3.0 v5.3.0 2018-01-21 01:24:06 +01:00
Marco d'Itri
9b0c29e271 Update the .pr TLD server 2018-01-21 01:21:51 +01:00
Marco d'Itri
2a746f4390 Update the list of new gTLDs 2018-01-21 01:21:35 +01:00
Marco d'Itri
488e445f53 Add the .in hiding string 2018-01-13 01:43:12 +01:00
Marco d'Itri
a9f59fdd52 Update the copyright years 2018-01-13 01:15:48 +01:00
Marco d'Itri
1f28a6ed25 Remove references to 6bone 2018-01-13 01:15:34 +01:00
Marco d'Itri
8a6ce04adb Implement querying ip6.arpa domains
The program will query the whois server of the appropriate RIR when
provided with an *.ip6.arpa IPv6 reverse DNS domain.
2018-01-13 01:14:27 +01:00
Marco d'Itri
cb0c7062ab Fix the formatting 2018-01-08 03:00:06 +01:00
Marco d'Itri
ac1d4125de Makefile: fix the afl invocation
DEFS must be set in the environment or else will override even DEFS+=...
statements in the Makefile.
2018-01-08 02:50:53 +01:00
Marco d'Itri
5d60bbe102 Abort the build if the old HAVE_LIBIDN variable is defined
To encourage maintainers to automatically detect libidn2 and hopefully
switch to it.
2018-01-08 02:15:53 +01:00
Marco d'Itri
0af8984ad7 Debian changelog for 5.2.20 v5.2.20 2017-12-27 03:26:25 +01:00
Marco d'Itri
2534108200 Update the .vn TLD server 2017-12-27 03:25:03 +01:00