Giter VIP home page Giter VIP logo

gh-hash-registry's Introduction

gh-hash-registry

Publish hashes (of credentials, but really could be anything) to a GitHub repository for later verification and audit.

This is effectively a 'shadow' or 'mirror' registry of of all know 'issuances' of a credential. The shadow registry mirrors the 'real' records, but using hashes, which don't reveal any private data, yet still provide a unique 'fingerprint' of the record that can be published freely without compromising privacy.

This registry could be used on its own to verify credentials, but is meant to be used in combination with a cryptographic signature on the credential itself. The cryptograpic signature provides the fundamental guarantee of authenticity, and the shadow registry provides an additional guarantee, but more importantly provides a way to audit all known credential issuances, comparing what's in the shadow registry to the records in the canoncical database (like a university registrar's list of known diplomas), to thereby discover fraudulent issuances.

Development

We're following the process for testing and releasing NPM packages that is described here:

https://cheatcode.co/tutorials/how-to-write-test-and-publish-an-npm-package

So note that in particular you'll want to install the Verdaccio tool that runs a mock NPM repository locally on your laptop thereby letting you test the developmen version of your NPM package within another project, without having to publish the package to the 'real' NPM repository.

To install Verdaccio:

npm install -g verdaccio

To run it:

verdaccio

Once running - at http://localhost:4873 - you'll have to login to it with your npm account, as described by the Verdaccio welcome screen at that url.

Verdaccio is used by the release script in release.js, which is in turn invoked from the release scripts (release.development and release.production) defined in package.json

gh-hash-registry's People

Contributors

jchartrand 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.