Skip to main content

Supports deobfuscating LDAP passwords contained in (System Security Services Daemon) sssd.conf files.

Project description

Python SSSD LDAP Auth

pre-commit test

A Python package which supports deobfuscating LDAP passwords contained in (System Security Services Daemon) sssd.conf files.

Inspiration

Features

  • Type Hints / Editor Completion
  • Readable
  • Fully Tested
  • Python 3.6 - 3.10 Support

Install

$ pip install sssdldapauth

Usage

from sssdldapauth import deobfuscate

password = deobfuscate("<obfuscated_password>")

Development

Required Software

Refer to the links provided below to install these development dependencies:

Getting Started

Setup

$ <runtimes.txt xargs -n 1 pyenv install -s
$ direnv allow
$ pip install -r requirements/dev.txt
$ pre-commit install
$ pip install -e .

Tests

Run the test suite against the active python environment.

$ pytest

Run the test suite against the active python environment and watch the codebase for any changes.

$ ptw

Run the test suite against all supported python versions.

$ tox

Publishing

Create

  1. Update the version number in sssdldapauth/__init__.py.

  2. Add an entry in HISTORY.md.

  3. Commit the changes, tag the commit, and push the tags:

    $ git commit -am "v<major>.<minor>.<patch>"
    $ git tag v<major>.<minor>.<patch>
    $ git push origin main --tags
    
  4. Convert the tag to a release in GitHub with the history entry as the description.

Build

$ python -m build

Upload

$ twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sssdldapauth-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

sssdldapauth-0.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file sssdldapauth-0.0.1.tar.gz.

File metadata

  • Download URL: sssdldapauth-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15

File hashes

Hashes for sssdldapauth-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2cb6be5bbad6bc323ef6aa123ee37df58cdbc3793ef3b1fc9bc55880c5f4310f
MD5 6f2d1361b8002e8754c6634168b02c57
BLAKE2b-256 2d8a272937347d498a25cb1a521da52b6d8647ffc196ef7e6e971263ea85df12

See more details on using hashes here.

File details

Details for the file sssdldapauth-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sssdldapauth-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15

File hashes

Hashes for sssdldapauth-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f0444e318072e74d26408829d8e772e7fc8926cdce83a80757cda190d21125e
MD5 dee68fd139a46bd8fee0b5eefb4f69ec
BLAKE2b-256 389697c473bd003afd83640a2022570f12ab9a060ee0c00cf23af6697cac7501

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page