View Issue Details

IDProjectCategoryView StatusLast Update
0006414Talerauditorpublic2021-08-24 14:23
Reporteroec Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritytextReproducibilityalways
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.8Fixed in Version0.8 
Summary0006414: No checks for refunds table implemented
DescriptionThere is no implementation for checks of the refunds table. (There are however some checks related to refunds in aggregation and coins)

I suggest to add a timestamp to the refunds table and add a check that a refund happened before a `refund_deadline` passed.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2020-06-24 11:49

manager   ~0016352

Adding such a timestamp would not be very meaningful, as either side can easily lie (or disagree) about it. I also think you are misunderstanding the 'refund_deadline' semantic. The 'refund_deadline' is NOT the last time when a refund may happen, but the EARLIEST time by which the exchange may wire the funds. Refunds are allowed until the time when the exchange wires the funds to the merchant.

The checks for refunds are included in the coin consistency check (if coins are refunded, their balance goes back up _allowing_ further refreshes against those coins), and of course in the aggregate wire transfer calculations (how much we should wire to the merchant).

So what _else_ would you want to check that is meaningful?

oec

2020-06-25 08:59

developer   ~0016363

see my note on 6413, what about verifying that a signature for a refund comes from a merchant whose merchant_pub has been used in a deposit before?

Christian Grothoff

2020-06-25 09:01

manager   ~0016364

It must be the "right" merchant_pub, not just seen in "a deposit before", but seen in THE deposit for that coin.
This IS checked in taler-helper-auditor-coins.c::refund_cb().

Christian Grothoff

2020-07-14 19:17

manager   ~0016449

62d5aae1..ef0eb9e5 improves the 'system' manual, documenting for each auditor helper what checks it performs (at a moderate level of detail).

Christian Grothoff

2020-07-14 19:18

manager   ~0016450

I believe the new documentation makes it obvious why the refunds table does not have its own helper.

Issue History

Date ModifiedUsernameFieldChange
2020-06-24 11:45oecNew Issue
2020-06-24 11:45oecStatusnew => assigned
2020-06-24 11:45oecAssigned To => Christian Grothoff
2020-06-24 11:49Christian GrothoffNote Added: 0016352
2020-06-24 11:49Christian GrothoffStatusassigned => feedback
2020-06-24 11:58Christian GrothoffSeveritymajor => text
2020-06-25 08:59oecNote Added: 0016363
2020-06-25 08:59oecStatusfeedback => assigned
2020-06-25 09:01Christian GrothoffNote Added: 0016364
2020-06-25 21:48Christian GrothoffProduct Version => git (master)
2020-06-25 21:48Christian GrothoffTarget Version => 0.8
2020-07-14 19:17Christian GrothoffNote Added: 0016449
2020-07-14 19:18Christian GrothoffStatusassigned => informing
2020-07-14 19:18Christian GrothoffResolutionopen => fixed
2020-07-14 19:18Christian GrothoffFixed in Version => 0.8
2020-07-14 19:18Christian GrothoffNote Added: 0016450
2021-08-24 14:23Christian GrothoffStatusinforming => closed