Find a file
Adrien Gallouët 7417bf0ee0 Import code
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-24 06:55:38 +00:00
argz Import code 2020-04-24 06:55:38 +00:00
libhydrogen@3de3effcab Import code 2020-04-24 06:55:38 +00:00
.gitignore Import code 2020-04-24 06:55:38 +00:00
.gitmodules Import code 2020-04-24 06:55:38 +00:00
LICENSE Initial commit 2020-04-24 08:44:08 +02:00
Makefile Import code 2020-04-24 06:55:38 +00:00
README.md Import code 2020-04-24 06:55:38 +00:00
secret.c Import code 2020-04-24 06:55:38 +00:00

secret

Keep your little secrets, publicly.

Features

  • Only one file to backup: ~/.secret.
  • No configuration: get back your file and you're done.
  • URLs/logins/scopes are encrypted too.
  • Secret agent that allows shell completion (only bash for now).
  • Support many passwords (a visual hash might be required).
  • Depends only on the libhydrogen library.
  • Small, simple and non obfuscated C code.

Build and install

$ make install prefix=/usr

Commands

$ secret
Available commands:
    init      Init secret storage
    list      List all secrets
    add       Add a new secret
    show      Show a secret
    change    Change a secret
    agent     Exec in secret zone

Examples

Initialize secret:

$ secret init

Add a new generated secret called 'test':

$ secret add test
Password:
Secret [random]:
9{6u0ue>5&W2+z#OR:`X<@-#

Show secret 'test':

$ secret show test
Password:
9{6u0ue>5&W2+z#OR:`X<@-#

Start a secret zone:

$ secret agent bash
Password:

You can now manipulate your secrets easily and with completion:

$ ./secret show test
9{6u0ue>5&W2+z#OR:`X<@-#