Skip to main content

Relock SDK makes it easy to talk to the server for passive auth using high-frequency key rotation.

Project description

Relock python SDK

Relock is a high-frequency cryptographic key rotation server that authenticates each individual request using ephemeral, transient, key. This enables digital platforms to implement true continuous passive authentication.

By leveraging rapid, per-request key changes, Relock ensures every interaction is independently verified, boosting security posture while maintaining a seamless user experience. Server is designed to scale effortlessly, making it ideal for use cases that require both high performance and uncompromised trust.

Minimal example

Run service:

docker pull relockid/server
docker run --privileged --network host \
       -it relock/server run \
       --host 127.0.0.1 --port 8111 \
       --multiprocessing

Flask:

python3 -m pip install relock

from relock import Flask as relock

GitHub repository

This repository contains ready-to-use, minimal implementation of the producer server and the consumer for test purpose of re:lock sentinel. This minimal implementation makes it easy to check how the system works in practice.

Links

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

relock-0.6.9.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

relock-0.6.9-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file relock-0.6.9.tar.gz.

File metadata

  • Download URL: relock-0.6.9.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for relock-0.6.9.tar.gz
Algorithm Hash digest
SHA256 3946a149df8227968cc4cce62e6d922c1b3d0e95cd985b6324f57f389f7a4669
MD5 6b7ad8418fe3480a8a02c77d8f45f59e
BLAKE2b-256 f914b6129efe7084e9305c566389c240659e3101d83011adb2439ccef3f09825

See more details on using hashes here.

File details

Details for the file relock-0.6.9-py3-none-any.whl.

File metadata

  • Download URL: relock-0.6.9-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for relock-0.6.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9020ec307343dec042d92c948e719e7cc37eaae8564d105a52cfd4523e6798a6
MD5 0059e4b8cc42a574a0dd10c172682a07
BLAKE2b-256 1d9da5251b7d1d6bb065f2fac1855fb8398dadc5afb76a24ae2b136bc478bda4

See more details on using hashes here.

Supported by

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