Bitwarden Server (Password Manger) Using Brainypi

by aaditya04gupta in Circuits > Raspberry Pi

349 Views, 1 Favorites, 0 Comments

Bitwarden Server (Password Manger) Using Brainypi

Screenshot 2023-01-21 223536.png
Screenshot 2023-01-21 223144.png

The security of passwords and our crucial data is one of the most important concerns in the growing digital world.

let's start with a few questions first. How many applications do you use which required to set a unique password or how many applications do you use which manages your crucial data, or how many banking and finance applications do you use? A lot of applications almost all of them right? let's go to the second question how many passwords do you remember? Very few right? We all save our passwords to google password manager or a 3rd party password manager but have you ever thought if your Gmail got hacked the hacker can access all your passwords and crucial data. So let us solve this problem once and for all.

We will use Bitwarden password manager instead of any 3rd party service. Bitwarden is a cloud-based open-source password manager that is available in the free version and commercial versions. 

Supplies

Screenshot 2023-01-12 114534.png

Brainy Pi

Ethernet/wifi

SD Card

Update System

Before installing any new software we should always update and upgrade the system

1. To update the system use the command.

sudo apt update

2. To upgrade the system use the command.

sudo apt upgrade

Installing Docker

image.png

Another requirement is to install Docker on your Brainy Pi, as we’ll run Bitwarden in a Docker container.

1. You can install the docker by the command.

curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER

2. To check whether docker is running properly use the command.

docker ps

Setup Docker

Install the Vaultwarden container, we can install it like any Docker container, by the command

docker pull vaultwarden/server:latest

1. Then, you can start the container with:

docker run -d --name vaultwarden -v /vw-data/:/data/ -p 81:80 vaultwarden/server:latest

2. Here i am using port 81. You can use of your choice if you want or face any error

Now we are done and we can access the web interface

Web Interface

R.png
2b59748a-0586-404a-95fa-1f69ec873393.jpg

To access the web interface you can require the IP address of your brainy pi.

1. To get the IP address you can use the command

hostname -I 

If you get multiple IP addresses no need to worry it just means static IP is not set. You can any one of the IP addresses

2. Now go browser and search of

localhost://IPADDRESS:81

3. Now click on create account and set up the account

Web Setup

Screenshot 2023-01-22 002100.png
Screenshot 2023-01-22 002027.png

Click on the add item and you can add whatever you want

Now you can access everything on the web interface you can explore the web interface and you will get to know how you can use the features which

Bitwarden is one of the best solutions to secure your passwords.