← Work / Security software / Open source

Buci Auth

An authenticator whose vault is encrypted on your device

ON DEVICE482 071a9f3 c1b7 e402SERVER: CIPHERTEXT ONLYBUCI-AUTH / ENCRYPTED VAULT
Role
Author
Status
Pre-release (v0.1.0-rc.1)
Technology
React 19, TypeScript, Vite, Fastify, PostgreSQL, Tauri, Capacitor
Source: private repository

Overview

An open-source two-factor authenticator (TOTP and HOTP), inspired by Ente Auth. Codes are generated offline, the vault is encrypted on the device, and optional end-to-end encrypted sync lets the server store only ciphertext. One React codebase runs in the browser, on the desktop and on Android.

What the code does

The vault is encrypted on the device
The key is derived with Argon2id and the vault is sealed with XChaCha20-Poly1305. Codes are generated offline, so a lookup never needs a network.
Sync is optional and the server cannot read it
With sync enabled the server stores only ciphertext. Without a server, sync is simply unavailable and everything else keeps working.
One codebase, three shells
A single React web application runs in the browser, as a desktop app through Tauri (Windows, macOS, Linux) and as a mobile app through Capacitor (Android; iOS builds for the simulator only). A command-line client is included.
Moving in and out
Imports from Aegis, 2FAS, Ente, Google Authenticator, otpauth links and CSV, plus encrypted backups. The interface supports Hebrew right-to-left layout and light and dark themes.
A strict Content-Security-Policy
The web build ships a strict policy that is not loosened for convenience, and is also meant to be sent as an HTTP header with frame-ancestors disabled.
Tested end to end
150 unit tests and 21 Playwright end-to-end tests, including accessibility checks (axe) and visual regression. Continuous integration runs secret scanning and native builds.
A landing page that is not decoration
The scroll-driven landing page moves a clock as you scroll, and every code it shows is a real RFC 6238 code.

Limits and what I would tighten

  • Pre-release: version 0.1.0-rc.1.
  • No independent security audit has been done.
  • Installers are not code-signed.
  • The sync server is not production-ready.
  • iOS builds are for the simulator only.
  • The source repository is private, and the installers are not publicly downloadable yet.