Edit

IABSD.fr/ports/security/py-passlib/patches

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2025-03-25 17:32:48
    Hash : 954e3089
    Message : update to py3-passlib-1.8.2, this moves to the maintained fork at https://github.com/ThirVondukr/passlib (the pypi module is named "libpass", but it installs under site-packages/passlib so imports use the same namespace). works for kirill@ with mitmproxy

  • patch-passlib_hosts_py
  • Index: passlib/hosts.py
    --- passlib/hosts.py.orig
    +++ passlib/hosts.py
    @@ -33,14 +33,15 @@ linux_context = linux2_context = LazyCryptContext(
     # referencing source via -http://fxr.googlebit.com
     # freebsd 6,7,8 - des, md5, bcrypt, bsd_nthash
     # netbsd - des, ext, md5, bcrypt, sha1
    -# openbsd - des, ext, md5, bcrypt
    +# openbsd 5.9+ - bcrypt (no $2$; accepts $2a$, native $2b$)
    +# older openbsd - des, ext, md5, bcrypt
     
     freebsd_context = LazyCryptContext(
         ["bcrypt", "md5_crypt", "bsd_nthash", "des_crypt", "unix_disabled"]
     )
     
     openbsd_context = LazyCryptContext(
    -    ["bcrypt", "md5_crypt", "bsdi_crypt", "des_crypt", "unix_disabled"]
    +    ["bcrypt", "unix_disabled"]
     )
     
     netbsd_context = LazyCryptContext(