Coder Social home page Coder Social logo

rsa-vault's Introduction

rsa-vault

A little library meant to generate, store and provide rsa keys.

Purpose

The app is built to serve as a repository for rsa keypairs. The respository can hold an arbitrary amount of keypairs, each defined by an identifier defining the application the keypair is defined for. The keypairs have a lifetime of 15 days. I made this to act as an unified cryptographic provider for projects running on the same local server. Main intent is to use JSON Web Token (JWT) without having to rely on external providers.โ€Š

Environment / Dependencies

  • Targeted for node.js, using Typescript superset for coding.
  • Persitence relying on mongodb.
  • DAL built on top mongoose & Typegoose.
  • node-rsa for crypto.
  • jest for tests.

Tests

Using jest npm t npx jest npx jest --watch

Version history

  • 0.0.1 : Crypto service to serve/generate keypairs.
  • 0.0.2 : Moving to gulp 4.0.0.
  • 0.0.3 : Using new mongodb url parser.
  • 0.0.4 : It's really time to put up some proper testing scheme.. (removing live tests from the index file).
  • 0.0.5 : Adding mongodb basic authentication support.
  • 0.0.6 : Adding caching to limit db calls. End object now returns the previously generated public key, to let the consumer verify messages signed with the previous key.
  • 0.0.7 : Simplifying DB setup, expecting an interface as input.
  • 0.0.8 : Fixing the issue with multiple connections.
  • 0.0.9 : Properly closing the connection once we're done this time..s.
  • 0.1.0 : Adding sasslprep and adding some tests using jest.
  • 0.1.1 : Fixing package description.
  • 0.1.2 : Updating dependencies (mainly mongoose).

rsa-vault's People

Contributors

dependabot[bot] avatar jpb06 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.