View Issue Details

IDProjectCategoryView StatusLast Update
0010456Talerdonaupublic2025-10-31 19:49
ReporterFlorian Dold 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
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.0 
Target Version1.1Fixed in Version1.1 
Summary0010456: enabling donau auth breaks merchant donau setup
DescriptionWhen enabling authentication in the donau service ([donau]/ADMIN_BEARER_TOKEN), the merchant is not able to contact the donau anymore.

Seems like the merchant gets an HTTP 403 response from the donau.

How is auth between merchant and donau even supposed to work? I can't imagine it should require the admin auth token, as that's to create charities, not to request information about the charity as the merchant.

But then we might not want the charity info to be public, so maybe the donau should require *either* the admin token *or* a signature made by the charity_pub.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2025-09-26 12:29

manager   ~0026029

The bearer token is only supposed to apply for the CRUD API to configure charities (by a future DONAU-SPA, for example), but never by the merchant. The merchant has the instance private key and signs its request with that, that's the only thing that should be needed here.

Christian Grothoff

2025-09-26 12:36

manager   ~0026030

Ah, it seems we had another case of students hashing over pointers. Not sure how this _ever_ worked. Fixing...

Christian Grothoff

2025-09-26 13:07

manager   ~0026031

Ah, this was about GET /charities/$ID. Yeah, auth was borked there, fixing...

Christian Grothoff

2025-09-26 13:37

manager   ~0026033

Fix committed to master branch.

Christian Grothoff

2025-09-26 13:38

manager   ~0026034

Fixed in spec and implementations: use merchant_priv for access control to GET /charity/$ID.

Issue History

Date ModifiedUsernameFieldChange
2025-09-25 13:45Florian DoldNew Issue
2025-09-25 13:45Florian DoldStatusnew => assigned
2025-09-25 13:45Florian DoldAssigned To => Christian Grothoff
2025-09-26 12:29Christian GrothoffNote Added: 0026029
2025-09-26 12:36Christian GrothoffNote Added: 0026030
2025-09-26 13:07Christian GrothoffNote Added: 0026031
2025-09-26 13:37Christian Grothoff
2025-09-26 13:37Christian GrothoffNote Added: 0026033
2025-09-26 13:37Christian GrothoffStatusassigned => informing
2025-09-26 13:37Christian GrothoffResolutionopen => fixed
2025-09-26 13:38Christian GrothoffFixed in Version => 1.1
2025-09-26 13:38Christian GrothoffNote Added: 0026034
2025-09-26 13:38Christian GrothoffProduct Version => 1.0
2025-10-31 19:49Christian GrothoffStatusinforming => closed