View Issue Details

IDProjectCategoryView StatusLast Update
0005032Talerwallet (WebExtension)public2017-06-06 12:18
ReporterChristian Grothoff 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
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.3Fixed in Version0.3 
Summary0005032: wallet complains: Error: exception (superfluous properties ["payback"])
DescriptionUsing the 0.2.2 wallet against the latest exchange, I get the above error when /keys is requested (where the payback array is empty, but the member is present).

I _suspect_ this is an older version of the wallet, even though there isn't a newer one on the site(s).

Regardless, I wanted to question that we die hard under this circumstance (withdraw is no longer possible), as this will prevent us from easily extending the protocol with additional information. Naturally, if there is a future version of the protocol and /keys has more information it is not good if the wallet doesn't understand it, but I think a _warning_ may be more appropriate in this case ("property XXX not understood, maybe you should update your wallet?") and _allowing_ the user to proceed anyway. WDYT?
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2017-05-25 00:00

manager   ~0012157

Yeah, it makes sense to turn off the strict validation for the contract. I think we should do this selectively though, an amount for example should never have extra fields.

Christian Grothoff

2017-05-25 00:05

manager   ~0012158

Eh, to be clear: this is not the contract, this is /keys.

Florian Dold

2017-05-27 13:08

manager   ~0012161

Resolved in 41f152b. I don't think it's a good idea to include the "maybe you should update your wallet" based on this though.

If we really want this, the exchange should publish some wallet_protocol field in /keys and if the wallet wants it can check it.

Printing this warning for extra fields is bad, since a newer wallet could also remove support for deprecated fields and the exchange could be too old!

Issue History

Date ModifiedUsernameFieldChange
2017-05-24 21:43Christian GrothoffNew Issue
2017-05-24 21:43Christian GrothoffStatusnew => assigned
2017-05-24 21:43Christian GrothoffAssigned To => Florian Dold
2017-05-25 00:00Florian DoldNote Added: 0012157
2017-05-25 00:05Christian GrothoffNote Added: 0012158
2017-05-27 13:08Florian DoldStatusassigned => informing
2017-05-27 13:08Florian DoldResolutionopen => fixed
2017-05-27 13:08Florian DoldNote Added: 0012161
2017-05-28 21:01Christian GrothoffFixed in Version => 0.3
2017-06-06 12:18Christian GrothoffStatusinforming => closed
2023-04-13 18:37Florian DoldCategorywallet (WebExtensions) => wallet (WebExtension)