UONET+ (hebe) request signer for Python
Project description
UONET+ (hebe) request signer for Python
Installation
$ pip install -U uonet-request-signer-hebe
Usage
Generate an RSA2048 key pair (private key and certificate):
from uonet_request_signer_hebe import generate_key_pair
certificate, fingerprint, private_key = generate_key_pair()
Sign request content:
from uonet_request_signer_hebe import get_signature_values
from datetime import datetime
digest, canonical_url, signature = get_signature_values(fingerprint, private_key, body, full_url, datetime.now())
Tests
$ python -m pytest .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for uonet-request-signer-hebe-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e2768a67a40b790973ec2dbc7e57cc2b242410fd620ee80ab1a6c60b0eff2a3 |
|
MD5 | d9b3ea7c9e8914d45a9c2880d4402c10 |
|
BLAKE2b-256 | 314352a680a72330f049e4bc5f649c505b6f76d650cc41edfd53c990eea8cfa8 |
Close
Hashes for uonet_request_signer_hebe-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31af4e6acaa5d312f28982d50298c06950c733180858c95d65ef51bd22846b53 |
|
MD5 | b65f09bcb3f1e0f4b7cc74cd24d8f1d3 |
|
BLAKE2b-256 | 517baecff2826a178bf2cc00df6b11eda12a69c3009b0e30578094f47cee1e83 |