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

JWT token security #4

Open
csterling opened this issue Jul 3, 2020 · 1 comment
Open

JWT token security #4

csterling opened this issue Jul 3, 2020 · 1 comment
Assignees
Labels
back-burner Not a priority right now security A restriction is undermined

Comments

@csterling
Copy link
Contributor

Tokens are currently stored in plain-text on disk. Anyone who gains access to the token can authenticate as the user.

Investigate ways of shoring up this problem.

@csterling csterling added the back-burner Not a priority right now label Jul 3, 2020
@csterling csterling self-assigned this Jul 3, 2020
@csterling csterling added the security A restriction is undermined label Jul 3, 2020
@fracpete
Copy link
Member

fracpete commented Jul 3, 2020

A simple measure would be to ensure that the parent directory (on Linux) has 0700 as octal permissions and 0600 on the file itself (like $HOME/.ssh).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-burner Not a priority right now security A restriction is undermined
Projects
None yet
Development

No branches or pull requests

2 participants