View Issue Details

IDProjectCategoryView StatusLast Update
0010456Talerdonaupublic2025-09-26 15:38
ReporterFlorian Dold Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
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.

Activities

Christian Grothoff

2025-09-26 14: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 14: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 15:07

manager   ~0026031

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

Christian Grothoff

2025-09-26 15:37

manager   ~0026033

Fix committed to master branch.

Christian Grothoff

2025-09-26 15:38

manager   ~0026034

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

Related Changesets

merchant: master 3a52aa07

2025-09-26 17:37

Christian Grothoff


Details Diff
fix 0010456 Affected Issues
0010456
mod - src/backend/taler-merchant-httpd_private-post-donau-instance.c Diff File

Issue History

Date Modified Username Field Change
2025-09-25 15:45 Florian Dold New Issue
2025-09-25 15:45 Florian Dold Status new => assigned
2025-09-25 15:45 Florian Dold Assigned To => Christian Grothoff
2025-09-26 14:29 Christian Grothoff Note Added: 0026029
2025-09-26 14:36 Christian Grothoff Note Added: 0026030
2025-09-26 15:07 Christian Grothoff Note Added: 0026031
2025-09-26 15:37 Christian Grothoff Changeset attached => merchant master 3a52aa07
2025-09-26 15:37 Christian Grothoff Note Added: 0026033
2025-09-26 15:37 Christian Grothoff Status assigned => resolved
2025-09-26 15:37 Christian Grothoff Resolution open => fixed
2025-09-26 15:38 Christian Grothoff Fixed in Version => 1.1
2025-09-26 15:38 Christian Grothoff Note Added: 0026034
2025-09-26 15:38 Christian Grothoff Product Version => 1.0