DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/WindServiceHandlers/Encryption/mod.rs
1//! Encryption handlers for VS Code's `IEncryptionService` channel.
2//! `encryption:encrypt` and `encryption:decrypt` are called by the
3//! workbench to store and retrieve secrets (extension secrets, auth tokens,
4//! GitHub Copilot key, etc.). We use AES-256-GCM via the `ring` crate;
5//! the 256-bit key is derived once per process from the machine's hardware
6//! UUID (macOS `IOPlatformExpertDevice` / Linux `/etc/machine-id` /
7//! Windows `MachineGuid`) so ciphertext is stable across restarts but
8//! unreadable on a different machine without the original key.
9
10pub mod Decrypt;
11
12pub mod Encrypt;
13
14pub mod Key;