This folder contains a Streamlit app for verifying offline certificate credentials using did:key and Ed25519 signatures.
- Install dependencies:
python3 -m pip install -r requirements.txt
- Create a Streamlit secrets file for local runs (optional but recommended if you want to restrict trusted issuers):
Streamlit will also read the same value from
mkdir -p .streamlit cat > .streamlit/secrets.toml <<'EOF' [general] VERIFIER_ALLOWED_ISSUERS = "did:key:YOUR_ISSUER_DID_1, did:key:YOUR_ISSUER_DID_2" EOF
/home/codespace/.streamlit/secrets.tomlor from the environment variableVERIFIER_ALLOWED_ISSUERS. - Start the app:
streamlit run app.py
The app accepts a JSON credential bundle containing:
certificateissuer_didsignature_hex
It verifies the signature entirely offline using the public key derived from the issuer's did:key identifier.