14 stable releases

new 1.0.14 Nov 2, 2024
1.0.13 Jun 19, 2024
1.0.12 Apr 6, 2024
1.0.11 Mar 7, 2024
1.0.7 Nov 20, 2023

#243 in Cryptography

Download history 3/week @ 2024-08-12 2/week @ 2024-08-19 11/week @ 2024-09-16 14/week @ 2024-09-23 29/week @ 2024-09-30 18/week @ 2024-10-07 2/week @ 2024-10-14 8/week @ 2024-10-21 127/week @ 2024-10-28

156 downloads per month

BSD-3-Clause

125KB
3K SLoC

ssh-vault 🌰

Deploy test codecov crates.io

encrypt/decrypt using ssh keys

Documentation

https://ssh-vault.com

The legacy SSH RSA keys with header -----BEGIN RSA PRIVATE KEY----- are not any more supported, convert your key to new format with:

ssh-keygen -p -f <path/to/your/private.key>

Usage

$ ssh-vault -h
encrypt/decrypt using ssh keys

Usage: ssh-vault [COMMAND]

Commands:
  create       Create a new vault [aliases: c]
  edit         Edit an existing vault [aliases: e]
  fingerprint  Print the fingerprint of a public ssh key [aliases: f]
  view         View an existing vault [aliases: v]
  help         Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Examples:

Create a vault:

$ echo "secret" | ssh-vault create -u <github.com/user>

View a vault:

echo "SSH-VAULT..."| ssh-vault view

Share a secret:

$ echo "secret" | ssh-vault create -u new

Installation

Mac OS

brew install ssh-vault

Using Cargo

$ cargo install ssh-vault

Issues

Please feel free to raise any issue, feature requirement or a simple comment here.

Dependencies

~18–34MB
~552K SLoC