Skip to main content

joserfc-wrapper is a library for easy use of JWT and automatic management of signature keys.

Project description

The joserfc-wrapper library simplifies the use of JWT and automates the management of signature keys.

Install

pip install joserfc-wrapper

Reason

The main purpose of this wrapper is to simplify the management of signature keys for generating JWT tokens using the joserfc library and adhering to RFC standards. It offers two options for managing signature keys: securely storing generated keys in HashiCorp Vault or storing them on the filesystem. Additionally, it facilitates the use of JWT tokens in projects.

Need a custom solution for storing keys? We've got you covered.

If necessary, a custom object can be created to manage signing keys, including storing them in a database. However, this custom class must be a subclass of the parent AbstractKeyStorage abstract class to implement the necessary methods.

Using a Virtual Environment for joserfc_wrapper

We recommend running joserfc_wrapper in a virtual environment for the following reasons:

  • Project Isolation: A virtual environment isolates this project's dependencies from the rest of your system. This allows you to work with specific library versions required for joserfc_wrapper without the risk of conflicts with other projects.

  • Virtual environments make it easy to manage and track project dependencies, which is crucial for ensuring reproducibility and consistency in development.

  • Using a virtual environment ensures seamless integration and deployment, guaranteeing consistent operation across all development and production environments.

To create a virtual environment for joserfc_wrapper, follow these steps:

python -m venv .venv
source .venv/bin/activate
pip install joserfc_wrapper

By following these guidelines, you can ensure a smooth and problem-free experience when working with joserfc_wrapper.

Documentation

License

joserfc (BSD-3)

joserfc_wrapper (MIT)

Contributions to the development of this library are welcome, ideally in the form of a pull request.

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

joserfc_wrapper-0.2.3.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

joserfc_wrapper-0.2.3-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file joserfc_wrapper-0.2.3.tar.gz.

File metadata

  • Download URL: joserfc_wrapper-0.2.3.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/5.15.0-92-generic

File hashes

Hashes for joserfc_wrapper-0.2.3.tar.gz
Algorithm Hash digest
SHA256 151d334ce665353268a622d754502e043e63bb79b069cc7ce76e44083fa6621e
MD5 62376bdd6698dfbb442ded5429e062af
BLAKE2b-256 6731732e9702ab3ee974280dcae7827e86a76ee166d87733b70d13406b29f585

See more details on using hashes here.

File details

Details for the file joserfc_wrapper-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: joserfc_wrapper-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/5.15.0-92-generic

File hashes

Hashes for joserfc_wrapper-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 183bd7cea8b72238bf4bfd7cf21909c082410ad6665e657a2583601e0522c4b9
MD5 8e47918b58a5d7584d232aa736b4cceb
BLAKE2b-256 c34c8fe9abd53271a41e460cd61a71a444f30fef0f5a10f4615c8621ed2a4963

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