Re: BSD-style MD5-based passwd (previous mail with wrong subject)
On Wed, 28 Mar 2001, Bodo Moeller wrote: > > What was wrong? > > The version in OpenSSL 0.9.6 incorrectly assumed that the magic string > was 4 bytes long (which is correct for the Apache variant ["apr1"], > but not for the original scheme ["1"]). I just tested the 0.9.6a-beta2, and the problem is solved! And the function to generate $1$...$ passwd is already included on the lib? -- Paulo Matos --- -- |Sys & Net Admin| Serviço de Informática | |Faculdade de Ciências e Tecnologia | Tel: +351-21-2941346 | |Universidade Nova de Lisboa| Fax: +351-21-2948548 | |P-2825-114 Caparica| e-Mail: [EMAIL PROTECTED] | --- -- __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: BSD-style MD5-based passwd (previous mail with wrong subject)
On Wed, Mar 28, 2001 at 11:48:31AM +, Paulo Matos wrote: > Changes between 0.9.7 and 0.9.6 (from CVS) > *) Fix 'openssl passwd -1'. > [Bodo Moeller] > > Changes between 0.9.6 and 0.9.5a > *) Add BSD-style MD5-based passwords to 'openssl passwd' (option '-1'). > [Bodo Moeller] > > What was wrong? The version in OpenSSL 0.9.6 incorrectly assumed that the magic string was 4 bytes long (which is correct for the Apache variant ["apr1"], but not for the original scheme ["1"]). -- Bodo Möller <[EMAIL PROTECTED]> PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html * TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt * Tel. +49-6151-16-6628, Fax +49-6151-16-6036 __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
BSD-style MD5-based passwd (previous mail with wrong subject)
Hi! Looking at the ChangeLog Changes between 0.9.7 and 0.9.6 (from CVS) *) Fix 'openssl passwd -1'. [Bodo Moeller] Changes between 0.9.6 and 0.9.5a *) Add BSD-style MD5-based passwords to 'openssl passwd' (option '-1'). [Bodo Moeller] What was wrong? in 'apps/passwd.c' (...) /* MD5-based password algorithm (should probably be available as a library * function; then the static buffer would not be acceptable). (...) */ static char *md5crypt(const char *passwd, const char *magic, const char *salt) Will 'md5crypt' be a lib function? Or is it already on 0.9.6a-beta2? -- Paulo Matos --- -- |Sys & Net Admin| Serviço de Informática | |Faculdade de Ciências e Tecnologia | Tel: +351-21-2941346 | |Universidade Nova de Lisboa| Fax: +351-21-2948548 | |P-2825-114 Caparica| e-Mail: [EMAIL PROTECTED] | --- -- __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]