Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Proof Predicate issue #216

Description

@aangCrypto

There are a few issues that I have ran to while trying to use the proof predicate.

  1. Returning empty credentials. The function ListCredentialsForProofRequestAsync returns an empty list when request_predicates is included in the proof request JSON. I have worked around this by converting it into requesting_attribute to get the needed credentials id before converting it back to request_predicates later.

  2. Error: "A value being processed is not valid.". When creating the proof presentation. From what I know the value should be in the correct format, both are int which now I'm not sure why it is happening. Did anyone manage to successfully create a proof predicate with hyperledger dotnet?

For reference: this is the JSON used to request predicate

@"{
""name"":""Proof Request"",
""version"":""1.0"",
""nonce"":""1234567890"",
""requested_predicates"":{
""dob"" : {
""name"": ""age"",
""p_type"": ""<="",
""p_value"": 18,
}
},
""non_revoked"":{
""to"": 2147483647
}
}";

Thank you in advanced!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions