blackbox

module
v0.0.0-...-57e9fdd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2016 License: MIT

README

BlackBox

Encryption Key Management System

BlackBox enables you keep file encrytion key on the server, agent never keeps the key and only gets it's key on-demand. System using client side certificate authentication, following extension is required: "X509v3 Extended Key Usage: TLS Web Client Authentication, TLS Web Server Authentication"

NOTE: For the certificate signature hash algorithm, md5 is not supported, please use sha256/384/512 instead.

Requirement:
gkvlite
go get github.com/steveyen/gkvlite
BlackBox
Server side program, generate and keep keys.
  -a string
    	CA cert file. (default "ca.pem")
  -c string
    	Server cert file. (default "server.pem")
  -d	Daemon mode.
  -f string
    	Database cache location. (default "/tmp")
  -k string
    	Server key file. (default "server.key")
  -p int
    	Listen port. (default 23333)
Agent
Client side program, request key and encrypt/decrypt files.
  -a string
    	CA cert file. (default "ca.pem")
  -c string
    	Agent cert file. (default "agent.pem")
  -d	Decrypt mode.
  -e	Encrypt mode.
  -f string
    	Path to the file.
  -k string
    	Agent key file. (default "agent.key")
  -p string
    	Path to the folder.
  -r	Remove the original file.(encrypt only)
  -s string
    	Encrypt file suffix. (default "blackbox")
  -t string
    	Target address with port. (default "127.0.0.1:23333")

Directories

Path Synopsis
Blackbox agent is a client side program which encrypt/decrypt files.
Blackbox agent is a client side program which encrypt/decrypt files.
cli
Package cli implements command line arguments.
Package cli implements command line arguments.
connect
Package connect implements connection and protocol functions to blackbox servrer.
Package connect implements connection and protocol functions to blackbox servrer.
operation
Package operation is for agent file/folder encryption/decryption.
Package operation is for agent file/folder encryption/decryption.
Blackbox server is the manager for encryption keys.
Blackbox server is the manager for encryption keys.
Package cache implements a interface to use gkvlite.
Package cache implements a interface to use gkvlite.
Package cli implements command line arguments.
Package cli implements command line arguments.
Package constants define constant variables for the entire blackbox project.
Package constants define constant variables for the entire blackbox project.
Package daemon implements blackbox server listening service.
Package daemon implements blackbox server listening service.
Package worker impelements worker goroutines to generate random values.
Package worker impelements worker goroutines to generate random values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL