AliasVault is an open-source password and identity manager built with C# ASP.NET technology. AliasVault can be self-hosted on your own server with Docker, providing a secure and private solution for managing your online identities and passwords.
- Zero-knowledge architecture: All data is end-to-end encrypted on the client and stored in encrypted state on the server. Your master password never leaves your device and the server never has access to your data.
- Built-in email server: AliasVault includes its own email server that allows you to generate virtual email addresses for each identity. Emails sent to these addresses are instantly visible in the AliasVault app.
- Virtual identities: Generate virtual identities and assign them to a website, allowing you to use different email addresses and usernames for each website. Keeping your online identities separate and secure, making it harder for attackers to link your accounts.
- Open-source: The source code is available on GitHub and can be self-hosted on your own server.
Note: AliasVault is currently in active development and some features may not yet have been (fully) implemented. If you run into any issues, please create an issue on GitHub.
A live demo of the app is available at main.aliasvault.net (nightly builds). You can create a free account to try it out yourself.
![Screenshot 2024-07-12 at 14 58 29](https://private-user-images.githubusercontent.com/6917405/348278729-57103f67-dff0-4124-9b33-62137aab5578.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1NzYyNDcsIm5iZiI6MTcyNTU3NTk0NywicGF0aCI6Ii82OTE3NDA1LzM0ODI3ODcyOS01NzEwM2Y2Ny1kZmYwLTQxMjQtOWIzMy02MjEzN2FhYjU1NzgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMjIzOTA3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjFlNjM2Y2Y3YTBiOTMyN2QxOTBiMzhlZTdiMjNhMzk4MmY1NmQzOTZlOTRkNjVjYWJiNTRiNDQ0NGUzMDZhYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.dZcVMiRlbp1qNy6AD5xgG88ARFK9xy-DZVxBn47uAnM)
To install AliasVault on your local machine, follow the steps below. Note: the install process is tested on MacOS and Linux. It should work on Windows too, but you might need to adjust some commands.
- Access to a terminal
- Docker
- Git
AliasVault comes with a install script that prepares the .env file, builds the Docker image, and starts the AliasVault containers.
# Clone this Git repository to "AliasVault" directory
$ git clone https://github.com/lanedirt/AliasVault.git
# Go to the project directory
$ cd AliasVault
# Make install script executable and run it.
$ chmod +x install.sh && ./install.sh
Note: if you do not wish to run the script, you can set up the environment variables and build the Docker image and containers manually instead. See the manual setup instructions for more information.
The install script executed in step #1 will output the URL where the app is available. By default this is http://localhost:80 for the client and http://localhost:8080 for the admin.
Note: If you want to change the default AliasVault ports you can do so in the
docker-compose.yml
file.
- When running the init script for the first time, it may take a few minutes for Docker to download all dependencies. Subsequent builds will be faster.
- A SQLite database file will be created in
./database/AliasServerDb.sqlite
. This file will store all (encrypted) password vaults. It should be kept secure and not shared.
- To reset the admin password, run the install.sh script with the
--reset-admin-password
flag. - To uninstall AliasVault, make the uninstall script executable with
chmod +x uninstall.sh
first, then run the script:./uninstall.sh
. This will remove all containers, images, and volumes related to AliasVault. It will keep all files and configuration intact however, so you can easily reinstall AliasVault later.
The following technologies, frameworks and libraries are used in this project:
- C# - A simple, modern, object-oriented, and type-safe programming language.
- ASP.NET Core - An open-source framework for building modern, cloud-based, internet-connected applications.
- Entity Framework Core - A lightweight, extensible, open-source and cross-platform version of the popular Entity Framework data access technology.
- Blazor WASM - A framework for building interactive web UIs using C# instead of JavaScript. It's a single-page app framework that runs in the browser via WebAssembly.
- Playwright - A Node.js library to automate Chromium, Firefox and WebKit with a single API. Used for end-to-end testing.
- Docker - A platform for building, sharing, and running containerized applications.
- SQLite - A C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine.
- Tailwind CSS - A utility-first CSS framework for rapidly building custom designs.
- Flowbite - A free and open-source UI component library based on Tailwind CSS.
- Konscious.Security.Cryptography - A .NET library that implements Argon2id, a memory-hard password hashing algorithm.
- SRP.net - SRP6a Secure Remote Password protocol for secure password authentication.
- SmtpServer - A SMTP server library for .NET that is used for the virtual email address feature.
- MimeKit - A .NET MIME creation and parser library used for the virtual email address feature.