Skip to content

Commit f53224a

Browse files
authored
v0.4.1: Fix importing apr1 (#17)
1 parent b98edcf commit f53224a

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

pyproject.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

st2auth_flat_file_backend/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919

2020
__all__ = ["FlatFileAuthenticationBackend"]
2121

22-
__version__ = "0.4.0"
22+
__version__ = "0.4.1"

st2auth_flat_file_backend/flat_file.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
import bcrypt
1919
import base64
2020
import hashlib
21-
import apr1
2221
import crypt # deprecated in 3.11 and removed in 3.13.
2322
from hmac import compare_digest as compare_hash
2423

24+
from . import apr1
25+
2526
# Reference: https://httpd.apache.org/docs/2.4/misc/password_encryptions.html
2627
# https://akkadia.org/drepper/SHA-crypt.txt
2728

0 commit comments

Comments
 (0)