Skip to content

Conversation

@jeffersonwarrior
Copy link
Contributor

Summary

  • Remove keyType from ENCRYPTED_FIELDS in ssh_data set
  • Remove keyType from ENCRYPTED_FIELDS in ssh_credentials set

Problem

keyType was being incorrectly encrypted as if it were sensitive data. However, keyType only contains non-sensitive metadata values like "rsa", "ed25519", or "auto".

This caused SSH connection failures with the error:

Cannot parse privateKey: Unsupported OpenSSH private key type: slh-rsa

The SSH client library was receiving an encrypted JSON string instead of the simple key type string it expected.

Test plan

  • Verified metrics collection returns real data (CPU, memory, disk, uptime)
  • SSH terminal connections work correctly
  • File manager functional

🤖 Generated with Claude Code

keyType is not sensitive data (just 'rsa', 'ed25519', 'auto', etc.)
and was being incorrectly encrypted, causing SSH connection failures
with the error: 'Cannot parse privateKey: Unsupported OpenSSH
private key type: slh-rsa' because the client received an
encrypted JSON string instead of the key type.

- Remove keyType from ENCRYPTED_FIELDS in ssh_data set
- Remove keyType from ENCRYPTED_FIELDS in ssh_credentials set

Fixes SSH key authentication for metrics and terminal connections.

Tested: Verified metrics collection returns real data (CPU, memory, disk,
uptime) after this fix.
@ZacharyZcR ZacharyZcR added the bug Something isn't working label Jan 4, 2026
@ZacharyZcR ZacharyZcR requested a review from LukeGus January 4, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants