CSP: Snapshot nonce at load start time (and use that nonce during redirects)
Categories
(Core :: DOM: Security, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: ckerschb, Assigned: ckerschb)
References
(Blocks 1 open bug)
Details
(Whiteboard: [domsecurity-active])
Attachments
(2 files, 3 obsolete files)
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 7•6 years ago
|
||
I stacked the revisions and lando shows both patches stacked for landing - when I hit 'preview landing' however it tells me:
You have insufficient permissions to land. Level 3 Commit Access is required
I do have Level 3 Commit access, but don't have time right now to trouble shoot - can someone land that for me in the meantime?
Thanks!
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/44a945b21f87
CSP snapshot nonce at load start time r=baku
Comment 10•6 years ago
|
||
(In reply to Christoph Kerschbaumer [:ckerschb] from comment #7)
I do have Level 3 Commit access, but don't have time right now to trouble shoot - can someone land that for me in the meantime?
Any chance the API key in Lando belongs to your personal address but you are logged in with mozilla.com? There was another developer yesterday who had moved their hg permissions to the mozilla.com one and had to provide a new API key in Lando to be able to push. In Lando at the top right, open the menu and open the accounts settings on the left.
Comment 11•6 years ago
|
||
Backed out for failing /propagate-nonce-external-classic.htm
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=228048743&repo=autoland&lineNumber=4070
Backout: https://hg.mozilla.org/integration/autoland/rev/36ae1038bf8c00285c7e22d89e119c7910cc28d9
Assignee | ||
Comment 12•6 years ago
|
||
(In reply to Andreea Pavel [:apavel] from comment #11)
Backed out for failing /propagate-nonce-external-classic.htm
Mhm, I can't reproduce locally and it seems to work on TRY now:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2ac265f9e8d9db1079a01ffcaa946941eeb553fa
Assignee | ||
Comment 13•6 years ago
|
||
:aryx, :apavel, can we try to reland that? Please see green TRY push in comment 12. I don't know what the issue was, but it works locally on mac and linux and it seems try is happy as well now.
Comment 14•6 years ago
|
||
Updated•6 years ago
|
Comment 15•6 years ago
|
||
Backed out 2 changesets (Bug 1509738) for failures in propagate-nonce-external-classic.html
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=fbf4b73c87865ecf3ee583d8b11a03ae6f330ee6
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=228171012&repo=autoland&lineNumber=3876
Backout: https://hg.mozilla.org/integration/autoland/rev/caab6cb818201ad2b62983efb6b04705c02143e8
Assignee | ||
Comment 16•6 years ago
|
||
Hey Noemi, any idea what might be the problem here? This changeset got already backed out once (see comment 11). I couldn't reproduce the error locally. I then re-pushed to try and got a green try run (see bottom of comment 12). Now it got backed out again - beats me...
Any idea what I could try to figure the problem?
Assignee | ||
Comment 17•6 years ago
|
||
(In reply to Christoph Kerschbaumer [:ckerschb] from comment #16)
Any idea what I could try to figure the problem?
So, the problem was that Bug 1525006 landed in the meantime which added a new content policy type for modules which caused propagate-nonce-external-classic.html to fail. I was able to reproduce locally and fixed it locally. I rebased - pushing to try to make sure everything is fine now:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=030463fec2bf0f43898fa845c1a39d0a31902bea
Assignee | ||
Comment 18•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 19•6 years ago
|
||
Third time's a charm :-)
I rebased the patches and uploaded a new version, the two phabricator patches:
should land together - see also green try run from comment 17.
Can someone check that in for me please? Thanks!
Comment 20•6 years ago
|
||
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/53354f120211
Test nonce snapshot for CSP loades. r=jkt
https://hg.mozilla.org/integration/autoland/rev/4c1eb1293bbf
CSP snapshot nonce at load start time. r=baku
Comment 21•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/53354f120211
https://hg.mozilla.org/mozilla-central/rev/4c1eb1293bbf
Description
•