diff options
author | lamp | 2023-03-05 21:48:37 +0000 |
---|---|---|
committer | lamp | 2023-03-05 21:48:37 +0000 |
commit | 998b06d89b869b9587830ec767c6e30f851fff29 (patch) | |
tree | 08b4a4478dc224abec092611fed40b79769cb216 /README.md |
initmain
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..11784bc --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# pass-cache + +A simple daemon that caches the response from `pass my_entry`. +For use with software that makes frequent calls to `pass`. + +## build + +``` +gcc passcached.c -o passcached +gcc pass-cache.c -o pass-cache +``` + +## usage + +Start `passcached` in the background. +Use `pass-cache` instead of `pass` to retrieve a secret. +You will only need to unlock your keyring for the first invocation of `pass-cache` for a given entry; subsequent requests are served from the cache. +The socket used for communication defaults to `$XDG_RUNTIME_DIR/pass-cache.sock`; this can be manually set with `PASS_CACHE_SOCK`. |