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.
django-nine
as optional dependency.django-constance
>= 2.8.x and
3.x.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
.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
.Additions to the Django contrib app
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.Minor additions to the Django contrib app
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
.Fixes in the Django contrib app
request
is not passed to the authentication backend.Additions to the Django contrib app
provider_sign_url
template tag to the existing ska_tags
template
tags module.ska_constance_tags
template tags module (to be used in
combination with django-constance
).2019-01-22
Additions to the Django contrib app
SkaAuthenticationConstanceBackend
.