View Issue Details

IDProjectCategoryView StatusLast Update
0008036TalerWeb site(s)public2024-09-07 15:26
ReporterChristian Grothoff Assigned ToResolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritylowSeveritytweakReproducibilityN/A
Status implementingResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Versionpost-1.0 
Summary0008036: CSP shared between many *.taler.net-sites, should be made specific to each subdomain
DescriptionRight now, /etc/nginx/conf.d/talercsp.conf is included in various site configurations (like talerssl.conf). However, the CSP should probably be specific to the various subdomains. I today had to extract the CSP from the SSL configuration file as the CSP as-is created big problems for the merchant backends of the demo (as the SPAs could not interact with the exchange based on the CSP).

We should probably create custom CSPs in each *.site file (possibly with the exception of the head/test/demo sites, here the *backends* should set any CSPs that are needed). Some sites already have their custom CSP, but it probably makes sense to use the current talercsp.conf as a starting point and to create a specific CSP for each site. This will, however, require some careful testing / understanding of what CSP the respective site needs. It *looks* pretty obvious which rules are needed for which site, but still after copying the CSP rules into a *.site file (instead of including) and then specializing them for the respective site, the site should be tested to ensure it still works.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

javier.sepulveda

2024-01-08 12:10

reporter   ~0020822

ACK. Please let me (ASAP) do further investigation on this, to see if I can make some of the suggested improvements. Thank you for the great explanation of the task.

Issue History

Date ModifiedUsernameFieldChange
2024-01-07 15:35Christian GrothoffNew Issue
2024-01-07 15:35Christian GrothoffStatusnew => assigned
2024-01-07 15:35Christian GrothoffAssigned To => javier.sepulveda
2024-01-08 12:10javier.sepulvedaNote Added: 0020822
2024-01-30 00:05Christian GrothoffPrioritynormal => low
2024-09-07 15:26Christian GrothoffAssigned Tojavier.sepulveda =>
2024-09-07 15:26Christian GrothoffStatusassigned => implementing