Re: Password Hash Validation (Posting On Python-List Prohibited)

Liste des GroupesRevenir à cl python 
Sujet : Re: Password Hash Validation (Posting On Python-List Prohibited)
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.python
Date : 21. Jun 2024, 04:40:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v52so6$3019v$2@dont-email.me>
References : 1 2
User-Agent : Pan/0.158 (Avdiivka; )
On Thu, 20 Jun 2024 14:49:16 -0700, Paul Rubin wrote:

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
However, one language that does seem able to keep up to date is Perl.
So here’s my current password validation function:...
        outhash = subprocess.check_output \
          (
            args = ("perl", "-e", "print crypt.... )
 
Ugh!  Better to re-implement the function in Python.

I want a wrapper for crypt(3) and friends, so I automatically support any
password hashes that the system implements, now or in the future. I don’t
want to have to worry about specific hash algorithms in my code.

passlib meant well, but I think it was over-engineered for this purpose.

I think I will create my own wrapper using ctypes.

Date Sujet#  Auteur
19 Jun 24 * Password Hash Validation (Posting On Python-List Prohibited)6Lawrence D'Oliveiro
20 Jun 24 +- Re: Password Hash Validation (Posting On Python-List Prohibited)1Lawrence D'Oliveiro
20 Jun 24 `* Re: Password Hash Validation (Posting On Python-List Prohibited)4Paul Rubin
21 Jun 24  `* Re: Password Hash Validation (Posting On Python-List Prohibited)3Lawrence D'Oliveiro
21 Jun 24   `* Re: Password Hash Validation (Posting On Python-List Prohibited)2Lawrence D'Oliveiro
12 Jul 24    `- Re: Password Hash Validation (Posting On Python-List Prohibited)1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal