serverless-secrets-plugin
serverless-secrets-plugin copied to clipboard
Encrypt and Decrypt are not compatible between OSX and Windows OS.
How to reproduce:
-
Execute on OSX: sls encrypt -s stag --password 'xxx'
-
Commit to git secrets.prod.yml.encrypted.
-
Make git pull of the same file on Win10.
-
Execute on Win10: sls decrypt -s stag --password 'xxx'
-
Error: Error -------------------------------------------------- error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable. Get Support -------------------------------------------- Docs: docs.serverless.com Bugs: github.com/serverless/serverless/issues Issues: forum.serverless.com Your Environment Information ----------------------------- OS: win32 Node Version: 8.9.1 Serverless Version: 1.28.0
-
File unreadable. Note: the passwords used are correct. I double checked and the encrypt|decrypt still work on my Mac (where I initially encrypted files).