Crates.io | ssh-vault |
lib.rs | ssh-vault |
version | 1.0.14 |
source | src |
created_at | 2023-11-13 09:11:23.03692 |
updated_at | 2024-11-02 06:17:52.199338 |
description | encrypt/decrypt using ssh keys |
homepage | https://ssh-vault.com/ |
repository | https://github.com/ssh-vault/ssh-vault |
max_upload_size | |
id | 1033393 |
size | 215,725 |
encrypt/decrypt using ssh keys
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>
$ 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
brew install ssh-vault
$ cargo install ssh-vault
Please feel free to raise any issue, feature requirement or a simple comment here.