Skip to content
/ syk Public
forked from jcbritobr/vault

SYK (store your keys) is a key value store for your keys. The keys are stored and persisted in json format file.

License

Notifications You must be signed in to change notification settings

jgardona/syk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SYK

Syk (store your keys) is a key value store for your keys. The keys are stored and persisted in json format file.

  • Install
cargo install syk
  • How to use?
$ syk -h
A key value tool to persist your passwords

Usage: syk <COMMAND>

Commands:
  read    Read data from storage
  create  Create an empty storage
  insert  Insert an item in storage
  remove  Remove an item from storage
  lock    Encrypt and compress storage data
  unlock  Decrypt and decompress storage data
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version
  • Create storage
$ syk create ~/.storage
  • Insert
$ syk insert ~/.storage "user" "key" "description"
  • List
$ syk read ~/.storage -l
+----+---------------------+-----------------+-----------------------------+
| id | user                | password        | description                 |
+----+---------------------+-----------------+-----------------------------+
| 3  | [email protected]      | zxcffddxxssdddd | bbbbbbbbbbb                 |
+----+---------------------+-----------------+-----------------------------+
| 2  | [email protected]      | zxcffddxxssdddd | ccccccccccccccccccccccccccc |
+----+---------------------+-----------------+-----------------------------+
| 1  | [email protected]      | zxcffddxxssdddd | kkkkkkkkkkkkkkkkkk          |
+----+---------------------+-----------------+-----------------------------+
  • Remove
$ syk remove ~/.storage 1
  • Lock

Lock will encrypt and compress your storage to make it safe.

$ syk lock ~/.storage ~/.storage_package
  • Unlock

Unlock will decompress and decrypt your storage to make it readable.

$ syk unlock ~/.storage_package ~/.storage

About

SYK (store your keys) is a key value store for your keys. The keys are stored and persisted in json format file.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Rust 99.8%
  • Shell 0.2%