Saturday, 16 December 2023

Django HMAC Authentication 3.0.0 - Camellia Cipher support

 django-hmac-authentication package now supports Camellia cipher along with existing AES. User hmac secrets are secured with AES or Camellia 256 and chosen at random. To use feature just update package and run migrations.

pip install -U django-hmac-authentication

python manage.py migrate

version: 3.0.0

PyPi: https://pypi.org/project/django-hmac-authentication/

GitHub: https://github.com/harisankar-krishna-swamy/django_hmac_authentication


 

Friday, 25 August 2023

Django HMAC Authentication 2.0.0

 Checkout a new version of Django HMAC Authentication on Pypi and code on GitHub. Update includes namespaced settings from previous versions.

Built on Debian, KDE and CI/CD on GitLab

GitHub: https://github.com/harisankar-krishna-swamy/django_hmac_authentication

PyPi: https://pypi.org/project/django-hmac-authentication/

Sunday, 21 May 2023

Django HMAC Authentication

Checkout a Python package for Django HMAC authentication. Features include


1. Django model with HMAC shared encrypted secret


2. Authentication class HMACAuthentication


3. Requests timeout


4. Management command or a configured url to get key


5. Javascript and Python client examples


Check it out on


PyPI: https://pypi.org/project/django-hmac-authentication/


GitHub: https://github.com/harisankar-krishna-swamy

Tuesday, 11 April 2023

Django salted api tokens

Django token authentication with hashed, salted tokens

Django model with token id and token protected with hash and salt

Authentication class using protected api tokens.


Code @ Github: https://github.com/harisankar-krishna-swamy/django_salted_api_tokens

Pypi: https://pypi.org/project/django-salted-api-tokens/

 

Sunday, 19 March 2023

A Django Cacheable Model

 A cacheable model for django.

Features:

A generic way of creating cache keys from Django model fields

Retrieve django models from cache with field values (cache on the way if cache missed)

Retrieve all the model instances (suitable for small set of models)


GitHub: https://github.com/harisankar-krishna-swamy/django_cacheable_model

Pypi: https://pypi.org/project/django-cacheable-model/