View Issue Details

IDProjectCategoryView StatusLast Update
0005059Talerwallet-corepublic2024-04-09 13:11
ReporterFlorian Dold Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versiongit (master) 
Target Version0.10Fixed in Version0.10 
Summary0005059: implement test case where an exchange's master public key changes [estimate: 5h]
DescriptionCurrently the wallet gets confused by this and may refuse some operations until you reset the wallet.
TagsNo tags attached.

Relationships

has duplicate 0005775 closedFlorian Dold test weird corner cases regarding the exchange's /keys info 

Activities

Florian Dold

2021-06-15 19:05

manager   ~0017954

This is implemented now, but needs a test case.

Christian Grothoff

2023-09-03 15:21

manager   ~0020483

Bumping to 0.9.4, testcase is not RC.

Florian Dold

2023-11-09 16:00

manager   ~0020632

Last edited: 2023-11-09 16:12

It doesn't quite work right now, since the wallet isn't doing cache-breaking yet for /keys.

To do this, the query should be made with "Cache-Control: no-cache".

Florian Dold

2024-03-04 13:07

manager   ~0021632

Last edited: 2024-04-05 13:37

The test case should check that:
1. The wallet-core exchange entry correctly transitions to unavailable-update
2. Certain operations (withdrawals) are not accepted while in the unavailable-update state.
3. When the exchange is reset, it transitions back to an available state

Florian Dold

2024-04-05 13:30

manager   ~0022123

Test added and behavior fixed:

commit 7b2f95e482367183ca77f619d9ecbe34d5fd85bd (HEAD -> master, origin/master, origin/HEAD)
Author: Florian Dold <florian@dold.me>
Date: Fri Apr 5 13:29:45 2024 +0200

    wallet-core: put exchange in update-unavailable if master pub / currency change unexpectedly

Issue History

Date Modified Username Field Change
2017-06-04 17:47 Florian Dold New Issue
2017-06-04 17:47 Florian Dold Status new => assigned
2017-06-04 17:47 Florian Dold Assigned To => Florian Dold
2017-10-23 10:55 Christian Grothoff Product Version => git (master)
2017-10-23 10:55 Christian Grothoff Target Version => 0.6
2019-12-18 23:23 Christian Grothoff Target Version 0.6 => 0.7.1
2020-08-29 14:04 Christian Grothoff Target Version 0.7.1 => 0.8.1
2020-09-08 17:45 Florian Dold Category wallet (WebExtensions) => wallet (TS core)
2021-06-15 19:05 Florian Dold Note Added: 0017954
2022-08-25 20:40 Christian Grothoff Relationship added has duplicate 0005775
2023-02-20 00:44 Florian Dold Target Version => 0.9.4
2023-04-13 20:36 Florian Dold Category wallet (TS core) => wallet-core
2023-08-31 09:50 Florian Dold Target Version 0.9.4 => 0.9.3
2023-09-03 15:21 Christian Grothoff Target Version 0.9.3 => 0.9.4
2023-09-03 15:21 Christian Grothoff Note Added: 0020483
2023-09-23 16:15 Christian Grothoff Target Version 0.9.4 => 0.10
2023-11-09 16:00 Florian Dold Note Added: 0020632
2023-11-09 16:12 Florian Dold Note Edited: 0020632
2024-03-04 13:06 Florian Dold Summary handle cases where an exchange's key changes, but the base URL stays the same => implement test case where an exchange's master public key changes
2024-03-04 13:07 Florian Dold Note Added: 0021632
2024-03-27 21:15 Florian Dold Summary implement test case where an exchange's master public key changes => implement test case where an exchange's master public key changes [estimate: 5h]
2024-04-05 12:02 Florian Dold Note Edited: 0021632
2024-04-05 13:30 Florian Dold Status assigned => resolved
2024-04-05 13:30 Florian Dold Resolution open => fixed
2024-04-05 13:30 Florian Dold Note Added: 0022123
2024-04-05 13:37 Florian Dold Note Edited: 0021632
2024-04-09 13:11 Christian Grothoff Fixed in Version => 0.10