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

Harden Admin Panel access #91

Merged
merged 2 commits into from
May 17, 2023
Merged

Harden Admin Panel access #91

merged 2 commits into from
May 17, 2023

Conversation

natsukagami
Copy link
Owner

  • An ephemeral session key is generated every restart of kjudge. The cookie now stores this session key.
    This ensures the cookie never lives past kjudge restarting.
  • Access key is no longer stored on the cookie itself.
  • We only store the hash of the key in long-term memory.

- An ephemeral session key is generated every restart of kjudge. The cookie now stores this session key.
  This ensures the cookie never lives past kjudge restarting.
- Access key is no longer stored on the cookie itself.
- We only store the hash of the key in long-term memory.
... and some tools for writing admin panel tests
@natsukagami natsukagami marked this pull request as ready for review May 16, 2023 23:51
@natsukagami natsukagami merged commit d11c567 into master May 17, 2023
@natsukagami natsukagami deleted the better-admin-auth branch May 17, 2023 18:57
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.

1 participant