1
0
mirror of https://github.com/ssh-vault/ssh-vault.git synced 2026-10-24 08:19:17 +03:00
🚀
2023-11-12 21:16:39 +01:00
2026-08-16 14:42:53 +02:00
2026-09-29 04:42:18 +00:00
2026-07-07 17:50:25 +02:00
🚀
2023-11-12 21:16:39 +01:00
2026-04-13 10:33:29 +02:00
2025-12-16 22:29:29 +01:00
2017-11-06 18:48:00 +01:00
2026-01-06 11:26:22 +01:00
2016-09-29 18:29:04 +02:00
2026-04-13 10:33:29 +02:00

ssh-vault 🌰

Test & Build Security Audit codecov crates.io Security Policy

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

Development Notes

ssh-vault uses rand 0.10 for application-owned randomness.

The remaining older rand in the dependency graph is currently transitive via the released rsa / ssh-key stack. Keep new application code on rand 0.10 APIs and only use the RSA-local compatibility path where rsa requires its own rand_core types. Revisit this when upstream releases remove that constraint.

Issues

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

Description
Шифрование/дешифрование с помощью ssh-ключей
Readme BSD-3-Clause 1.5 MiB
Languages
Rust 99.6%
Shell 0.2%
Dockerfile 0.2%