Skip to content
/ sshenc Public

sshenc will make encrypted file by using ssh public key.

License

Notifications You must be signed in to change notification settings

corona6/sshenc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sshenc

sshenc will make encrypted file by using ssh public key.

Installation

$ gem install sshenc

Usage

Encrypt:

$ sshenc file id_rsa.pub

Decrypt:

$ sshenc [-k privatekey] file.sshenc.tar

By default, privatekey is using ~/.ssh/id_rsa

$ sshenc hoge.txt.sshenc.tar

If you want to change the privatekey, please use the option.

$ sshenc -k path/to/id_rsa hoge.txt.sshenc.tar

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

sshenc will make encrypted file by using ssh public key.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages