View Issue Details

IDProjectCategoryView StatusLast Update
0011564Talerwallet-corepublic2026-09-19 14:40
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 informingResolutionfixed 
Target Version1.6Fixed in Version1.6 
Summary0011564: wallet-core should only spend tokens at merchants that issued them, deprecate/ignore {trusted,expected}_domains fields
DescriptionThese fields don't have well defined semantics and it might not make sense to match on the merchant backend URL.

Thus we'll need a new design in the future. For now, wallet-core should just check that tokens are only spent at merchants that issued them.

We should also considering deprecating the fields in the merchant backend.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

child of 0009057 implementingavalos support subscription and discount tokens [meta] 

Activities

Florian Dold

2026-09-07 10:27

manager   ~0029915

commit 8c5a66a590db8d11daf69c60d22acd816c0d2b05 (HEAD -> master, origin/master, origin/HEAD)
Author: Florian Dold <dold@taler.net>
Date: Mon Sep 7 12:24:32 2026 +0200

    wallet-core: restrict token spending to the issuing merchant
    
    Compare full merchant base URLs with case-insensitive host and instance
    names. Ignore token domain lists and reject foreign tokens during
    selection and before generating or reusing payment signatures.
    
    Keep legacy API fields for compatibility without allowing them to
    override the issuer restriction.
    
    Issue: https://bugs.taler.net/n/11564

Issue History

Date ModifiedUsernameFieldChange
2026-06-26 20:09Florian DoldNew Issue
2026-06-26 20:10Florian DoldAssigned To => Florian Dold
2026-06-26 20:10Florian DoldStatusnew => assigned
2026-07-01 16:25Florian DoldAssigned ToFlorian Dold => avalos
2026-07-05 22:46Christian GrothoffRelationship addedchild of 0009057
2026-09-03 09:24Florian DoldAssigned Toavalos => Florian Dold
2026-09-03 09:24Florian DoldTarget Version1.6 => 1.7
2026-09-07 10:27Florian DoldStatusassigned => informing
2026-09-07 10:27Florian DoldResolutionopen => fixed
2026-09-07 10:27Florian DoldNote Added: 0029915
2026-09-19 14:39Christian GrothoffTarget Version1.7 => 1.6
2026-09-19 14:40Christian GrothoffFixed in Version => 1.6