Moonstream: Open source Web3 authorization library
Project description
web3login python
Open source Web3 authorization Python library.
CLI
Generate the signature
web3login authorize \
--application "<your_application_name_or_any_string>" \
--deadline "<unix_timestamp_until_signature_will_be_active>" \
--signer .secrets/keyfile -p "${KEYFILE_PASSWORD}" | base64 -w 0
Output base64 string could be passed as Authorization
header or verified with CLI.
Verify the signature
web3login verify \
--application "<your_application_name_or_any_string>" \
--payload "${GENERATED_BASE64_SIGNATURE}"
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
web3login-0.0.5.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for web3login-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91ee9588ec536638fcf07650d375d41e013610b31524c5b2d4a54f4a991df955 |
|
MD5 | 0690d86d796e528896e56df7bd68ddeb |
|
BLAKE2b-256 | ab2069a607729bef53550377f8ac7391a03587698342617fe9ddf425c97c7c32 |