summaryrefslogtreecommitdiff
path: root/README
blob: 57e816b79a34f7a5c479deb4f932e670f0db4fef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
-*- mode: org -*-

Shroud is a simple secret manager with a command line interface.  The
password database is stored as a Scheme s-expression and encrypted
with a [[gnupg.org][GnuPG]] key.

Each secret is indentified by a unique name and may contain an
arbitrary set of key/value data pairs.

* Usage

  #+BEGIN_SRC sh
    # Add a new secret:
    shroud hide bank-account username=foobar password=hackme

    # Edit an existing secret:
    shroud hide --edit bank-account password=hackmepls

    # List all secrets:
    shroud list

    # Show all key/value pairs for a saved secret:
    shroud show bank-account

    # Show a single value in a secret:
    shroud show bank-account password

    # Copy a password directly to X clipboard:
    shroud show -c bank-account password

    # Delete a secret:
    shroud remove bank-account
  #+END_SRC

* Dependencies

  - GNU Guile >= 2.0.11
  - GnuPG >= 1.4

* Installation

  Shroud uses the familiar GNU build system.

  #+BEGIN_SRC sh
    ./bootstrap && ./configure && make && make install
  #+END_SRC

  Depending on your chosen installation prefix via the =--prefix=
  option to the configure script (which defaults to =/usr/local=,
  users may need to setup the =GUILE_LOAD_PATH= and
  =GUILE_LOAD_COMPILED_PATH= environment variables to include the
  directory where Shroud's Guile modules were installed.

  For example, GNU Bash users may add the following snippet to their
  =$HOME/.bash_profile=:

  #+BEGIN_SRC sh
    export GUILE_LOAD_PATH=/usr/local/share/guile/2.0
    export GUILE_LOAD_COMPILED_PATH=/usr/local/share/guile/2.0
    export PATH=/usr/local/bin:$PATH
  #+END_SRC