-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from walt-id/sd-jwt
feat: Sd jwt
- Loading branch information
Showing
128 changed files
with
5,061 additions
and
768 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Issuer" type="JetRunConfigurationType"> | ||
<option name="MAIN_CLASS_NAME" value="id.walt.issuer.MainKt" /> | ||
<module name="waltid-identity.waltid-issuer.main" /> | ||
<option name="PROGRAM_PARAMETERS" value="--webHost=0.0.0.0 --webPort=7000 --baseUrl=http://dev.local:7000" /> | ||
<shortenClasspath name="NONE" /> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> | ||
<configuration default="false" name="Issuer" type="JetRunConfigurationType"> | ||
<option name="MAIN_CLASS_NAME" value="id.walt.issuer.MainKt"/> | ||
<module name="waltid-identity.waltid-issuer.main"/> | ||
<option name="PROGRAM_PARAMETERS" value="--webHost=0.0.0.0 --webPort=7000 --baseUrl=http://dev.local:7000"/> | ||
<shortenClasspath name="NONE"/> | ||
<method v="2"> | ||
<option name="Make" enabled="true"/> | ||
</method> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Verifier" type="JetRunConfigurationType"> | ||
<option name="MAIN_CLASS_NAME" value="id.walt.verifier.MainKt" /> | ||
<module name="waltid-identity.waltid-verifier.main" /> | ||
<option name="PROGRAM_PARAMETERS" value="--webHost=0.0.0.0 --webPort=7001 --baseUrl=http://dev.local:7001" /> | ||
<shortenClasspath name="NONE" /> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> | ||
<configuration default="false" name="Verifier" type="JetRunConfigurationType"> | ||
<option name="MAIN_CLASS_NAME" value="id.walt.verifier.MainKt"/> | ||
<module name="waltid-identity.waltid-verifier.main"/> | ||
<option name="PROGRAM_PARAMETERS" value="--webHost=0.0.0.0 --webPort=7001 --baseUrl=http://dev.local:7001"/> | ||
<shortenClasspath name="NONE"/> | ||
<method v="2"> | ||
<option name="Make" enabled="true"/> | ||
</method> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
## Supported | ||
|
||
### Platforms available: | ||
|
||
- Java / JVM | ||
- JS / Node.js or WebCrypto | ||
- Native / libsodium & OpenSSL (todo) | ||
|
@@ -36,7 +37,9 @@ | |
| RSA | RS256 | | ||
|
||
### Compatibility matrix: | ||
|
||
#### JWS (recommended) | ||
|
||
| Algorithm | JVM provider | JS provider / platform | | ||
|:---------:|:------------:|:---------------------------:| | ||
| EdDSA | Nimbus JOSE | jose / Node.js | | ||
|
@@ -45,6 +48,7 @@ | |
| RS256 | Nimbus JOSE | jose / Node.js & Web Crypto | | ||
|
||
#### LD Signatures (happy to add upon request - [email protected]) | ||
|
||
| Suite | JVM provider | JS provider | | ||
|:---------------------------:|:------------------:|:-----------------:| | ||
| Ed25519Signature2018 | ld-signatures-java | | | ||
|
@@ -53,13 +57,13 @@ | |
| RsaSignature2018 | ld-signatures-java | | | ||
| JsonWebSignature2020 | ld-signatures-java | | | ||
|
||
|
||
|
||
## Docker container builds: | ||
|
||
```shell | ||
docker build -t waltid/issuer -f docker/issuer.Dockerfile . | ||
docker run -p 7000:7000 waltid/issuer --webHost=0.0.0.0 --webPort=7000 --baseUrl=http://localhost:7000 | ||
``` | ||
|
||
```shell | ||
docker build -t waltid/verifier -f docker/verifier.Dockerfile . | ||
docker run -p 7001:7001 waltid/verifier --webHost=0.0.0.0 --webPort=7001 --baseUrl=http://localhost:7001 | ||
|
@@ -68,9 +72,12 @@ docker run -p 7001:7001 waltid/verifier --webHost=0.0.0.0 --webPort=7001 --baseU | |
### Setup Vault | ||
|
||
#### Download | ||
|
||
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg | ||
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | ||
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo | ||
tee /etc/apt/sources.list.d/hashicorp.list | ||
sudo apt update && sudo apt install vault | ||
|
||
#### Run Vault in Dev mode | ||
|
||
vault server -dev -dev-root-token-id="dev-only-token" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.