View Issue Details

IDProjectCategoryView StatusLast Update
0006842Anastasisbackendpublic2021-04-11 15:48
ReporterChristian Grothoff Assigned ToChristian Grothoff Due Date
PriorityhighSeveritymajorReproducibilityN/A
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product VersionGit master 
Target Version0.0.0Fixed in Version0.0.0 
Summary0006842: policy upload succeeds despite payment secret not being initialized
DescriptionThe code currently never sets the payment secret, thus the policy uploads happens without one (alas, after the upload was paid for). This is bad, because it would allow a strong adversary to upload a policy without payment (benefiting from the payment of the legitimate user).

Todo:
- fix the backend to properly check for the correct payment secret being provided by the client (and not just a payment existing)
- fix the reducer to store the 'payment_secret' in the 'policy_providers' field
TagsNo tags attached.

Activities

Christian Grothoff

2021-04-11 15:28

manager   ~0017734

Fixed in 7333d32..51e44d8

Issue History

Date ModifiedUsernameFieldChange
2021-04-11 12:53Christian GrothoffNew Issue
2021-04-11 12:53Christian GrothoffStatusnew => assigned
2021-04-11 12:53Christian GrothoffAssigned To => Christian Grothoff
2021-04-11 13:04Christian GrothoffPrioritynormal => high
2021-04-11 13:06Christian GrothoffTarget Version0.2.0 => 0.1.0
2021-04-11 15:28Christian GrothoffStatusassigned => resolved
2021-04-11 15:28Christian GrothoffResolutionopen => fixed
2021-04-11 15:28Christian GrothoffFixed in Version => 0.0.0
2021-04-11 15:28Christian GrothoffNote Added: 0017734
2021-04-11 15:28Christian GrothoffTarget Version0.1.0 => 0.0.0
2021-04-11 15:48Christian GrothoffStatusresolved => closed