View Issue Details

IDProjectCategoryView StatusLast Update
0007039Talermerchant backendpublic2022-11-04 19:53
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
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0007039: merchant contract terms hashing violates RFC 8785
DescriptionThe merchant currently doesn't replace Unicode characters by escape characters like RFC 8785 Section 3.2.2.2 [1] demands.

The wallet does follow RFC 8785, and thus the merchant and wallet disagree on the contract terms hash.

[1] https://datatracker.ietf.org/doc/html/rfc8785#section-3.2.2.2
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2021-11-20 23:53

manager   ~0018505

a5a3b2ea..ae2ce4aa might just implement this insanity correctly. Florian: Please check.

sebasjm

2021-11-25 15:59

developer   ~0018541

IIRC this was opened because of a contract signature mismatch when trying to pay for an article in the essay shop.
I was able to reproduce it again trying to buy:
* Did You Say “Intellectual Property”? It's a Seductive Mirage
Others articles work ok.
Selection_999(132).png (20,040 bytes)   
Selection_999(132).png (20,040 bytes)   

sebasjm

2021-11-25 16:00

developer   ~0018542

re opened

Christian Grothoff

2022-01-25 18:21

manager   ~0018668

https://www.unicode.org/reports/tr15/ might also hurt us here. This came up with respect to UTF-8 canonicalization of GNS labels!

Florian Dold

2022-01-27 21:31

manager   ~0018673

Last edited: 2022-01-27 21:31

This is fixed now.

AFAICT RFC 8785 does not actually require normalization of Unicode, i.e. code points are untouched.

Issue History

Date ModifiedUsernameFieldChange
2021-10-15 09:44Florian DoldNew Issue
2021-10-15 09:44Florian DoldStatusnew => assigned
2021-10-15 09:44Florian DoldAssigned To => Christian Grothoff
2021-10-15 09:48Florian DoldPrioritynormal => high
2021-10-15 09:48Florian DoldSeverityminor => major
2021-10-15 09:48Florian DoldReproducibilityhave not tried => always
2021-10-15 09:48Florian DoldProduct Version => git (master)
2021-10-15 09:48Florian DoldTarget Version => 0.9.1
2021-11-20 23:53Christian GrothoffAssigned ToChristian Grothoff => Florian Dold
2021-11-20 23:53Christian GrothoffStatusassigned => feedback
2021-11-20 23:53Christian GrothoffNote Added: 0018505
2021-11-20 23:53Christian GrothoffTarget Version0.9.1 => 0.9
2021-11-25 15:59sebasjmNote Added: 0018541
2021-11-25 15:59sebasjmFile Added: Selection_999(132).png
2021-11-25 16:00sebasjmStatusfeedback => assigned
2021-11-25 16:00sebasjmNote Added: 0018542
2022-01-25 18:21Christian GrothoffNote Added: 0018668
2022-01-27 21:31Florian DoldStatusassigned => informing
2022-01-27 21:31Florian DoldResolutionopen => fixed
2022-01-27 21:31Florian DoldNote Added: 0018673
2022-01-27 21:31Florian DoldNote Edited: 0018673
2022-04-12 16:31Christian GrothoffFixed in Version => 0.9
2022-11-04 19:53Christian GrothoffStatusinforming => closed
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend