#ockam #crypto #cryptography #network-programming #encryption

bin+lib ockam_command

End-to-end encryption and mutual authentication for distributed applications

7 releases (breaking)

Uses new Rust 2021

new 0.76.0 Sep 21, 2022
0.75.0 Sep 9, 2022
0.74.0 Sep 7, 2022
0.73.0 Sep 5, 2022
0.68.0 Aug 4, 2022

#417 in Cryptography

Download history 9/week @ 2022-07-29 15/week @ 2022-08-05 20/week @ 2022-08-12 7/week @ 2022-08-19 28/week @ 2022-08-26 38/week @ 2022-09-02 39/week @ 2022-09-09 33/week @ 2022-09-16

139 downloads per month

Apache-2.0

690KB
16K SLoC

Ockam Command (WIP)

Running

cargo build

Help:

target/debug/ockam -h or --help or help

Node command mock up:

target/debug/ockam node create

Status


Configuration

  • Command line args
  • Optional ockam.toml (override name with -c)
  • Optional ockam_secrets.toml for distinct secret management (override name with -s)
  • Environment variables
    • Support for .env file
    • Automatically pulls in all vars with OCKAM_ prefix

Subcommands

  • Support for subcommands (which can have subcommands, etc)
  • Easily modifiable cli.yml driven command and arg configuration
  • Modular, loosely coupled command pattern

Help

  • Very verbose usage help text for commands and subcommands
  • Auto generated from cli.yml

Process control

  • Ctrl+C handling
  • Human readable panics

UI

  • Rich colorized text support
  • Progress bars / spinners
  • Tables

Logging

  • Rich, colorized logging
  • Debug and trace support via environment variables

Dependencies

~24–34MB
~635K SLoC