1. Overview & Scope
This Privacy Policy explains how DeskAuth ("the App", published at keston.dev/deskauth and open-sourced at github.com/Sundry007/google-authenticator-desktop) accesses, uses, stores, protects, and deletes data — including data received through Google OAuth APIs.
DeskAuth is maintained by KESTON (keston.dev) as an independent, open-source desktop application for Windows. DeskAuth is not affiliated with, endorsed by, or sponsored by Google LLC.
2. Zero Backend Servers & No Telemetry
We do not operate any backend server, relay, cloud database, analytics pipeline, or crash-reporting endpoint that receives, stores, or processes your data. By default, DeskAuth makes zero network requests and runs 100% offline.
Network connections occur only when you explicitly enable optional features, connecting directly from your Windows PC over HTTPS/TLS to:
- Official Google API endpoints (
accounts.google.com,oauth2.googleapis.com,openidconnect.googleapis.com,www.googleapis.com/drive/v3,gmail.googleapis.com) when you enable Google Cloud Sync or the optional Gmail read-only inbox. - Your own IMAP mail server if you manually configure a third-party IMAP account in the optional verification inbox.
3. Data Stored Locally on Your Device
All persistent data managed by DeskAuth resides locally inside your Windows user profile directory (%APPDATA%\desk-auth\vault.json):
- Authenticator secrets (TOTP/HOTP) & settings: Encrypted at rest using a random 256-bit Data Encryption Key (DEK) with
AES-256-GCM. The DEK is protected by Windows DPAPI (via ElectronsafeStorage) by default, or wrapped using a key derived from your optional master password viascrypt (N=32768, r=8, p=1). - Google OAuth tokens & sync passphrase: Stored exclusively inside your local encrypted vault when you choose to sign in; never transmitted to the developer or any third party.
- IMAP passwords / app authorization codes: Kept strictly inside the local encrypted vault and never uploaded to Google Drive or any external service.
- Fetched email content (RAM-only): Messages fetched for verification code or QR extraction are processed solely in volatile memory (RAM), never written to disk, and immediately purged when the vault locks, you sign out, or the App exits.
- Clipboard auto-clear: When you copy a code, DeskAuth clears the Windows clipboard automatically after your configured timeout if the clipboard still holds that code.
4. Google API Permissions (OAuth Scopes) & Data Usage
DeskAuth uses Google OAuth 2.0 for desktop apps via your system browser with a local loopback redirect (http://127.0.0.1:<port>/callback), PKCE (S256), and anti-CSRF state verification. We request only the minimum scopes needed for the specific optional feature you enable:
| Google Scope | Data Accessed | Sole Purpose & Boundaries |
|---|---|---|
openidemailprofile | Your Google email address and basic display name | Used exclusively to display the signed-in account name and email inside DeskAuth settings so you know which account is active. |
https://www.googleapis.com/auth/drive.appdata | Single encrypted file (deskauth-sync.json) in the hidden appDataFolder | Enables cross-PC sync of your authenticator accounts and deletion tombstones. Encrypted end-to-end on your device with your private sync passphrase (scrypt + AES-256-GCM) prior to upload; neither Google nor the developer can decrypt it. DeskAuth cannot access any other Drive file. |
https://www.googleapis.com/auth/gmail.readonlyStrictly Optional | Recent inbox message bodies and inline images (default 25, max 50 messages) | Activated only if you explicitly opt in and grant incremental permission. Analyzed locally in RAM using pattern matching and offline ZXing QR decoding to surface one-time verification codes, 2FA setup QR codes, and security alerts. DeskAuth never sends, modifies, labels, or deletes email, never stores message bodies on disk, and never transmits them externally. |
5. Google API Services User Data Policy — Limited Use & AI/ML Disclosure
DeskAuth's use and transfer to any other app of information received from Google APIs will adhere to the Google API Services User Data Policy, including the Limited Use requirements.
Specifically, for all Google user data accessed via Google Workspace APIs (including Google Drive API and Gmail API):
- User-facing features only: Data is used solely to provide the user-facing sync and local verification-code features described above.
- No AI / ML model training: DeskAuth does not use data obtained through Google Workspace APIs to develop, improve, or train generalized artificial intelligence (AI) or machine learning (ML) models.
- No selling, sharing, or advertising: We never sell, rent, or transfer Google user data to third parties, and never use it for serving advertisements, retargeting, or profiling.
- No human access: No human — including the developer — can access or read your Google user data because there is no developer backend and sync files are end-to-end encrypted with your private passphrase.
6. Data Sharing, Transfers & Third-Party Services
We do not share, disclose, sell, or transfer your personal data or Google user data to any third party, data broker, affiliate, or advertising network.
If you configure an optional network proxy (HTTP/SOCKS) inside DeskAuth settings, encrypted TLS traffic to Google or your IMAP server is routed through the proxy you specify. Choosing and trusting that proxy is solely under your control.
7. Data Protection & Security Mechanisms
- Encryption at rest: Local
vault.jsonuses authenticatedAES-256-GCMwith a random 256-bit DEK sealed by Windows DPAPI or yourscrypt-derived master password. - End-to-end sync encryption: Cloud
deskauth-sync.jsonuses a random 16-byte salt, 12-byte IV,scrypt (N=32768, r=8, p=1), and authenticatedAES-256-GCMbefore upload. - Encryption in transit: All network communications with Google APIs and supported IMAP servers use HTTPS / TLS.
- Process isolation & least privilege: Cryptographic secrets remain exclusively in the Electron main process; the renderer runs with
contextIsolationandsandboxenabled, and browser permissions are denied exceptmedia(camera) for QR scanning.
8. Data Retention, Deletion & Revoking Access
Because we operate no servers, we retain zero copies of your data. You have complete, immediate control over every piece of data stored on your device or in your Google account:
| Data Category | Retention Period | How to Delete or Revoke |
|---|---|---|
Local encrypted vault (vault.json) | Kept on your PC until you delete it | Uninstall DeskAuth and delete %APPDATA%\desk-auth to permanently erase all local secrets, settings, and credentials. |
| Google OAuth tokens | Until you sign out or revoke access | Sign out in DeskAuth Settings to immediately erase stored tokens, and revoke access anytime via your Google Account permissions page. |
Google Drive hidden sync file (deskauth-sync.json) | Kept in your private Drive space until you delete it | Open Google Drive Settings → Manage apps, locate DeskAuth → Options → click "Delete hidden app data". |
| Gmail / IMAP parsed inbox messages | 0 seconds on disk (RAM-only during active session) | Cleared automatically from RAM whenever you lock the vault, sign out, or exit the App. |
9. Children's Privacy & Policy Updates
DeskAuth is a general-purpose security utility and is not directed to children under the age of 13 (or the minimum age required in your jurisdiction). We do not knowingly collect personal information from children.
We may update this Privacy Policy to reflect new releases, security improvements, or regulatory changes. Any revision will be published at this URL (https://keston.dev/deskauth/privacy) with an updated effective date.
10. Contact & Privacy Inquiries
If you have any questions about this Privacy Policy, Google API data handling, security disclosures, or data deletion, please contact the DeskAuth maintainer (KESTON) at hello@keston.dev or open a public issue on GitHub Issues.