matrix-blockstack-password-provider
Matrix Synapse Authentication Provider for Blockstack IDs and EOS account names
Installation
Use pip install matrix_blockstack_password_provider to install the package in your synapse environment
Configuration
In homeserver.yaml edit the password_provider section:
password_providers:
- module: "matrix_blockstack_password_provider.BlockstackPasswordProvider"
config:
enabled: true
endpoint: "https://core.blockstack.org"
The endpoint is optional and defaults to https://core.blockstack.org
Known Homeservers for Blockstack users
Client support for Blockstack
- Currently only OI Chat supports this type of authentication.
- Client apps need to write a file
mxid.jsoninto the root of their gaia bucket. The content is the challenge received from a home server auth endpoint. Then for authentication, the client needs to send the id address as username and as password a client app generated nonce that was used when requesting the challenge together with the app domain in the formatnonce + "|" + appDomain + "|" + blockstackId. Users can do this manually on a account management site.
Client support for EOS
- Currently only Diri Chat supports this type of authentication.
- Client apps need to sign the following message:
${account.name} would like to login using the ${account.authority} permission. Block ID: ${chainInfo.last_irreversible_block_num} ${chainInfo.last_irreversible_block_id.slice(-12).toUpperCase()}Then for authentication, the client needs to send the account name as username and as password a client app generated nonce that was used when requesting the challenge together with the message and signature in the formatnonce + "|" + message + "|" + signature.
Release files for matrix-blockstack-password-provider 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| matrix_blockstack_password_provider-0.7.0.tar.gz | 5.0 kB | Details |
Release files / matrix_blockstack_password_provider-0.7.0.tar.gz
| Download URL | matrix_blockstack_password_provider-0.7.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d7ee1fa9e0e2c39cbd9beddd4d7f52e5d4cae503e711ce3c0a74895f6edefb0
|
|
BLAKE2b-256 checksum How to use checksums |
31db22c75d94dbc1e4f00142f7e1ecdae6744093f8857472869668bc3b75f9fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.16
|