Skip to content
/ zssl Public

Extremely simple encryption and decryption tool based on ssh public and private RSA keys

Notifications You must be signed in to change notification settings

pcarranza/zssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZSSL

Status

Build Status Coverage Status

Description

Enveloped encryption for secure file sharing based on ssh RSA keypairs

Synopsis

myhost ~$ zssl -i your_ssh_key.pub e file_to_share.plain file_to_share.encrypted

yourhost ~$ zssl d file_to_share.encrypted file_to_share.decrypted

Install

gem install zssl

Parameters

--identity, -i

The first and second arguments will be replaced with stdin and stdout respectively if not provided.

Principles and goals

  • Share files of any size through email without installing PGP, or S/Mime
  • Or whatever transport you want to use
  • No need to install drivers or obscure OS features
  • Make it a reusable gem to use ssh RSA key encryption in any project

Acceptance test

F=~/a_file_to_test ; expected=$(md5 < $F) ; zssl e < $F > ~/testfile ; result=$(zssl d < ~/testfile | md5) ; if [ "$expected"="$result" ]; then echo "All good" ; else echo "Something went wrong: $expected != $result" ; fi

About

Extremely simple encryption and decryption tool based on ssh public and private RSA keys

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages