GithubHelp home page GithubHelp logo

rsksmart / rif-identity-manager Goto Github PK

View Code? Open in Web Editor NEW
1.0 6.0 5.0 80.35 MB

Manage your identity, assets, credentials, storage and reputation in a single platform!

Home Page: https://identity.rifos.org/

License: MIT License

JavaScript 0.38% HTML 0.41% SCSS 5.87% TypeScript 93.34%
rsk rif ssi ipfs did vcs

rif-identity-manager's Introduction

logo

RIF Identity Manager

Allows users to manager self sovereign identity and persona information.

npm Alerts Code Quality Coverage Status

Available Scripts

yarn

Install project dependencies

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

yarn test

Runs the tests, displays coverage, and runs the linter. See below for more specific commands

yarn test:watch

Launches the test runner in the interactive watch mode.

yarn test:coverage

Runs the test coverage and saves the report in thecoverage folder.

yarn lint

Runs the linter and returns status.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

CI scripts

yarn test:ci

Runs the test coverage and saves the report in thereports folder. Uses maxWorkers=2 - CircleCI recommendation

yarn test:ci

Runs the linter and saves the report in thereports folder.

Knowledge base

This project was bootstrapped with the Typescript tempalte of Create React App and added Eslint, CircleCI, and Enzyme testing utility.

Current React.js version: v17.0.1, but Enzyme is set up for v16 - this will be upgraded when Enzyme releases a new version.

rif-identity-manager's People

Contributors

ilanolkies avatar javiesses avatar jessgusclark avatar juan-rsk avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rif-identity-manager's Issues

DataVault is requesting signing permission twice.

DV is requesting permission twice because of the two calls, getAllKeys and getStorageInformation. These should be chained together with callback type promises and at the end, if successful return a DV client.

In addition, if the auth fails, then the DV client should not be saved into context. I would imagine on operations/identity.ts the flow would be something like this:

initDataVaultClient(web3Provider, did)
   .then(dvClient => {
      context.setDvClient(dvClient
   }
   .catch(() => // no datavault init.

Add Data Vault to Ethereum DIDs

At this moment the Data Vault is not appearing when logging in with an Ethereum DID.

Would it be possible to support the main chain and at least one testnet (eg, Kovan)?

Example logging in with Argent using Eth mainnet, no data vault section:

Screen Shot 2020-12-04 at 18 44 35

Add RNS support

Enable RNS in address inputs

Extras

Build a standalone component using RNS SDK to be librarized

Logged out when refreshing the page

Log out when Refresh error. To reproduce it:

  • I’m in the id mgr
  • I REFRESH the page (or cmd+R)
  • I get “logged out” (not a full logout, but you are redirected to the login page)

Add ganache testing

The nice dev env flow would:

  • Start ganache
  • Deploy DID Registry on ganache
  • Re-write src/config/config.testing.json setting the address and ganache port/location

Profile shows empty values when the content is encrypted.

When content is in the datavault but the manager has not decrypted it yet, the profile section shows that there is no content.

The manager knows the keys but not the content, so when the user clicks on the profile, they should be prompted to decrypt the content before editing/updating/adding.

If there are no keys or if all keys are encrypted, allow the user to edit/update the content without prompting them.

Add logout option

There is no logout option.
We should add it.

"As an Id Mgr user I want to log out from it by pressing a log out button"

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.