-
Notifications
You must be signed in to change notification settings - Fork 1
Key Workflows
dh00mk3tu edited this page Aug 20, 2025
·
1 revision
- Component mounts
-
fetchSSHKeys()called automatically -
getLoadedSSHAgentKeys()called automatically - UI updates with current key status
- Backend scans
~/.ssh/directory - Identifies
.pubfiles - Runs
ssh-keygen -lvon each file - Parses output for key information
- Returns structured data to frontend
- User opens CreateKeyModal
- Fills in key details (email, type, size, passphrase)
- Frontend validates input
- Backend executes
ssh-keygencommand - Success/error feedback to user
- Key list refreshes automatically
- User clicks remove button on KeyCard
- RemoveKeyConfirmationModal opens
- User confirms deletion
- Backend removes key files using filename
- Success feedback and modal closes
- Key list refreshes automatically
- Frontend polls for SSH agent status
- Compares available keys vs. loaded keys
- Updates UI to show active/inactive status
- Real-time status indicators