Are you looking for a free, open-source alternative to LastPass or other costly password managers? Bitwarden is an excellent choice and now you can download it to your embedded Linux device from our marketplace, Pantacor One. Once downloaded, you can self-host your own Bitwarden server and keep all of your passwords and logins safe on your Raspberry Pi.
NOTE: To complete this guide, you will need to have Pantacor One installed on your Raspberry Pi. If you need help with that you can follow the instructions here after creating an account and logging in.
Alternatively, you can use Pantabox, which contains all of the utitilities you need to install apps and work locally on your embedded device. See the guide: Install Pantavisor Linux onto your embedded Linux device.
Step 1: Install Bitwarden using Pantacor One
Go to one.pantacor.com and select your device:
Go to the Apps tab and then click on sources and add the experimental source by clicking the Plus sign and pasting the following URL in the space provided.
Then click Submit and you will see Bitwarden application appear on the apps list (if you don’t see it please refresh the page.) Click install and wait while Pantavisor sets up your Bitwarden app in its own container.
Thanks to Pantavisor we’re able to install many apps on the Raspberry Pi without worrying about individual dependencies or other details as each app is housed in its own container. Each app can be updated, installed and managed completely separately from the others, yet they can still work together if desired. If you’d like more information on how Pantacor technology can help you deliver your firmware or software for your edge device please contact our sales team or take a look at our website.
After installation is finished you will be working locally with Bitwarden. To test that go to
http://RASPBERRY_PI_ADDESS:8642 and check that Bitwarden is working. But because Bitwarden needs HTTPS to work properly and you will need to access it from outside your local network, we are going to install Ngrok to create a tunnel with your Raspberry PI and expose the port 8642 to the internet.
Step 2: Create an Ngrok Account
First you’ll need to create an account on Ngrok and select the free tier.
After you are logged in, go to the setup guide page of Ngrok, and find step 2 to set up your auth token.
Copy your auth token and save it for later.
Step 3: Setup your ngrok token on One
Go to one.pantacor.com and select the Bitwarden application configuration to setup your auth token:
After saving the configuration, select the overview tab inside the app to see your new ngrok URL:
https://5ffcae7dd4b97a000a449a67.ngrok.ioExample of ngrok.io URL to access to your bitwarden instance
When you enter yours, you will see the following:
Create an account and use it via browser, browser extension, or through your mobile device.
Step 4: Use bitwarden in your browser
If you want to use it with a Chrome, Firefox, Microsoft Edge extensions, you will need to set up your server with a Self-hosted Environment server URL.
Using the same server URL you can configure the Bitwarden mobile application.
In this tutorial we described how to install and configure Bitwarden, so that you can host your own password manager at home on your Raspberry Pi. In addition, you learned how to use ngork to create a secure tunnel for access to Bitwarden on your Raspberry Pi through your browser or through the mobile app.
Pantavisor is a framework for building and managing containerized systems and applications on embedded Linux devices. For more information about Pantavisor and how it can simplify lifecycle management try out one of our guides, Managing App and Firmware Lifecycles with Pantavisor Linux.