View Issue Details

IDProjectCategoryView StatusLast Update
0006002Talerexchangepublic2019-12-23 12:33
ReporterMarcello Stanisci 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 Versiongit (master) 
Target Version0.6Fixed in Version0.6 
Summary0006002: date byte order mismatch between producer and consumer code
DescriptionExchange-lib tries to consume dates in NBO ([1]), whereas Exchange-httpd produces them in host byte order ([2]).

Should the two parties agree about using one format?

[1] https://git.taler.net/exchange.git/tree/src/lib/exchange_api_common.c?id=672a76e9e33a420898b39931a261c5d5830540a4#n102

[2] https://git.taler.net/exchange.git/tree/src/exchange/taler-exchange-httpd_responses.c?id=672a76e9e33a420898b39931a261c5d5830540a4#n108
Additional InformationThis problem is now blocking 0005997.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2019-12-22 12:06

manager   ~0015205

Eh, as far as I see it, this should be _fine_. The wire-format is independent of the big/little endian used by the applications, and the respective JSON-logic used to do the conversion for us (as the wire format was always in decimal, so neither big nor little endian).

Christian Grothoff

2019-12-22 12:19

manager   ~0015207

It wasn't an issue with NBO vs. non-NBO in the Taler code, but that Florian didn't update the NBO parser version in GNUnet.
Fixed in 6d8ba0321..fddbcfc58

Issue History

Date ModifiedUsernameFieldChange
2019-12-22 11:50Marcello StanisciNew Issue
2019-12-22 11:50Marcello StanisciStatusnew => assigned
2019-12-22 11:50Marcello StanisciAssigned To => Christian Grothoff
2019-12-22 12:06Christian GrothoffNote Added: 0015205
2019-12-22 12:11Christian GrothoffProduct Version => git (master)
2019-12-22 12:11Christian GrothoffTarget Version => 0.6
2019-12-22 12:19Christian GrothoffStatusassigned => informing
2019-12-22 12:19Christian GrothoffResolutionopen => fixed
2019-12-22 12:19Christian GrothoffFixed in Version => 0.6
2019-12-22 12:19Christian GrothoffNote Added: 0015207
2019-12-23 12:33Christian GrothoffStatusinforming => closed