Giter Site home page Giter Site logo

brightid-cli's Introduction

brightid-cli

The brightid-cli is a command line interface for BrightID.

Installation

The brightid-cli can be installed using:

$ sudo pip3 install brightidcli

It also can be installed from source with:

$ git clone https://github.com/BrightID/brightid-cli
$ cd brightid-cli
$ python3 setup.py install

Commands

admin

Commands under admin namespace enable BrightID node admins manage their nodes

import-context
$ brightid admin import-context --help
Usage: brightid admin import-context [OPTIONS]

  Imports a new context to the node by getting contextIds linked under that
  context from a remote BrightID node

Options:
  --context TEXT      The id of the context  [required]
  --remote-node TEXT  The address of the remote BrightID node, e.g.
                      http://node.brightid.org  [required]

  --passcode TEXT     The one time passcode that the admin of the remote
                      BrightID node sets to authorize getting contextIds from
                      that node  [required]
set-passcode
$ brightid admin set-passcode --help
Usage: brightid admin set-passcode [OPTIONS]

  Sets a one time passcode on a context to authorize getting contextIds
  linked under that context by other nodes

Options:
  --context TEXT   The id of the context  [required]
  --passcode TEXT  The one time passcode  [required]
set-sponsor-private-key
$ brightid admin set-sponsor-private-key --help
Usage: brightid admin set-sponsor-private-key [OPTIONS]

  Sets a private key that enables the node signing sponsor operations for an
  app

Options:
  --app TEXT  The id of the app  [required]
  --key TEXT  The private key for signing sponsor operations  [required]
set-testing-key
$ brightid admin set-testing-key --help
Usage: brightid admin set-testing-key [OPTIONS]

  Sets a testing key on an app to enable its developers block getting
  verification for specific contextIds for testing purpose

Options:
  --app TEXT  The id of the app  [required]
  --key TEXT  The testing key  [required]
  --help      Show this message and exit.

brightid-cli's People

Contributors

abramsymons avatar siftal avatar

Watchers

 avatar  avatar  avatar  avatar

brightid-cli's Issues

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.