Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decryt file is not specified by out option #19

Open
aiponpa opened this issue Jan 14, 2021 · 3 comments
Open

Decryt file is not specified by out option #19

aiponpa opened this issue Jan 14, 2021 · 3 comments
Projects

Comments

@aiponpa
Copy link

aiponpa commented Jan 14, 2021

Content

When I decrypt an encrypted file using command line

npx secure-env -d -o config/credentials/development.env.enc -s development_key

I encountered the following error.

Secure-env :  ERROR OCCURED .env.enc does not exist.

It seems like that the following line causes this error.
https://github.com/kunalpanchal/secure-env/blob/master/lib/cryptography.js#L17

It is fixed by modifying the line as follows. Could you include this fix in the next release?

    var inputFile = options.file || options.outputFile || '.env.enc';
@github-actions
Copy link

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

@sarawee
Copy link

sarawee commented Apr 22, 2021

See #20

@fsevenm
Copy link

fsevenm commented May 27, 2021

Why no one merges the #20 in, it's a month now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
v1.3.0
to-do
Development

No branches or pull requests

3 participants