View Issue Details

IDProjectCategoryView StatusLast Update
0010013Talerexchangepublic2025-08-31 17:09
ReporterFlorian Dold Assigned ToFlorian Dold 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
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version1.0 stretch goalsFixed in Version1.0 stretch goals 
Summary0010013: AML programs do not receive input new_rules.custom_measures despite it being mandatory in the spec
DescriptionThat means that rules don't round-trip nicely, making it more difficult than necessary to keep the current rules.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2025-05-25 22:34

manager   ~0024992

That's strange, we don't really touch the new_rules before passing them through. Do you have a test?

Christian Grothoff

2025-05-26 06:39

manager   ~0024998

It really cannot be: there is no code (!) in the exchange to convert a LegitimizationRuleSet (LRS) to JSON, only to parse the JSON and then to (re)build sub-parts (for wallets/clients) of that JSON. Which means we receive the JSON LRS, store it in JSON in the DB, and always -- if we return any LRS -- return exactly what we received previously. So I suspect you have some helper that threw away the custom_measures (happened to me before...), but it won't be the exchange!

Florian Dold

2025-05-26 07:58

manager   ~0024999

The following test triggers a 500 response on form upload from the exchange, using *only* the helper taler-exchange-helper-measure-inform-investigate shipped with the exchange.

$ taler-harness run-integrationtests kyc-merchant-deposit-form

So either this helper is broken or the exchange isn't passing the LRS correctly. Or maybe not constructing the initial LRS correctly from default rules.

Florian Dold

2025-05-26 12:42

manager   ~0025009

commit f6026688d2c2d42f0c32ba59582213f70a276e2e (HEAD -> master, origin/master, origin/HEAD)
Author: Florian Dold <florian@dold.me>
Date: Mon May 26 14:36:14 2025 +0200

    ensure that default LRS specifies custom_measures
    
    It is a mandatory field.
    
    Issue: https://bugs.taler.net/n/10013

Issue History

Date ModifiedUsernameFieldChange
2025-05-25 20:26Florian DoldNew Issue
2025-05-25 20:26Florian DoldStatusnew => assigned
2025-05-25 20:26Florian DoldAssigned To => Christian Grothoff
2025-05-25 22:34Christian GrothoffNote Added: 0024992
2025-05-26 06:39Christian GrothoffNote Added: 0024998
2025-05-26 06:39Christian GrothoffAssigned ToChristian Grothoff => Florian Dold
2025-05-26 06:39Christian GrothoffStatusassigned => feedback
2025-05-26 07:58Florian DoldNote Added: 0024999
2025-05-26 07:58Florian DoldAssigned ToFlorian Dold => Christian Grothoff
2025-05-26 07:58Florian DoldStatusfeedback => assigned
2025-05-26 11:03Florian DoldAssigned ToChristian Grothoff => Florian Dold
2025-05-26 12:42Florian DoldStatusassigned => informing
2025-05-26 12:42Florian DoldResolutionopen => fixed
2025-05-26 12:42Florian DoldNote Added: 0025009
2025-06-03 17:52Christian GrothoffFixed in Version => 1.0 stretch goals
2025-08-31 17:09Christian GrothoffStatusinforming => closed