ai-cfia / membrane-backend

Membrane Backend: A centralized authentication service for Single Sign-On (SSO) enabling seamless token-based email verification across multiple client applications.
MIT License
1 stars 0 forks source link

Rework key generation script #46

Closed rngadam closed 11 months ago

rngadam commented 11 months ago

This requires a bit more careful attention to error handling and non-zero exits when executing:

https://github.com/ai-cfia/louis-login-backend/blob/c5a407ecb7d8b9445d5274657e630dd6dcb1bbc6/generate_keys.sh#L4

pushing all output to /dev/null is not good practice (at least should go to a log file and check exit code)

we should look into using set -x and set -e systematically.