python-jose-TPM


Namepython-jose-TPM JSON
Version 0.1.1 PyPI version JSON
download
home_page
SummaryTPM based python JOSE implementation
upload_time2022-12-09 08:08:01
maintainer
docs_urlNone
authorHenry Gadacz
requires_python>=3.10
licenseMIT License
keywords tpm tss json jose jwe jws jwt pytss
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-jose-TPM

A JOSE implementation in Python that uses a TPM for crpytographic operations.

## General information

This package depends on the [tpm2-pytss](https://github.com/tpm2-software/tpm2-pytss) library. Go to https://tpm2-pytss.readthedocs.io/en/latest/install.html and look how to set it up.

## Installation 

```
$ pip install python-jose-TPM
```

## Usage

```python
from python_jose_TPM import jwe, jwt
```
## Supported Algorithms

For JWS the following signature algorithms (`alg` parameter values) are supported:
- RS256

For JWE the following content encryption key algorithms (`alg` parameter values) are supported: 
- DIR
- RSA1_5

For JWE the following content encryption algorithms (`enc` parameter values) are supported:
- A128CBC-HS256

More algorithms will be implemented in the future. 

## Thanks

This library is based on the work of [python-jose](https://github.com/mpdavis/python-jose) from Michael Davis.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "python-jose-TPM",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "TPM,TSS,JSON,JOSE,JWE,JWS,JWT,pytss",
    "author": "Henry Gadacz",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/de/5c/a45c0b3633238c0c98471c7aba8aa98d527531751919222968a0ab6f9cb2/python-jose-TPM-0.1.1.tar.gz",
    "platform": null,
    "description": "# python-jose-TPM\n\nA JOSE implementation in Python that uses a TPM for crpytographic operations.\n\n## General information\n\nThis package depends on the [tpm2-pytss](https://github.com/tpm2-software/tpm2-pytss) library. Go to https://tpm2-pytss.readthedocs.io/en/latest/install.html and look how to set it up.\n\n## Installation \n\n```\n$ pip install python-jose-TPM\n```\n\n## Usage\n\n```python\nfrom python_jose_TPM import jwe, jwt\n```\n## Supported Algorithms\n\nFor JWS the following signature algorithms (`alg` parameter values) are supported:\n- RS256\n\nFor JWE the following content encryption key algorithms (`alg` parameter values) are supported: \n- DIR\n- RSA1_5\n\nFor JWE the following content encryption algorithms (`enc` parameter values) are supported:\n- A128CBC-HS256\n\nMore algorithms will be implemented in the future. \n\n## Thanks\n\nThis library is based on the work of [python-jose](https://github.com/mpdavis/python-jose) from Michael Davis.\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "TPM based python JOSE implementation",
    "version": "0.1.1",
    "split_keywords": [
        "tpm",
        "tss",
        "json",
        "jose",
        "jwe",
        "jws",
        "jwt",
        "pytss"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "d662039aae957f7c8f393ea85d661dbc",
                "sha256": "f9461bad0bedf176aa332ef53cc07367e09eea4848ebd9ede3b57f4c8442273e"
            },
            "downloads": -1,
            "filename": "python_jose_TPM-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d662039aae957f7c8f393ea85d661dbc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 32590,
            "upload_time": "2022-12-09T08:07:58",
            "upload_time_iso_8601": "2022-12-09T08:07:58.454280Z",
            "url": "https://files.pythonhosted.org/packages/a3/1b/b5c71d9e35bb9601eb67e5cfe3257812122937a555e10f78eae5b4f65dac/python_jose_TPM-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "ddc3cf99eafe136cd2be199c781611d9",
                "sha256": "ce756fe37a87b0bc609b3914dfc104d802e7006db88fbfb652bb409b633421cf"
            },
            "downloads": -1,
            "filename": "python-jose-TPM-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ddc3cf99eafe136cd2be199c781611d9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 25693,
            "upload_time": "2022-12-09T08:08:01",
            "upload_time_iso_8601": "2022-12-09T08:08:01.897563Z",
            "url": "https://files.pythonhosted.org/packages/de/5c/a45c0b3633238c0c98471c7aba8aa98d527531751919222968a0ab6f9cb2/python-jose-TPM-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-09 08:08:01",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "python-jose-tpm"
}
        
Elapsed time: 0.03886s