Skip to content
/ wcb-rs Public

WebCrypto compatible encryption CLI in Rust

Notifications You must be signed in to change notification settings

jo/wcb-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wcb

WebCrypto compatible encryption CLI in Rust.

This CLI handles the Webcryptobox encryption API.

Compatible packages:

See Webcryptobox Rust for the library.

Installation

cargo install wcb

Usage

wcb prints out usage information if you do not provide any command, or via --help.

$ wcb
wcb 
Webcryptobox - WebCrypto compatible cryptography CLI

USAGE:
    wcb <SUBCOMMAND>

OPTIONS:
    -h, --help    Print help information

SUBCOMMANDS:
    decrypt                     Decrypt message
    decrypt-from                Decrypt message with key pair
    decrypt-private-key         Decrypt private key pem
    decrypt-private-key-from    Decrypt private key pem with key pair
    derive-key                  Derive shared AES key
    derive-password             Derive password
    encrypt                     Encrypt message
    encrypt-private-key         Encrypt private key pem
    encrypt-private-key-to      Encrypt private key pem with key pair
    encrypt-to                  Encrypt message with key pair
    fingerprint                 Calculate EC key fingerprint
    help                        Print this message or the help of the given subcommand(s)
    key                         Generate AES key
    private-key                 Generate EC key
    public-key                  Get public key form private key

License

This package is licensed under the Apache 2.0 License.

© 2022 Johannes J. Schmidt