Open nedgar opened 1 year ago
After adding signal 0 of timestamp
That's with the line console.log(`After adding signal ${i} of ${k}`)
uncommented in holder/wallet/snark/witness_calculator.js
.
As a check, I repeated the flow with birthDay := big.NewInt(19991231)
and it worked OK.
In
identity/internal/claim.go
, I changed the birthday to not satisfy the challenge of being prior to 2000-01-01:birthDay := big.NewInt(20050704)
, then went through the normal flow of:make clean identities
with PR #11)make issue-claim
)AliceWonder
(make receive-claim respond-to-challenge
).AliceWonder
For the last step, generating the proof (in
holder/wallet
with commandnode index.js --holder AliceWonder --qrcode ~/Downloads/challenge-qr.png
), it fails with:It's expected that the proof cannot be satisfied, but this is an unexpected error message which suggests a programming error. Is there any way to distinguish between the proof not being satisfied vs. "the inputs are bad" to provide a clearer error message?