View Issue Details

IDProjectCategoryView StatusLast Update
0007050AnastasisC reducer implementationpublic2023-06-15 15:55
ReporterFlorian Dold Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.3.0Fixed in Version0.3.0 
Summary0007050: recovery state has obscure and/or wrong field names
Descriptionstate.recovery_document => eh, this isn't actually the downloaded recovery document, but some internal state the reducer stores.
state.recovery_document.core_secret => this doesn't seem to be the core secret, but the encrypted core secret
state.recovery_document.cs => huh?
state.recovery_document.cs[*].salt => should be truth_salt?
state.recovery_document.cs[*].key_share => wouldn't this be the encrypted key share? actually it might be the plain one, but in the recovery doc we call "key_share_data" the *encrypted* key share ...
state.recovery_document.dps => huh?!
state.recovery_document.dps[*].salt => what salt is this?
state.recovery_document.dps[*].emk => huh?!?!
TagsNo tags attached.

Activities

Florian Dold

2021-10-20 17:04

manager   ~0018446

(I now mostly know what all these are, but we should still both fix the bad names and document it in form of TypeScript declarations.)

Florian Dold

2022-04-12 20:19

manager   ~0018860

AFAICT, all these fields could be replaced by the recovery_data field used by the TS reducer:

https://git.taler.net/wallet-core.git/tree/packages/anastasis-core/src/reducer-types.ts#n91

Christian Grothoff

2022-04-13 17:11

manager   ~0018870

Field names are now less obscure.

Christian Grothoff

2023-06-15 15:54

manager   ~0020274

Fix committed to master branch.

Christian Grothoff

2023-06-15 15:55

manager   ~0020288

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2021-10-20 17:03Florian DoldNew Issue
2021-10-20 17:03Florian DoldStatusnew => assigned
2021-10-20 17:03Florian DoldAssigned To => Christian Grothoff
2021-10-20 17:04Florian DoldNote Added: 0018446
2021-10-20 17:05Florian DoldDescription Updated
2021-10-20 17:07Florian DoldDescription Updated
2022-04-12 20:19Florian DoldNote Added: 0018860
2022-04-13 17:11Christian GrothoffStatusassigned => resolved
2022-04-13 17:11Christian GrothoffResolutionopen => fixed
2022-04-13 17:11Christian GrothoffFixed in Version => 0.3.0
2022-04-13 17:11Christian GrothoffNote Added: 0018870
2022-04-13 17:11Christian GrothoffProduct Version => Git master
2022-04-13 17:11Christian GrothoffTarget Version => 0.3.0
2022-09-26 18:50Christian GrothoffStatusresolved => closed
2023-06-15 15:54Christian Grothoff
2023-06-15 15:54Christian GrothoffNote Added: 0020274
2023-06-15 15:55Christian Grothoff
2023-06-15 15:55Christian GrothoffNote Added: 0020288