Skip to content

Commit

Permalink
[INJICERT-434] add id field for making mimoto & inji verify work
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Vardhan <[email protected]>
  • Loading branch information
vharsh committed Nov 19, 2024
1 parent 1ed4aee commit 180b58e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker-compose/docker-compose-injistack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ docker-compose ps
docker logs [container_name]
```

## Hosting a public key in the form of a DID

1. Extract the certificate from the [Ceritfy Endpoint](http://localhost:8090/v1/certify/system-info/certificate?applicationId=CERTIFY_MOCK_ED25519&referenceId=ED25519_SIGN)
2. Use `openssl x509 -pubkey -noout -in filename.pem` to convert the certificate to a public key.
3. Convert the public key to a publicKeyMultibase as per the [spec](https://www.w3.org/community/reports/credentials/CG-FINAL-di-eddsa-2020-20220724/).

## Stopping the Application
To stop all services:
```bash
Expand All @@ -156,4 +162,4 @@ docker-compose down -v


## Additional Resources
- [Inji Documentation](https://docs.inji.io/)
- [Inji Documentation](https://docs.inji.io/)
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ mosip.certify.issuer.uri=did:web:vharsh.github.io:DID:harsh
mosip.certify.issuer.pub.key=did:web:vharsh.github.io:DID:harsh#key-0

mosip.certify.issuer=CertifyIssuer
mosip.certify.issuer.id.field.prefix.url=https://mosip.io/credential/
mosip.certify.integration.data-provider-plugin=MockCSVDataProviderPlugin
mosip.certify.issuer.vc-sign-algo=Ed25519Signature2020
## CSV specific config
Expand Down

0 comments on commit 180b58e

Please sign in to comment.