Git Product home page Git Product logo

envienc's People

Contributors

imcatwhocode avatar radioegor146 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

radioegor146

envienc's Issues

Increase test coverage

Most of unit tests were outdated and removed on 2.0.0 release. We need to bring them back

Fix crypto module in Bun

I faced the issue with running envienc on Bun โ€“ something wrong with crypto.createCipheriv in Bun's core library.

We need to fix it, and perhaps, introduce binary builds via built-in Bun bundler.

Enhance error output when password is wrong

Current "incorrect password" error message isn't really clear for non-crypto-techie folks:

$ npx envienc decrypt
โœ” ๐Ÿ”‘ Encryption password: ยท ****
node:internal/crypto/cipher:193
  const ret = this[kHandle].final();
                            ^

Error: Unsupported state or unable to authenticate data
    at Decipheriv.final (node:internal/crypto/cipher:193:29)

We need to introduce an error handler returning more obvious message.

Make globs in decrypt action clearer to understand

For decrypt action users should provide a globs matching plaintext file names.

We need to tune this behaviour a bit โ€“ support globs matching encrypted file names as well.

This should be a quite easy and minor change.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.