Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explicit specification of encryption in each request #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anshnd
Copy link

@anshnd anshnd commented Apr 7, 2018

I need to make two separate session encryptions within the same location and they shouldn't share the same key. I tried in vain to add encryption key as an optional additional parameter to set_encrypt_session or set_decrypt_session but got stuck when I couldn't tell whether the optional parameter was specified.

As an alternative I added two new directives:
set_encrypt_session_keyed $target <value> <key>
set_decrypt_session_keyed $target <value> <key>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants