docker-ldap-auth/root/app/fernet-key.py
2024-12-25 11:35:00 -05:00

8 lines
160 B
Python

#!/bin/sh
''''which python >/dev/null && exec python "$0" "$@" # '''
from cryptography.fernet import Fernet
key = Fernet.generate_key()
print(key.decode())