Skip to content

jbygdell/crypt4gh

 
 

Repository files navigation

crypt4gh

Build Status GoDoc CodeFactor Go Report Card codecov Dependabot Status Sourcegraph for Repo Reference Count DeepSource

Overview

File structure

Specification

Current version of specs can be found here.

Installation

Linux

curl -fsSL https://raw.githubusercontent.com/elixir-oslo/crypt4gh/master/install.sh | sudo sh

MacOS

curl -fsSL https://raw.githubusercontent.com/elixir-oslo/crypt4gh/master/install.sh | sh

Windows

Go to the releases page and download the binary manually.

Usage

$ crypt4gh
crypt4gh [generate | encrypt | decrypt] <args>

 generate:
  -n, --name=                     Key pair name
  -f, --format=[openssl|crypt4gh] Key pair format
  -p, --password=                 Password to lock Crypt4GH private key (will be prompted afterwords if skipped)

 encrypt:
  -f, --file=FILE      File to encrypt
  -s, --seckey=FILE    Secret key to use
  -p, --pubkey=FILE    Public key to use

 decrypt:
  -f, --file=FILE      File to decrypt
  -s, --seckey=FILE    Secret key to use

Packages

No packages published

Languages

  • Go 89.5%
  • Shell 10.5%