You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(core): support configurable proof format for anoncreds (#904)
* feat(core): support configurable proof format for anoncreds
Signed-off-by: Yuki I <[email protected]>
* test(core): isolate tests to prevent pollution and improve logging
Signed-off-by: Yuki I <[email protected]>
* refactor(core): add config validation and improve proof format fallback
Signed-off-by: Yuki I <[email protected]>
* fix(build): align proof format config with project standards
Signed-off-by: Yuki I <[email protected]>
* style(core): apply black code formatting
Signed-off-by: Yuki I <[email protected]>
---------
Signed-off-by: Yuki I <[email protected]>
Co-authored-by: Yuki I <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,8 @@ In order to use the VC OIDC authentication, a couple of extra steps are required
54
54
so, the following command can be used to post a configuration requesting a BC Wallet Showcase Person credential:
55
55
- Though not implemented in this built-in config, proof-request configurations can optionally include substitution variables. Details can be found [here](docs/ConfigurationGuide.md#proof-substitution-variables)
56
56
57
+
**Note:** The following demo commands are for an **Indy-based** credential ecosystem. The application defaults to the `indy` proof format, so these examples work out-of-the-box. You can switch to `anoncreds` by setting the `ACAPY_PROOF_FORMAT` environment variable.
| ACAPY_PROOF_FORMAT | string ("indy" or "anoncreds") | Sets the proof format for ACA-Py presentation requests. Use `anoncreds` for modern AnonCreds support or `indy` for legacy Indy-based ecosystems. | Defaults to `indy` for backward compatibility with existing deployments. |
79
80
| SET_NON_REVOKED | bool | if True, the `non_revoked` attributed will be added to each of the present-proof request `requested_attribute` and `requested_predicate` with 'from=0' and'to=`int(time.time())`||
80
81
| USE_OOB_LOCAL_DID_SERVICE | bool | Instructs ACAPy VC-AuthN to use a local DID, it must be used when the agent service is not registered on the ledger with a public DID | Use this when `ACAPY_WALLET_LOCAL_DID` is set to `true` in the agent. |
81
82
| WALLET_DEEP_LINK_PREFIX | string | Custom URI scheme and host to use for deep links (e.g. `{WALLET_DEEP_LINK_PREFIX}?c_i={connection invitation payload`) | Default bcwallet://aries_proof-request |
0 commit comments