fix: remove keyType from encrypted fields #480

Merged
ghost merged 1 commits from fix/keytype-field-encryption into main 2026-01-12 07:32:38 +00:00
ghost commented 2026-01-02 17:30:41 +00:00 (Migrated from github.com)

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

## 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 - [x] Verified metrics collection returns real data (CPU, memory, disk, uptime) - [x] SSH terminal connections work correctly - [x] File manager functional 🤖 Generated with [Claude Code](https://claude.com/claude-code)
LukeGus (Migrated from github.com) reviewed 2026-01-02 17:30:41 +00:00
Sign in to join this conversation.