From 998b06d89b869b9587830ec767c6e30f851fff29 Mon Sep 17 00:00:00 2001 From: lamp Date: Sun, 5 Mar 2023 21:48:37 +0000 Subject: init --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md (limited to 'README.md') 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`. -- cgit v1.2.3