kunalpanchal/secure-env

Getting corrupted .env file after decryption

Opened this issue · 1 comments

I used this command to decrypt.
npx secure-env --decrypt .env.enc -s xsecretx > .env
The file was decrypted properly.
Then without making any changes, i encrypted it again.
npx secure-env .env -s xsecretx
Now if i'm decrypting again im getting a currepted file
image
can you help me solve this issue

Thanks for raising the issue. Maintainer(s) will look into this shortly.