Closed esune closed 10 months ago
Comparing receive_presentation
to receive_problem_report
, it looks like the handler just needs to be updated to pass None as the connection_id when there's no connection record.
Hey @esune I'm no python expert... But...
Could it be as simple as changing this to something like this:
connection_id = (
None
if oob_record
else getattr(connection_record,'connection_id',None)
if connection_record
else None
)
Hey @esune I'm no python expert... But...
Could it be as simple as changing this to something like this:
connection_id = ( None if oob_record else getattr(connection_record,'connection_id',None) if connection_record else None )
I think something like this should work 👍🏻
When receiving a problem report on a connection-less proof request, ACA-Py considers it unsupported and raises an exception (see here. This seems incorrect, and prevents the correct handling of rejected proof-requests (the verifier would not be able to know that a proof was rejected, and why).
Handling of the problem report should likely update the exchange record to "abort" it, and emit an event/webhook with relevant data for a controller to be able to reconcile it with the outgoing request.