-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: cache DID documents (optional) (#105)
* chore: add `alg` to `produce_document` and `sign` * refactor: use `SecretManager::builder()`, configure DID document cache * feat: apply `did_document_cache` config to `SecretManager` * ci: allow manual Docker builds * ci: add TODO as reminder * chore: pass config for `es256` into `SecretManager` builder * chore(deps): bump `did_manager` * chore(deps): bump `did_manager` * build(deps): bump did_manager * fix: fix `Mutex<SecretManager>` * docs: add key types * docs: config options for DID document cache * test: fix verification test setup * build: move `identity_verification` to workspace level --------- Co-authored-by: Nander Stabel <[email protected]>
- Loading branch information
1 parent
e8ebbe8
commit 1823810
Showing
18 changed files
with
133 additions
and
80 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ edition = "2021" | |
rust-version = "1.76.0" | ||
|
||
[workspace.dependencies] | ||
did_manager = { git = "https://[email protected]/impierce/did-manager.git", rev = "2bda2b8" } | ||
did_manager = { git = "https://[email protected]/impierce/did-manager.git", tag = "v1.0.0-beta.2" } | ||
siopv2 = { git = "https://[email protected]/impierce/openid4vc.git", rev = "12fed14" } | ||
oid4vci = { git = "https://[email protected]/impierce/openid4vc.git", rev = "12fed14" } | ||
oid4vc-core = { git = "https://[email protected]/impierce/openid4vc.git", rev = "12fed14" } | ||
|
@@ -33,9 +33,10 @@ identity_credential = { version = "1.3", default-features = false, features = [ | |
"validator", | ||
"credential", | ||
"presentation", | ||
"domain-linkage" | ||
"domain-linkage", | ||
] } | ||
identity_iota = { version = "1.3" } | ||
identity_verification = { version = "1.3", default-features = false } | ||
jsonwebtoken = "9.3" | ||
lazy_static = "1.4" | ||
rstest = "0.19" | ||
|
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.