ska

Sign data using symmetric-key algorithm encryption. Validate signed data and identify possible validation errors. Uses sha-(1, 224, 256, 385 and 512)/hmac for signature encryption. Custom hash algorithms are allowed. Useful shortcut functions for signing (and validating) dictionaries and URLs.

Downloads
3K
Stars
42
Committers
2
ska - 1.10 Latest Release

Published by barseghyanartur about 1 year ago

  • Tested against Python 3.11.
  • Mark django-nine as optional dependency.
  • Drop support for Python < 3.7.
  • Drop support for Django < 3.2 and 4.0.
  • Tested against Django 4.1 and 4.2.
  • Upgrade relevant contrib code to support both django-constance >= 2.8.x and
    3.x.
ska - 1.9.1-2021-11-18

Published by barseghyanartur almost 3 years ago

  • Tested against Python 3.10.
ska - 1.9-2021-08-18

Published by barseghyanartur about 3 years ago

  • Add value_dumper to most of the functions/methods related to signature
    generation/validation. It's aimed to make signatures generated in languages
    better compatible with ska.
  • Add quoter to most of the functions/methods related to signature
    generation/validation. It's aimed to make signatures generated in languages
    better compatible with ska.
ska - 1.8.1-2021-06-10

Published by barseghyanartur over 3 years ago

  • Wipe out old flavour from code.
  • Blackify.
ska - 1.8-2021-06-10

Published by barseghyanartur over 3 years ago

Additions to the Django contrib app

  • Drop Python 2.7 and 3.5 support.
  • Tested against Django 2.2, 3.0, 3.1 and 3.2.
  • Tested against Python 3.8 and 3.9.
  • django-constance specific template tags have been moved to
    ska.contrib.django.ska.integration.constance_integration. Update your
    Django settings accordingly.
  • django-constance specific authentication backend has been moved to
    'ska.contrib.django.ska.backends.constance_backend.SkaAuthenticationConstanceBackend.
    Update your Django settings accordingly.
  • django-constance specific DRF permission
    classes (ConstanceSignedRequestRequired
    and ConstanceProviderSignedRequestRequired) have been moved to
    ska.contrib.django.ska.integration.drf.permissions.constance_permissions.
    Update your Django settings accordingly.
ska - 1.7.5-2019-05-15

Published by barseghyanartur over 3 years ago

  • Fixes in ska-sign-url on Python 3.5.
ska - 1.7.4-2019-05-12

Published by barseghyanartur over 5 years ago

Minor additions to the Django contrib app

  • Introduce SKA_CONSTANCE_SETTINGS_PARSE_FROM_JSON directive for
    parsing the data stored in django-constance (instead of treating it
    as dict). Default value is False.
ska - 1.7.3-2019-03-13

Published by barseghyanartur over 5 years ago

Fixes in the Django contrib app

  • Handle cases when request is not passed to the authentication backend.
ska - 1.7.2-2019-02-23

Published by barseghyanartur over 5 years ago

Additions to the Django contrib app

  • Added provider_sign_url template tag to the existing ska_tags template
    tags module.
  • Added a new ska_constance_tags template tags module (to be used in
    combination with django-constance).
ska - 1.7.1-2019-01-22

Published by barseghyanartur almost 6 years ago

2019-01-22

Additions to the Django contrib app

  • Added Django REST framework JWT token obtain view (for authentication).
  • Fixes in the authentication backend SkaAuthenticationConstanceBackend.
ska - 1.7-2018-12-28

Published by barseghyanartur almost 6 years ago

  • Additions to the Django contrib app. Added Django REST framework
    integration (for signing ViewSets).
ska - 1.6.12-2018-12-25

Published by barseghyanartur almost 6 years ago

  • Additions to the Django contrib app. Added additional callback
    USER_VALIDATE_CALLBACK to the authentication backends which is fired
    right after the signature validation to allow custom logic to the incoming
    authentication requests.
ska - 1.6.11-2018-12-20

Published by barseghyanartur almost 6 years ago

  • Additions to the Django contrib app mainly. Authentication backend has
    been made customisable. Most of the code is moved to the
    BaseSkaAuthenticationBackend. Introduced new authentication backend
    SkaAuthenticationConstanceBackend to be used in combination with
    django-constance.
ska - 1.6.10-2018-12-16

Published by barseghyanartur almost 6 years ago

  • Fixes in the callbacks import of the django contrib app.
  • Testing shell commands; minor fixes in tests.
ska - 1.6.9-2018-12-07

Published by barseghyanartur almost 6 years ago

  • Tested against Python 3.7.
  • Add initial migrations for Django contrib package.
Package Rankings
Top 8.87% on Pypi.org
Related Projects