Git Product home page Git Product logo

nessnodetester's Introduction

NESS Node Tester - test suit for NESS nodes

  • codegen.py

Private and public code generation for user (client) and node

Usage:

# Code generator for Ness nodes
### DESCRIPTION:
  Generates ciphers for NESS nodes and NESS node clients
  Works on ed25519 for keypairs and Blowfish or AES for symmetrical ciphers
### DIRECTORIES:
 'out/keys/node/*.key.json' - generated nodes
 'out/keys/user/*.key.json' - generated users
### USAGE:
#### Generate user
python codegen.py -ug username 10 "1,blowfish,16;1,aes,8" "Hello World,test"
python codegen.py --user-generate username 10 "1,blowfish,16;1,aes,8" "Hello World,test"
  Generates user with username 'username' with 10 keypairs
  1,blowfish,16 - generate 1 Blowfish cipher 16 bytes long
  1,aes,8 - generate 1 AES cipher 8 bytes long
  "Hello World,test" - coma separated tags
#### Show generated user
python codegen.py -us username
python codegen.py --user-show username
#### Show <WORM> part of generated user
python codegen.py -usw username
python codegen.py --user-show-worm username
#### Generate node
python codegen.py -ng http://my-ness-node.net "Test,My test node,Hello world"
python codegen.py --node-generate http://my-ness-node.net "Test,My test node,Hello world"
  "Test,My test node,Hello world" - coma separated tags
#### Show generated node
python codegen.py -ns http://my-ness-node.net
python codegen.py --node-show http://my-ness-node.net
#### Show <WORM> part of generated node
python codegen.py -nsw http://my-ness-node.net
python codegen.py --node-show-worm http://my-ness-node.net
#### Show version
python codegen.py -v
python codegen.py --version
#### Show this manual
python codegen.py -h
python codegen.py --help
  • configen.py

Configuration generation for node

Usage: python configen.py <node URL>

  • test-auth.py

Authentication testing

Run after codegen.py

Usage: python test-auth.py <username> <node URL>

Instalation

pip install requests, nacl, pynacl, pycryptodome, validators, lxml

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.