View Issue Details

IDProjectCategoryView StatusLast Update
0006753AnastasisC client librarypublic2021-04-11 17:48
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product VersionGit master 
Target Version0.0.0Fixed in Version0.0.0 
Summary0006753: complete test_anastasis logic
DescriptionThe logic should be extended with
1) test that checks recovery actually completed successfully and correctly, and
2) test that does recovery using file method (and payment), not just security question.
TagsNo tags attached.

Activities

Christian Grothoff

2021-04-05 21:14

manager   ~0017704

1st test already exists.

Christian Grothoff

2021-04-05 21:15

manager   ~0017705

Note: there are also two FIXMEs in testing_cmd_truth_upload.c that should be addressed.

Christian Grothoff

2021-04-06 22:59

manager   ~0017708

Extended test currently fails. Key findings:
1) test for some reason uses a payment secret of all-zeros. Could be test driver issue (fails to convert order ID to payment secret)?
2) backend falsely answers with instructions (after writing payment secret to file) even though payment secret was all zeros. Why?
3) moreover, backend does indeed POST (!) an order with order_id set to all zeros to the merchant backend, alas after the client already made the payment. Strange.
4) even though backend first answered with instructions and wrote the secret to file, it THEN insists on payment before handing out the final key share -- and here does NOT accept the all-zeros payment secret.
Oh lordy.

Christian Grothoff

2021-04-09 20:05

manager   ~0017725

c1bb4d2..940dd86 fixes issues 1-4.

Christian Grothoff

2021-04-09 20:13

manager   ~0017726

FIXMEs addressed in 940dd86..0e24387. Resolved.

Issue History

Date Modified Username Field Change
2021-02-14 23:37 Christian Grothoff New Issue
2021-02-14 23:37 Christian Grothoff Status new => assigned
2021-02-14 23:37 Christian Grothoff Assigned To => Christian Grothoff
2021-03-13 13:27 Christian Grothoff Target Version 0.0.0 => 0.1.0
2021-04-05 21:14 Christian Grothoff Note Added: 0017704
2021-04-05 21:15 Christian Grothoff Note Added: 0017705
2021-04-06 22:59 Christian Grothoff Note Added: 0017708
2021-04-09 20:05 Christian Grothoff Note Added: 0017725
2021-04-09 20:13 Christian Grothoff Note Added: 0017726
2021-04-09 20:13 Christian Grothoff Status assigned => resolved
2021-04-09 20:13 Christian Grothoff Resolution open => fixed
2021-04-09 20:13 Christian Grothoff Fixed in Version => 0.0.0
2021-04-09 20:13 Christian Grothoff Target Version 0.1.0 => 0.0.0
2021-04-11 17:48 Christian Grothoff Status resolved => closed