A simple domain controller that stores passwords as bcrypt hashes.
Project description
wsgidav-bcryptdc
An implementation of the wsgidav simple-dc that uses bcrypt hashes instead of plain text passwords.
Installation
Install bcrypt dependency (requires rust to be present, if i'm not mistaken)
$ pip install wsgidav-bcryptdc
Configuration
Configuration is basically the same as for the simple-dc, with the exception that it uses the bcrypt_dc
config key, and a password_hash
property is used instead of password
.
# NOTE: only HTTP basic auth is supported, make sure your communication to the wsgidav service is using SSL encryption
http_authenticator:
domain_controller: wsgidavbcryptdc.SimpleBcryptDomainController
accept_basic: true
accept_digest: false
default_to_digest: false
bcrypt_dc:
user_mapping:
'*': # default user mapping for all shares
'username':
password_hash: '$2y$05$u5fxm.Fb0sW64j6bFLFoKuTki0/ZSymNSlEBFR03SHngCZBA56XIS' # bcrypt hash for 'top-secret'
roles: ['admin']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wsgidav-bcryptdc-0.1.0.tar.gz
.
File metadata
- Download URL: wsgidav-bcryptdc-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1f61f8cfb75a8504a0988b133424aa0e6d141ae2ad474be4ea676b572463cd2 |
|
MD5 | 12292c69740f021d5d67bb015f0275e4 |
|
BLAKE2b-256 | 85564d7fcfb39235c32e30b320518bea96f7bc1381cc047ddfac3cc8bdd1e299 |
File details
Details for the file wsgidav_bcryptdc-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: wsgidav_bcryptdc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 997f72c2c7cda8a5c044f389f64c449f277f6a4881177d5ff950328f5534add6 |
|
MD5 | 173e1f40dc8ec187e863117e33b33568 |
|
BLAKE2b-256 | a34f8deb12e00c172f2ca7ff961162e86bea3298bc1318deda7d6c139dc2e01f |