Skip to content

Generating New SRI Hash Failed and Generating Links #1383

Closed Answered by rugk
chrish112 asked this question in Q&A
Discussion options

You must be logged in to vote

First of all, see https://github.com/PrivateBin/PrivateBin/wiki/FAQ#how-can-i-link-to-a-read-only-mode-where-users-cant-submit-pastes please, for how to properly setup such a system where only some users can submit a paste. Using two instances as you want is possible, but you could also achieve it with web server config etc.

Secondly, if you adjust the JS files, you must regenerate the SRI hashes, yes. See the latest doc at https://github.com/PrivateBin/PrivateBin/wiki/Development#subresource-integrity-for-javascript-resources for that. For obvious reasons, you must do this after each change of them. You should get browser errors if they don't equal.

I tried the generation of a new token…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elrido
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants