Metadata-Version: 2.4
Name: relock
Version: 0.6.9
Summary: Relock SDK makes it easy to talk to the server for passive auth using high-frequency key rotation.
Author-email: Marcin Sznyra <marcin@relock.id>
License: # PolyForm Strict License 1.0.0
        
        <https://polyformproject.org/licenses/strict/1.0.0>
        
        ## Parameters
        
        Licensor: re:lock B.V.
        
        Software: Active API Armour Developer Version. The software is copyright (c) 2023 of re:lock B.V.
        
        For information about alternative licensing arrangements for the software or its Production Version please contact contact@relock.id. 
        
        ## Acceptance
        
        In order to get any license under these terms, you must agree
        to them as both strict obligations and conditions to all
        your licenses.
        
        ## Copyright License
        
        The licensor grants you a copyright license for the software
        to do everything you might do with the software that would
        otherwise infringe the licensor's copyright in it for any
        permitted purpose, other than distributing the software or
        making changes or new works based on the software.
        
        ## Patent License
        
        The licensor grants you a patent license for the software that
        covers patent claims the licensor can license, or becomes able
        to license, that you would infringe by using the software.
        
        ## Noncommercial Purposes
        
        Any noncommercial purpose is a permitted purpose.
        
        ## Personal Uses
        
        Personal use for research, experiment, and testing for
        the benefit of public knowledge, personal study, private
        entertainment, hobby projects, amateur pursuits, or religious
        observance, without any anticipated commercial application,
        is use for a permitted purpose.
        
        ## Noncommercial Organizations
        
        Use by any charitable organization, educational institution,
        public research organization, public safety or health
        organization, environmental protection organization,
        or government institution is use for a permitted purpose
        regardless of the source of funding or obligations resulting
        from the funding.
        
        ## Fair Use
        
        You may have "fair use" rights for the software under the
        law. These terms do not limit them.
        
        ## No Other Rights
        
        These terms do not allow you to sublicense or transfer any of
        your licenses to anyone else, or prevent the licensor from
        granting licenses to anyone else.  These terms do not imply
        any other licenses.
        
        ## Patent Defense
        
        If you make any written claim that the software infringes or
        contributes to infringement of any patent, your patent license
        for the software granted under these terms ends immediately. If
        your company makes such a claim, your patent license ends
        immediately for work on behalf of your company.
        
        ## Violations
        
        The first time you are notified in writing that you have
        violated any of these terms, or done anything with the software
        not covered by your licenses, your licenses can nonetheless
        continue if you come into full compliance with these terms,
        and take practical steps to correct past violations, within
        32 days of receiving notice.  Otherwise, all your licenses
        end immediately.
        
        ## No Liability
        
        ***As far as the law allows, the software comes as is, without
        any warranty or condition, and the licensor will not be liable
        to you for any damages arising out of these terms or the use
        or nature of the software, under any kind of legal claim.***
        
        ## Definitions
        
        The **licensor** is the individual or entity offering these
        terms, and the **software** is the software the licensor makes
        available under these terms.
        
        **You** refers to the individual or entity agreeing to these
        terms.
        
        **Your company** is any legal entity, sole proprietorship,
        or other kind of organization that you work for, plus all
        organizations that have control over, are under the control of,
        or are under common control with that organization.  **Control**
        means ownership of substantially all the assets of an entity,
        or the power to direct its management and policies by vote,
        contract, or otherwise.  Control can be direct or indirect.
        
        **Your licenses** are all the licenses granted to you for the
        software under these terms.
        
        **Use** means anything you do with the software requiring one
        of your licenses.
        
        
Project-URL: homepage, https://github.com/relockid/python
Project-URL: repository, https://github.com/relockid/python
Project-URL: docker, https://hub.docker.com/r/relockid/server
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

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
-----

-   Docker: https://hub.docker.com/r/relockid
-   Documentation: https://docs.relock.id
-   Demo Source Code: https://github.com/relockid
-   Website: https://relock.security/
