Edgewall Software

Opened 7 years ago

Last modified 7 years ago

#12669 closed defect

Replace use of deprecated encrypt method from passlib library — at Version 2

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.2.1
Component: general Version:
Severity: normal Keywords: passlib windows
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

I noticed the following in the AppVeyor builds:

C:\projects\trac\trac\util\compat.py:36: DeprecationWarning: the method passlib.handlers.des_crypt.des_crypt.encrypt() is deprecated as of Passlib 1.7, and will be removed in Passlib 2.0, use .hash() instead.
  return des_crypt.encrypt(secret, salt=salt)

PasswordHash.encrypt() was renamed to PasswordHash.hash() in release 1.7 (Nov 2016).

Change History (2)

comment:1 by Ryan J Ollos, 7 years ago

Owner: set to Ryan J Ollos
Status: newassigned

comment:2 by Ryan J Ollos, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.