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.4.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for web3login-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f4bcb7fea3134448bffe6bd29a173a508ce8c4b16ca68387f3594e6adb3612f |
|
MD5 | 56725b06050d97f7532e19d221a5c69b |
|
BLAKE2b-256 | 57b091e34d7be82d0b30ef0a59a22cbaf89bfb353a1814ac69e26df1adc4c615 |