Tooling that automates your Decentralized-Identifier interactions to process DID Auth and VC issuance with holder on Issuer & Verifier implemented in Python.
An identity is really just someone or something that can sign data or transactions and also receive signed data about itself.
An identity has:
-
An Identifier in the form of a Decentralized ID (DID)
-
A signing key
-
A public key stored on the mitum
$ python3 setup.py install
If setup.py doesn't work properly, please just install necessary packages with requirements.txt before running setup.py.
pip3 install --upgrade pip
pip3 install -r requirements.txt
[optional] If you have a sentry account, Create a new file (privates.py) in the src/configs if it does not exist.
#src/configs/privates.py
LOG = {
'sentryURL' : "https://{}@{}.ingest.sentry.io/{}",
}
You should change host to your domain.
src/config/samples.py
"issuer" :{
...
"host":"mitum.securekim.com", # change it
...
"verifier" :{
...
"host":"mitum.securekim.com", # change it
$ python3 src/issuer.py&
$ python3 src/verifier.py&
Auto update and refresh for issuer & verifier servers with crontab (everyday at 3AM)
$ crontab -e
...
0 3 * * * {Your directory}/did-endpoint/update.sh
Pre : Run Issuer & Verifier.
For Unit Testing with Local & Network :
$ pytest
For Client Testing with Issuer & Verifier :
$ python3 holder.py