Giter VIP home page Giter VIP logo

keytar-rs's Introduction

Hey there ๐Ÿ‘‹

  • ๐ŸŒ R&D Software Engineer at @BroadcomMFD ~ @Zowe
  • ๐Ÿ”ญ Working on a C++ UI framework in my spare time
  • ๐ŸŒฑ Learning about Windows internals and kernel manipulation
  • ๐Ÿ“ซ https://trae.is
  • โšก Experienced with C, C++, CSS3, HTML5, Java, JavaScript, .NET, Python, React.js, Rust, SQL, TypeScript

keytar-rs's People

Contributors

dependabot[bot] avatar t1m0thyj avatar traeok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

keytar-rs's Issues

Configuration options

Allowing the user to pass different configuration options will provide them with some granularity as to how they want to use keytar-rs. Suggested options include:

  • "use native" or similar option to enable/disable using Node native binaries
    • When disabled, it will (eventually) fall back to @t1m0thyj 's node-password-store for native JS credential management
    • When enabled, it will operate under normal circumstances and pick the right Node binary to import from in index.js
  • A "provider" option to pass a different provider instead of the default ones used for their OS
    • Currently, no providers are explicitly "defined," but structuring the current provider around this concept will make it easier to add more providers down the line.
  • etc.

More comprehensive unit tests

Currently a few tests exist to check typical user data, e.g. UTF-8, UTF-16 and mixed character sets - but it would be best to add a few more data types to ensure nothing is being lost in translation during storage/retrieval.

Suggestions:

  • Test for binary data
  • Test for corrupt data (?)
  • Test for missing data
  • Tests that explicitly break execution, to solidify core functionality

Better error handling / error enum

To connect this with PR #6 :

Error handling uses a structure and involves a lot of boilerplate to convert other error types to a "keytar" Error.

Suggestion: Use a crate such as thiserror to make an Error enum, therefore avoiding error message boilerplate and tons of impl blocks to convert error types.

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.