comparison roundup/password.py @ 7692:8fb42f41ef10 issue2550923_computed_property

merge in default branch to see if ti clears a travis-ci build error on 2.7 python; default branch builds fine
author John Rouillard <rouilj@ieee.org>
date Mon, 11 Sep 2023 00:10:29 -0400
parents a2ecc31c43ac
children 70a6ee453ddc
comparison
equal deleted inserted replaced
7528:14a8e11f3a87 7692:8fb42f41ef10
396 """ 396 """
397 397
398 deprecated_schemes = ["SSHA", "SHA", "MD5", "crypt", "plaintext"] 398 deprecated_schemes = ["SSHA", "SHA", "MD5", "crypt", "plaintext"]
399 experimental_schemes = ["PBKDF2S5"] 399 experimental_schemes = ["PBKDF2S5"]
400 known_schemes = ["PBKDF2"] + experimental_schemes + \ 400 known_schemes = ["PBKDF2"] + experimental_schemes + \
401 deprecated_schemes 401 deprecated_schemes
402 402
403 def __init__(self, plaintext=None, scheme=None, encrypted=None, 403 def __init__(self, plaintext=None, scheme=None, encrypted=None,
404 strict=False, config=None): 404 strict=False, config=None):
405 """Call setPassword if plaintext is not None.""" 405 """Call setPassword if plaintext is not None."""
406 if scheme is None: 406 if scheme is None:

Roundup Issue Tracker: http://roundup-tracker.org/