Skip to content
This repository was archived by the owner on Aug 28, 2021. It is now read-only.

Fix encryption #7

Open
JuniorJPDJ opened this issue Sep 3, 2017 · 0 comments
Open

Fix encryption #7

JuniorJPDJ opened this issue Sep 3, 2017 · 0 comments
Assignees

Comments

@JuniorJPDJ
Copy link

Hi,
Like I told you at NP FB group just when you published code.nastoletni.pl, the implementation of encryption is not safe, better, it's doing nothing.
..but noone given any fuck about it :P
You are still sending encryption key to server in url.
Every guy with server logs access or MITM attacker can obtain your key and decrypt paste.

To fix this security issue just change slash ("/") in url to hash ("#"), the url part after hash character is not being sent to server, it's just for a browser.
Then you can use it in client side to decrypt encrypted contents of paste.

@Albert221 Albert221 self-assigned this Sep 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants