Repository navigation
Releases
Releases · craftzdog/op-cache
v0.4.0
v0.3.0
Initial public release of op-cache — a fast caching proxy for 1Password CLI op read commands.
Features
- Daemon-based caching proxy for
op read, cutting repeated secret reads from ~200-500ms to ~1-2ms via a Unix socket daemon with an in-memory, TTL-based cache. Includesread,status,stats,clear, andstopcommands. runsubcommand: exec a command withop://references in its environment resolved through the cache.--accountflag onread/runfor multi-account support, with cache entries partitioned per account.--env-fileflag onrunto load secrets from a.envfile.- Batched secret resolution: cache misses in
runare now resolved together via a singleop injectcall, so 1Password prompts for authorization at most once per run instead of once per secret.
Fixes
- Secure Unix socket permissions on bind (restrictive umask plus explicit
0600), closing a race window where the socket could briefly be more permissive.
Refactoring
- Replace the archived/deprecated
serde_yamlwithserde-saphyrfor config parsing, gaining better error diagnostics.
Docs
- Document batched secret resolution and the
--accountflag in the README.
Other
- Bump
forkto 0.8 anddirectoriesto 6, and update remaining dependencies to their latest compatible versions.