View Issue Details

IDProjectCategoryView StatusLast Update
0012229Talerpaivanapublic2026-11-19 17:50
ReporterFlorian Dold  
PrioritynormalSeverityminor 
Status new 
Target Version1.7 
Summary0012229: payment replay after a lost cookie does not work with paivana
DescriptionCurrently the paivana paywall requests a cookie that is valid until an expiration that is computed as:

  expiration := now + max_pickup_duration

That timestamp is signaled to paivana via the paivana_id, which currently is:

  paivana_id := expiration || '-' || b64url(SHA256(nonce || website || '\0' || expiration))

Currently the cookie will have the same expiration as the one in the paivana_id.

That means when the browser session is lost, the wallet will *always* have to pay again, even though the existing session's time might be quite long.

To fix this, we could interpret the expiration in the paivana_id as the *minimum expiration*.

TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

There are no notes attached to this issue.

Issue History

Date ModifiedUsernameFieldChange
2026-11-19 17:50Florian DoldNew Issue
2026-11-19 17:50Florian DoldImplementer => Florian Dold
2026-11-19 17:50Florian DoldReviewer => Christian Grothoff
2026-11-19 17:50Florian DoldRelease signed by => Christian Grothoff
2026-11-19 17:50Florian DoldDeployed by => Christian Grothoff
2026-11-19 17:50Florian DoldVerifier => Florian Dold
2026-11-19 17:50Florian DoldCommunicator => CM_7