Commit 76a17fb
Logging for prover role (#928)
* Add Bootstrap script to store a credential in the vc-auth agent
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
* Initial setup for testing and logging verifying vc-auth
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
* Static Schema Name In Bootstrap
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
* Split Issuer into a seperate docker compose file
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
* update changes to work with separate compose approach
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
* Schema is still dynamic but now with a static starting string
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
* Added prover role logging tests
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
* Add documentation for prover role
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
* Enhance mutual authentication flow and Docker configuration
- Updated Docker Compose configuration to use a new image for the issuer agent.
- Refactored logging and methods in `bootstrap-trusted-verifier.py` to implement a mutual authentication pattern between the issuer and VC-AuthN.
- Added comprehensive logging for each phase of the mutual authentication process.
- Enhanced error handling and cleanup verification for presentation records.
- Removed deprecated test logic related to prover role, focusing on the new mutual authentication approach.
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
* Enhance webhook handling for presentation records
- Update `post_topic` to delete presentation records for terminal states: "done", "abandoned", and "declined".
- Implement error handling for deletion failures, logging appropriate messages for both failure cases and exceptions.
- Add unit tests to verify deletion behavior for different states and ensure graceful handling of delete errors.
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
* Update Docker configuration and enhance cleanup verification
- Handle CONTROLLER_API_KEY being empty an empty string in the env file
- Changed issuer-aca-py Docker image to `ghcr.io/openwallet-foundation/acapy-agent:py3.12-1.4.0`.
- Removed the `ACAPY_AUTO_RESPOND_PRESENTATION_REQUEST` environment variable from the Docker configuration. Not needed for the issuer
- Improved the `configureEnvironment` function in the manage script to use better condition checks for environment variables.
- Added a new function `get_verifier_pres_ex_id` to retrieve the presentation exchange ID for the prover role in bootstrap script
- Updated the prover role test to check if the VC-AuthN presentation cleanup is successful and log appropriate messages.
- Enhanced error handling in cleanup verification process.
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
---------
Signed-off-by: Gavin Jaeger-Freeborn <gavinfreeborn@gmail.com>
Co-authored-by: Emiliano Suñé <emiliano.sune@gmail.com>1 parent 3a25ba0 commit 76a17fb
File tree
7 files changed
+1432
-4
lines changed- docker
- docs
- oidc-controller/api/routers
- tests
- scripts
7 files changed
+1432
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
108 | 127 | | |
109 | 128 | | |
110 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
0 commit comments