I started developing the SafePass project (locally named Geselnik) back in 2021 while learning SQL databases. It was around that time that I discovered AES-256 encryption and began building my own password management solution, as building real-world projects has always been my favorite way to learn programming.
Back then, I was also building my main educational platform, vadnica.org. Because the platform required my full focus, I put the password manager on hold for a while.
Once vadnica.org was completed, it was time to revisit and modernize the project. With the help of modern AI coding assistants β specifically Proton Lumo and JetBrains Junie β I not only finished the application quickly, but also completely transformed its architecture: I eliminated the server-side database entirely and turned it into a 100% local, client-side solution that runs directly in your web browser with zero server data storage.
π What is SafePass (vadnica-pass)?
SafePass is a modern, lightweight, and secure open-source password manager that runs 100% locally in your web browser. All your sensitive information is saved directly on your device in a dedicated encrypted vault file format (.sp), protected by your master password.
The application requires no user accounts, uses no remote databases, and contains zero tracking or telemetry.
- 100% Local Storage (.sp format): Passwords and secure notes remain strictly on your local disk inside an encrypted container.
- Strong Cryptography (Zero-Knowledge): Authenticated AES-256-GCM encryption with PBKDF2 key derivation (100,000 iterations with SHA-256) via the standard Web Crypto API.
- Silent Auto-Save: Leverages the modern File System Access API to automatically update your vault file on disk whenever changes are made.
- Built-in 2FA / TOTP Authenticator: Generates real-time 6-digit TOTP authentication codes (RFC 6238 HMAC-SHA1) directly in the browser.
- Comprehensive Categories: Banking (card number, PIN, CVV), E-mail, Internet, Stores, Gaming, Network (Wi-Fi 5G, 2.4G, Router IP), Desktop, Other, and Trash.
- Secure Password Generator: Generate strong, customizable random passwords with a single click.
- Flexible Data Export: Export your decrypted entries to standard CSV or KeePass XML formats for easy backup and migration.
- Bilingual UI & Dark Theme: Full support for English and Slovenian, complete with light and dark color schemes.
π How Does the Local Encrypted Vault Work?
Without any remote database, the threat of centralized data breaches and credential leaks is eliminated entirely. All encryption and decryption operations happen exclusively on the client side:
1. Create or edit passwords in your browser
β
2. 256-bit key derived from master password (PBKDF2, SHA-256)
β
3. Client-side encryption with AES-256-GCM
β
4. Saved directly to a local standalone vault file (.sp) on disk
β
The remote server receives, inspects, and stores nothing
To access your vault, simply drag and drop your .sp file into the browser and enter your master password. Because your master password never leaves your device, it cannot be recovered or reset by anyone else β giving you absolute ownership and privacy.
Advantages of a Local-First Password Manager
| Feature | SafePass (vadnica-pass) | Traditional Cloud Password Managers |
|---|---|---|
| Data Storage Location | Local encrypted file (.sp) on your device | Centralized third-party cloud servers |
| User Registration | No registration or account needed | Mandatory account and email verification |
| Database Breach Risk | Zero (no server-side database exists) | Constant target for mass data breaches and leaks |
| Data Portability | Standalone .sp file, KeePass XML, CSV | Often locked into proprietary cloud ecosystems |
π Open Source and Transparency
Security software must be open to inspection. SafePass is completely open source under the GNU AGPLv3 license, with the full source code hosted publicly on Codeberg: codeberg.org/bonoventura/vadnica_pass.
Anyone can inspect the codebase, audit the cryptographic implementation, or run the application on their own local machine.
π Links and Resources
You can run and use SafePass directly in your browser:
- Web Application (EN): pass.vadnica.org/?lang=en
- Web Application (SL): pass.vadnica.org/?lang=sl
- Source Code (Codeberg): codeberg.org/bonoventura/vadnica_pass
π£οΈ What's Next?
SafePass is an integral part of the vadnica.org ecosystem, dedicated to building simple, secure, and privacy-respecting utilities for everyday life. I will continue maintaining and improving the project with new features, while sharing technical write-ups and development insights on my blog.