Skip to content

andban/wsgidav-bcryptdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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']

About

A wsgidav domain controller that uses bcrypt hashes instead of plain text passwords

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages