Encryption Keys
Overview
Encryption Keys form the core of the privacy model in Radegast EDR. Agents encrypt all event logs with the age encryption format before transmission. Only users with the matching private key can decrypt and inspect telemetry. This architecture enforces end-to-end encryption across the platform.
Cryptographic Model
Radegast EDR implements public-key cryptography using age (X25519 and ChaCha20-Poly1305):
Public Key: The server stores your public key and distributes it to your enrolled devices. Devices use this key to encrypt log records.
Private Key: The browser generates and stores your private key in local storage. The browser never transmits private keys to the server.
Recovery Key: A 256-bit AES key used to encrypt a backup of your private key on the server.
Encryption Workflow:
The agent encrypts telemetry with your public key.
The agent sends encrypted records to the backend.
The browser fetches encrypted records and decrypts them locally using your private key.
View Encryption Keys
Log in to the Radegast Console.
Go to Settings > Encryption Keys.
The page displays all configured key pairs.
The keys table displays:
Name: Assigned name of the key pair.
Public Key: Full public key string.
Created: Generation timestamp.
Active: Indicates if this key encrypts logs for newly created devices.
Default: Indicates if the browser tries this key first for decryption.
Actions: Buttons to set active status, export, or delete the key.
Create an Encryption Key Pair
Initial Setup for New Accounts
When you log in to a new account, the console prompts you to initialize encryption keys:
Go to Settings > Encryption Keys.
Click Generate Key Pair.
Enter a descriptive Name (for example,
Work Laptop Key).Select the Generate Recovery Key checkbox.
Click Generate & Register.
The dialog displays your 256-bit AES Recovery Key (64 hexadecimal characters).
Copy this key and save it in a password manager immediately.
The console does not display this recovery key again.
Confirm that you saved the recovery key.
Click Done.
Add an Additional Key Pair
Go to Settings > Encryption Keys.
Click Add Key.
Enter a descriptive name.
Choose whether to make this key the active key for new devices.
Click Create.
Manage Key States
Set an Active Key
Only one key pair can be active at a time. The system assigns the active public key to newly enrolled devices:
Select the key pair from the list.
Click Set as Active.
Confirm the action.
Note
Existing devices continue to use their previously assigned public key until reconfigured.
Set a Default Decryption Key
Select the key pair from the list.
Click Set as Default.
The browser tries this private key first when decrypting log records.
Key Recovery Options
If you clear your browser storage or use a new device, use one of these recovery procedures:
Option 1: Restore with a Recovery Key

Click Keys > Recovery in the navigation menu.
Enter your 64-character hexadecimal Recovery Key.
Click Restore Key.
The system decrypts the backup private key and stores it in your browser local storage.
Option 2: Transfer Key from Another Browser

If an existing browser session still holds your private key:
In the source browser, go to Settings > Encryption Keys > Transfer.
Click Generate Transfer Token.
Copy the ephemeral transfer token.
In the target browser, go to Keys > Transfer.
Paste the transfer token.
Click Import Key. The browser imports and stores the private key securely.
Note
Transfer tokens expire within 10 minutes and work only once.
Delete a Key Pair
Select the key pair from the list.
Click Delete.
Review the warning prompt.
Confirm the deletion.
Caution
Deleting a key pair is irreversible. You cannot decrypt logs encrypted with this key unless you have an offline backup. You cannot delete your only remaining key pair.
Security Guidelines
Local Storage Isolation: Private keys remain inside browser local storage. Private keys never sync automatically between different browsers.
Recovery Key Storage: Store your 64-character recovery key in a password manager. If you lose your recovery key, you cannot recover encrypted logs.
Private Browsing: Do not perform operational triage in incognito mode if your browser blocks local storage.
Troubleshooting
Private Key Not Found Error
Cleared Storage: Browser cache or local storage was cleared. Use your recovery key to restore the private key.
New Browser: Use the Key Transfer feature to copy keys from your primary browser.
Recovery Key Fails to Restore
Invalid Format: Verify that the recovery key contains exactly 64 hexadecimal characters (
0-9,a-f).Wrong Key: Verify that the recovery key corresponds to the selected key pair.