This document is written for developers using Libindy to provide necessary information and to simplify their transition to Libindy 1.12 from Libindy 1.13. If you are using older Libindy version you can check migration guides history:
- Libindy 1.3 to 1.4 migration
- Libindy 1.4 to 1.5 migration
- Libindy 1.5 to 1.6 migration
- Libindy 1.6 to 1.7 migration
- Libindy 1.7 to 1.8 migration
- Libindy 1.8 to 1.9 migration
- Libindy 1.9 to 1.10 migration
- Libindy 1.10 to 1.11 migration
- Libindy 1.11 to 1.12 migration
We have introduced some new functionality in revealed attributes -- you can specify multiple attributes in a single revealed attribute unit using parameter names. That way you will receive revealed attributes from a single credential. API calls that have changed:
indy_prover_get_credentials_for_proof_reqindy_prover_search_credentials_for_proof_reqindy_prover_create_proof
Last call have a new attribute in a response -- revealed_attr_groups -- it contains data about revealed attribute units with names field.
Also, indy_verifier_verify_proof accepts this attribute in a requested_proof field.
If Verifier (old) sends a proof request without names attribute to Prover (new) and it will receive proof without new fields.
If Verifier (new) sends a proof request with names attribute to Prover (old) it will not validate proof request because it will not have parameter name in it.