Fix Shell Temp Directory Cleanup Edge Cases #16

Open
opened 2026-02-16 14:39:32 +00:00 by boris · 0 comments
Owner

As a platform engineer I want ephemeral shell key material cleaned up even on startup failures in order for me to avoid leftover sensitive files.

Acceptance Criteria:

Within 5 calendar days, temp directory cleanup runs regardless of SSH startup success/failure path.
Regression test simulating repeated failed connects leaves zero keywarden-shell-* directories.
Cleanup behavior is idempotent and does not raise exceptions during disconnect.
Existing shell connect/disconnect behavior remains unchanged for successful sessions.
As a platform engineer I want ephemeral shell key material cleaned up even on startup failures in order for me to avoid leftover sensitive files. Acceptance Criteria: Within 5 calendar days, temp directory cleanup runs regardless of SSH startup success/failure path. Regression test simulating repeated failed connects leaves zero keywarden-shell-* directories. Cleanup behavior is idempotent and does not raise exceptions during disconnect. Existing shell connect/disconnect behavior remains unchanged for successful sessions.
boris added this to the Minumum Marketable Product milestone 2026-02-16 14:39:32 +00:00
boris added the Kind/EnhancementKind/Security
Priority
High
2
labels 2026-02-16 14:39:32 +00:00
boris self-assigned this 2026-02-16 14:39:32 +00:00
boris added this to the Keywarden project 2026-02-16 14:39:32 +00:00
Sign in to join this conversation.