Skip to main content

UONET+ (hebe) request signer for Python

pypi

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 .

Release files for uonet-request-signer-hebe 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uonet-request-signer-hebe 0.1.1
File Size Uploaded
uonet-request-signer-hebe-0.1.1.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uonet-request-signer-hebe 0.1.1
File Interpreter ABI Platform
uonet_request_signer_hebe-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / uonet-request-signer-hebe-0.1.1.tar.gz

Download URL uonet-request-signer-hebe-0.1.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7e2768a67a40b790973ec2dbc7e57cc2b242410fd620ee80ab1a6c60b0eff2a3
BLAKE2b-256 checksum
How to use checksums
314352a680a72330f049e4bc5f649c505b6f76d650cc41edfd53c990eea8cfa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.50.0 CPython/3.8.2

Release files / uonet_request_signer_hebe-0.1.1-py3-none-any.whl

Download URL uonet_request_signer_hebe-0.1.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31af4e6acaa5d312f28982d50298c06950c733180858c95d65ef51bd22846b53
BLAKE2b-256 checksum
How to use checksums
517baecff2826a178bf2cc00df6b11eda12a69c3009b0e30578094f47cee1e83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.50.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page