# Security

The program holds the passwords of your KVMs and can press the power button of the machines behind them. This page
says what it connects to, what it keeps, and what it assumes.

## What it connects to

- The devices and the qKVM servers you added, directly, at the addresses saved for them.
- `download.qkvm.com` for updates, and GitHub's file host where the signed feed names a file of a GitHub release.
- Only while you search for devices: the private network you chose, at most a /20.

No telemetry, no licence check, nothing that reports use, and no incoming connection.

## How it knows each device

| Device | Known by |
|---|---|
| A KVM over HTTPS, a VNC server over `vncs://` | The certificate it showed first |
| A server's controller | The UUID the server gives for itself |
| A Proxmox VE virtual machine | Its Proxmox's certificate and its SMBIOS UUID |

A password goes only to the device it was saved for.

## What it keeps

- Secrets (device passwords, saved-action texts, server sessions, display links) are in Windows Credential Manager
  only: not in the settings file, not in a log, not on a command line.
- The app password is never kept, only what scrypt makes of it, with its salt.
- What is typed is never written down. The logs say that something was done, not what.

Where each file is: [Where your data stays](https://qkvm.com/docs/desktop/where-your-data-stays).

## What it assumes

- Whoever is signed in to Windows as you, and every program that runs as you, is trusted. Another program running as
  you can ask Windows for the program's secrets.
- A qKVM server you sign in to is trusted with what it shows and what it is asked to do.

### The app lock on a shared Windows account

A passer-by has no control through qKVM's interface alone. With the Windows account, Credential Manager's **Back up
Credentials** can export qKVM's secrets without the app password, and **Restore** can replace the app password
record and its retry count. App lock alone cannot protect saved secrets from another person who uses that unlocked
Windows account.

Sealing the secrets under the app password is planned.

## Checking what you run

- Each release's `SHA256SUMS` is signed with the release key built into the program: see
  [Install](https://qkvm.com/docs/desktop/install#check-the-download).
- The setup and the program are not signed with a code-signing certificate yet, so SmartScreen may warn.
- The ARM64 program is guarded less than the x64 one.

## Related

- [Where your data stays](https://qkvm.com/docs/desktop/where-your-data-stays)
- [Lock and wall screens](https://qkvm.com/docs/desktop/lock-and-wall-screens)
- [Reporting a security problem](https://qkvm.com/docs/desktop/security-policy)
