Open foxbike opened 3 years ago
@foxbike what are you using to issue the request to the mobile agent?
I encounter the same problem too. I used an agent based on Aries .dotnet framework to send request.
The following is the proof request
var proofRequest = new ProofRequest
{
Name = "Proof of Education",
Version = "1.0",
Nonce = await AnonCreds.GenerateNonceAsync(),
RequestedAttributes = new Dictionary<string, ProofAttributeInfo>
{
{ "referent1", new ProofAttributeInfo {
Name = "name",
Restrictions = new List
SchemaName = "degree-schema"
}
}
}}
}
};
If you are using the sample code from dotnet framework to issue credential, make sure the timestamp field is not empty, the degree-schema has timestamp attribute. I got it to work after inserting the value in the timestamp field.
I encounter the same problem too. I used an agent based on Aries .dotnet framework to send request. The following is the proof request var proofRequest = new ProofRequest { Name = "Proof of Education", Version = "1.0", Nonce = await AnonCreds.GenerateNonceAsync(), RequestedAttributes = new Dictionary<string, ProofAttributeInfo> { { "referent1", new ProofAttributeInfo { Name = "name", Restrictions = new List { new AttributeFilter { SchemaName = "degree-schema" } } }} } };
Hi,
I have implemented a new screen to manage proofs. When i send my proof presentation, i received this error
Hyperledger.Indy.InvalidStructureException Message=A value being processed is not valid.
The error is thrown by this method "indy_prover_create_proof" in libindy. Any idea?