View Issue Details

IDProjectCategoryView StatusLast Update
0006917AnastasisC client librarypublic2022-06-28 12:20
ReporterChristian Grothoff Assigned To 
Status confirmedResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Version0.0.0 
Summary0006917: cost calculations for annual fees by reducer are imperfect
DescriptionRight now, the code does not consider the possibility that the user may have already paid the 'annual_fee' at all or some providers for some of the time. Thus, the cost returned is strictly speaking an upper bound.

That said, this is only relevant for users that store multiple secrets and if annual fees are applicable. As we do not yet really support 'premium' accounts (with liabilities) in the reducer/UI, this is a very minor issue.
Additional InformationFixing this will not only require us to change a synchronous transition to an asynchronous state transition, but we MAY also need to modify the REST API to obtain the current account expiration date from the service. Not sure, as we MAY also be able to find out the information using the existing API (need to check if the account expiration time is already returned). Cleanest way would likely be a HEAD request on the policy URL and then getting the info from the HTTP headers.
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-07-11 12:23 Christian Grothoff New Issue
2021-07-11 12:26 Christian Grothoff Status new => confirmed
2021-07-11 12:26 Christian Grothoff Additional Information Updated
2021-07-18 09:50 Christian Grothoff Target Version => 0.3.0
2021-08-26 18:30 Christian Grothoff Target Version 0.3.0 =>
2022-04-13 19:21 Christian Grothoff Target Version => 0.4.0
2022-06-28 12:20 Christian Grothoff Target Version 0.4.0 =>