Add bin/fernetkey that generates a key for the OIDC_STORE_REFRESH_TOKEN_KEY setting. Signed-off-by: Fabre Florian <ffabre@hybird.org>
7 lines
251 B
Bash
Executable File
7 lines
251 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# shellcheck source=bin/_config.sh
|
|
source "$(dirname "${BASH_SOURCE[0]}")/_config.sh"
|
|
|
|
_dc_run app-dev python -c 'from cryptography.fernet import Fernet;import sys; sys.stdout.write("\n" + Fernet.generate_key().decode() + "\n");'
|