Moved key generate to bash script

This commit is contained in:
Benjamin Sherriff
2024-01-29 22:12:59 -05:00
parent 4609be84a8
commit d74e8e181b
4 changed files with 26 additions and 9 deletions

View File

@@ -73,4 +73,4 @@ docker run --env-file .env -it --rm --name siren siren:latest
### Authentication
The Siren service uses a JWT/session based authentication system, in that JWT tokens are issued and used, but a state is also kept server-side. This is to allow for the ability to revoke and expire tokens, as well as to allow for the ability to have multiple tokens per user.
Public/Private keys can be generated with `make generate`. These keys should be located within a `/keys` directory in the root of the project.
Public/Private keys can be generated with `./generate_keys.sh`. These keys should be located within a `/keys` directory in the root of the project. The service's .env file should be updated to reflect the location of the keys.