credo-ts icon indicating copy to clipboard operation
credo-ts copied to clipboard

Decline Proof Request

Open Artemkaaas opened this issue 1 year ago • 1 comments

At the state decline method from the proof module only update the state of the corresponding record on the Hodler/Prover side. But according to the Present Proof RFC decline action also should send Problem Report to Verifier. It seems we can use sendProblemReport methods for connected cases, but for connectionless case it throws an error.

What do you think about enhancing the decline method to automatically send a Problem Report (we can put it under the param send to preserve existing behavior by default) and also updating sendProblemReport method to support connectionless records?

Artemkaaas avatar Mar 27 '23 14:03 Artemkaaas