Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 2.56 KB

migration-guide-1.12.0-1.13.0.md

File metadata and controls

42 lines (29 loc) · 2.56 KB

Libindy 1.12 to 1.13 migration Guide

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:

Table of contents

Libindy 1.12 to 1.13 migration

Anoncreds API

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_req
  • indy_prover_search_credentials_for_proof_req
  • indy_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.

Backwards compatibility

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.