Skip to content

Repository files navigation

Ente Auth Extension

A browser extension for Ente Auth, allowing you to access your 2FA codes directly from your browser.

📚 Documentation

Comprehensive documentation is available in the docs/ folder:

⚠️ Disclaimer

This software is provided "as is", without warranty of any kind, express or implied. The author assumes no responsibility for any security vulnerabilities, data loss, or other issues that may arise from the use of this extension. By using this extension, you accept full responsibility for any risks associated with its use. Use at your own risk.

Features

  • View 2FA Codes: Access your TOTP codes quickly.
  • Manual Sync: Sync with your Ente account on demand.
  • Secure Storage: Your keys and codes are stored securely within the extension's sandboxed storage.

Security & Storage

This extension prioritizes the security of your data.

Authentication & Encryption

  • End-to-End Encryption: Your data is encrypted on Ente's servers and only decrypted locally on your device.
  • Zero Knowledge: The extension performs all decryption locally. Your password and master key are never sent to the server (except for the SRP protocol which proves knowledge of the password without revealing it).

Local Storage

  • Credentials: Your session token, master key, and private key are stored in chrome.storage.local.
    • This storage area is sandboxed to this extension. Other websites and extensions cannot access it.
    • This allows the extension to keep you logged in across browser restarts.
  • Codes: Your decrypted 2FA codes are also cached in chrome.storage.local for offline access.
  • Optional Encryption: You can optionally enable a Master Password or PIN to encrypt your local data.
    • When enabled, your credentials and codes are encrypted using XChaCha20-Poly1305 before being saved to disk.
    • The encryption key is derived from your password/PIN using Argon2id.
    • This adds an extra layer of protection if someone gains physical access to your computer.

Best Practices

  • Ensure your computer is password-protected and encrypted (e.g., FileVault on macOS, BitLocker on Windows), as the extension's local storage relies on the operating system's file system security.
  • Lock your computer when unattended.

Development

Build

npm install
npm run build

Load in Browser

  1. Open Chrome/Edge/Brave and go to chrome://extensions.
  2. Enable "Developer mode".
  3. Click "Load unpacked".
  4. Select the .output/chrome-mv3 directory.

About

wxt browser extension for ente auth

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages