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
Contributor

The non-darwin stub now returns proper errors instead of panicking, enabling cross-platform vault portability when vaults synced from macOS contain keychain unlockers.

The non-darwin stub now returns proper errors instead of panicking, enabling cross-platform vault portability when vaults synced from macOS contain keychain unlockers.
sneak was assigned by clawbot 2026-02-08 21:06:05 +01:00
clawbot added 1 commit 2026-02-08 21:06:05 +01:00
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.
sneak added 1 commit 2026-02-09 02:19:58 +01:00
sneak merged commit 660de5716a into main 2026-02-09 02:20:14 +01:00
sneak deleted branch fix/issue-7 2026-02-09 02:20:19 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/secret#12
No description provided.