Non-darwin KeychainUnlocker stub returns errors instead of panicking (closes #7) #12

Merged
sneak merged 2 commits from clawbot/secret:fix/issue-7 into main 2026-02-09 02:20:14 +01:00

2 Commits

Author SHA1 Message Date
51fb2805fd Merge branch 'main' into fix/issue-7 2026-02-09 02:19:56 +01:00
clawbot
4419ef7730 fix: non-darwin KeychainUnlocker stub returns errors instead of panicking
The stub previously panicked on all methods including NewKeychainUnlocker,
which is called from vault code when processing keychain-type unlocker
metadata. This caused crashes on Linux/Windows when a vault synced from
macOS contained keychain unlockers.

Now returns proper error values, allowing graceful degradation and
cross-platform vault portability.
2026-02-08 12:05:38 -08:00