32ad39d0e1
Sessions are no longer validated using the "/session/..." route. This created a lot of problems due to buggy/unexpected behavior coming from the Flask-Session dependency, which is (more or less) no longer maintained. Sessions are also no longer strictly server-side-only. The majority of information that was being stored in user sessions was aesthetic only, aside from the session specific key used to encrypt URLs. This key is still unique per user, but is not (or shouldn't be) in anyone's threat model to keep absolutely 100% private from everyone. Especially paranoid users of Whoogle can easily modify the code to use a randomly generated encryption key that is reset on session invalidation (and set invalidation time to a short enough period for their liking). Ultimately, this should result in much more stable sessions per client. There shouldn't be decryption issues with element URLs or queries during result page navigation.
22 lines
208 B
Plaintext
22 lines
208 B
Plaintext
venv/
|
|
.idea/
|
|
__pycache__/
|
|
*.pyc
|
|
*.pem
|
|
*.conf
|
|
*.key
|
|
config.json
|
|
test/static
|
|
flask_session/
|
|
app/static/config
|
|
app/static/custom_config
|
|
app/static/bangs
|
|
|
|
# pip stuff
|
|
/build/
|
|
dist/
|
|
*.egg-info/
|
|
|
|
# env
|
|
whoogle.env
|