Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #177501

Re: Tool to crypt a password

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Tool to crypt a password
Date 2017-02-06 22:00 +0100
Message-ID <t7Yyd-1xb-13@gated-at.bofh.it> (permalink)
References <t7UkV-7hD-1@gated-at.bofh.it> <t7UuC-7le-15@gated-at.bofh.it> <t7UEi-7p1-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Feb 06, 2017 at 05:43:32PM +0100, Nicolas George wrote:
> L'octidi 18 pluviôse, an CCXXV, Greg Wooledge a écrit :
> > I wrote this many years ago.  It's primitive, but may suit:
> > 
> > http://wooledge.org/~greg/crypt/
> 
> Indeed. Unfortunately, it suffers from a limitation similar to the one
> of htpasswd: it only supports 3DES, the oldest and weakest hashing
> algorithm.

My version of htpasswd (apache2-utils 2.4.10-10+deb8u7) supports
MD5 (-m), bcrypt (-B, with settable computing cost, -C), crypt (-d),
SHA (-s), and plaintext (-p, duh :-D

Default is MD5.

AFAIR it prefixes the passwords with the method, so they can be mixed
and matched in one file.

So perhaps it is what you are looking for.

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAliY4qoACgkQBcgs9XrR2kbl/ACeLvkB8Nr19jqTuTgStwuQZXFU
WJIAnjYZELhrBAfpQefPU/D8EG5vhUjb
=Z7ZM
-----END PGP SIGNATURE-----

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Tool to crypt a password Nicolas George <george@nsup.org> - 2017-02-06 17:30 +0100
  Re: Tool to crypt a password Greg Wooledge <wooledg@eeg.ccf.org> - 2017-02-06 17:40 +0100
    Re: Tool to crypt a password Nicolas George <george@nsup.org> - 2017-02-06 17:50 +0100
      Re: Tool to crypt a password Teemu Likonen <tlikonen@iki.fi> - 2017-02-06 18:40 +0100
        Re: Tool to crypt a password Nicolas George <george@nsup.org> - 2017-02-06 19:50 +0100
          Re: Tool to crypt a password Teemu Likonen <tlikonen@iki.fi> - 2017-02-07 07:00 +0100
      Re: Tool to crypt a password <tomas@tuxteam.de> - 2017-02-06 22:00 +0100

csiph-web