docker-ldap-auth/root/app/fernet-key.py
2019-11-21 17:51:03 -05:00

8 lines
151 B
Python

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