tconfig.def.h - safe - password protected secret keeper
(HTM) git clone git://git.z3bra.org/safe.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tconfig.def.h (877B)
---
1 /*
2 * Base directory to use when storing secrets. This can be overriden
3 * with the $SAFE_DIR environment variable or -s flag.
4 */
5 char safe_dir[] = ".secrets";
6
7 /*
8 * Path to the executable to use when prompting user for the master
9 * password, and no TTY is available.
10 * This can be overriden with the $SAFE_ASKPASS environment variable.
11 */
12 char askpass_path[] = "/usr/X11R6/bin/ssh-askpass";
13
14 /*
15 * Name of the entry that will hold the master password
16 * This entry must exist as it is used to ensure all passwords are
17 * encrypted with the same key.
18 */
19 char master_entry[] = "master";
20
21 /*
22 * mkdtemp(3) template and snprintf(3) format to use to construct the
23 * full path where the agent socket will be created.
24 */
25 char agent_socktmp[] = "/tmp/safe-XXXXXX"; /* path MUST end with "XXXXXX" */
26 char agent_sockfmt[] = "agent.%d"; /* use %d to include agent pid */