Already using it on Windows or macOS and wondering if you can use it on Chrome OS?
Yes, that’s no problem! 😉
I show you in this post how to install and use it. You can also synchronize your password database with your cloud storage, such as Google Drive. 🙂
Notes for beginners: My posts usually contain some basics that you can understand how to proceed. I partly repeat the basics in other posts, so you don’t have to jump back and forth all the time.
Here is the meaning of the abbreviations after the headings: [E] Everyone [A] Advanced [B] Beginner [P] Professional
If you still miss something, feel free to comment. The community will try to help you! 🙂
Notes for professionals: My posts usually have the form of a knowledge base entry and should be equally suitable for beginners, advanced users, and professionals. Just pick out what you need immediately. You can also find content specifically targeted to professionals. These are marked accordingly with [P] and other finger points.
Do you want to have more professional content on a topic? Add it to the comments 😉
Disclaimer of liability: As always on this blog, I warn you that all changes to your system mentioned in this post are at your own risk! It is theoretically possible that there are system or application errors that could lead to data loss and further problems!
The confusion with the versions of KeePass [A]
There are several versions, variants, and forks of KeePass.
You see, you can use KeePass on all your devices and platforms, but what about Chrome OS?
I will now show you three alternatives and how to synchronize your passwords with your cloud storage automatically.
Using KeePassDroid as an Android app on Chrome OS [B]
The easiest way to use KeePass on Chrome OS is to install an Android-App like KeePassDroid from the Play Store.
Once this is done, you can find the KeePassDroid icon in the Chrome OS Launcher and launch it from there:
That is what the launched app looks like:
Note: Sometimes, after Chrome OS updates, there are problems with this app. For example, I have had issues with the app crashing immediately after starting it or not being able to write to the database. However, these issues were resolved fairly quickly with further updates of the app.
After this note, I want to introduce you to what, I think, is the best and most stable version of KeePass on Chrome OS. It is also straightforward to install and set up on Chrome OS.
Sync a KeePass Android app on Chrome OS with Google Drive
As I have always pointed out, this is still an issue at the beginning of 2022. Someone in my German community has come forward to say that all KeePass apps from the Play Store are not allowed to write to the database if it is on the Chrome OS file system.
First, a Linux share is not necessary for an Android app from the Play Store, which does not solve the problem.
I tested the current state. Neither KeepassDroid nor, for example, Keepass2Android allowed me to save changes to a database that resides in the Chrome OS file system. Neither app asks for the right to access the SD card that the Chrome OS file system is recognized as.
If you prefer not to use the Linux app KeepassXC as described by me later in the article, I have two ideas on how to conveniently and easily sync a KeePass Android app with your Google Drive:
- Install the Google Drive Android app from the Play Store on your Chromebook
- Click on the three dots to the right of the file icon and mark your kdbx Keepass database as “available offline.”
- Click on the three dots to the right of the file icon and select “Open with”
- then choose your KeePass app
- You log in to your database
- Then you should be able to save changes, and the Google Drive app will sync the database automatically
- Next time you can directly open the KeePass app and see the last opened database, which you can also set as default
- The Keepass2Android app can access Google Drive directly.
- So, you have to trust the app.
- For that, you need to be connected to the internet.
By the way, this is how I would sync the database of a KeePass Android app with Google Drive on an Android smartphone or Android tablet.
End of Update
Using KeePassXC as a Linux application on Chrome OS [A]
That makes it easy to find KeePassXC:
Once you have opened the search result, you can now install the application with one click:
Professionals can also do so via the terminal:
sudo apt-get update && sudo apt-get upgrade sudo apt-get install -y keepassxc
If you now restart your Chrome OS device and then start the Terminal or another Linux application, the KeePassXC icon should appear in the launcher in the Linux-Apps folder or by searching:
In terms of appearance and operation, the application hardly differs from the Windows and macOS versions:
In the next section, I show you where you can store your password database best and automatically synchronize it with your cloud storage.
Synchronizing your passwords automatically with Google Drive [A]
There are several ways to synchronize your files to a cloud storage on Chrome OS. For example, by using onboard tools like the Files app or Android apps like Autosync for Google Drive | OneDrive | Dropbox, FolderSync Pro etc. and Linux applications like insync or Seafile.
Here I’d like to limit myself to the Files app of Chrome OS and two Autosync variants, which I already introduced in the blog. You can transfer the procedure described here to other solutions. I will post something about these in due course.
With the files app [A]
You can synchronize the folders of your Google Drive with the Files app by right-clicking and marking them as “Available offline:”
The contents will then automatically be synchronized in both directions.
With KeePassDroid, you can then find the synchronized folders here:
Update 01/26/2022: However, currently, KeePassDroid is not allowed to write to this database. I have added instructions above in the section about how it works, and the instructions here only work for KeePassXC at the moment.
If you place your password database there and open it from there, your changes will be synchronized as desired.
For KeePassXC you first have to share it with your Google Drive for the Linux of Chrome OS:
Then you can access your files with the Linux application as follows:
If you store your password database and open it from there, your changes are automatically synchronized as desired.
That is the easiest method, and it costs you nothing! 😉
With Autosync for Google Drive for another Google account [A]
My KeePass database lies in the Google Drive of my private account.
Although the Files app allows you to access shared folders, you can’t fully access them. You can’t mark them as “Available offline” for automatic synchronization without restrictions. That is because this is read-only access.
In other words: That doesn’t help us!
So what do you do if you have logged on to your Chrome OS device with a Google account that doesn’t have direct access to the password database?
Since the “Open File dialog” of KeePassDroid displays the same content as the Files app, you can access the files automatically synced with Autosync, including your database:
For KeePassXC, you also need to share the folder with the Linux of Chrome OS in the same way as described in the previous section. Once this is done, you can use the application to access your files as follows:
With Autosync for OneDrive [A]
Autosync for OneDrive is a variant of Autosync that allows you to synchronize your OneDrive files on Chrome OS.
In this post, I have explained how: link.
You can access your KeePass database in the same way as with the Google Drive variant I described in the last section.
How to use KeePassXC on Chrome OS without installing it? [A]
That is possible with the help of providers who make applications available online on a platform. A good example is the provider rollApp.
rollApp currently offers you a selection of 340+ applications (as of June 2020), which you can use immediately in your browser with the usual range of functions without installation. One of them is KeePassXC:
You can save your KeePass database, e.g., in Google Drive, if you link it to your profile in the rollApp settings.
Cloud access to an unrestricted Windows 10 or macOS instance is also possible on Chrome OS if that is not enough for you. How this works with Windows, I have described in this post: Link and with macOS in this post: Link.
These services can sometimes be quite expensive. However, this is to get over, if you are a professional and don’t want to do without your favorite tools, which are not yet available on Chrome OS without restrictions. With KeePass, however, I don’t see these limitations.
You can use KeePass in a variety of ways on Chrome OS and automatically synchronize your passwords with your other devices via cloud storage!
So, that’s one less reason not to switch to a Chrome OS device! :D
Have fun with it! 🙂
01/26/2022: A community member on my German site has described the problem that the Android apps from the PlayStore are not allowed to write to the database from the Chrome OS file system. Thus, the member cannot sync changes to the KeePass database to Google Drive through Chrome OS either. I can confirm this. I’ve added the new section “Syncing a KeePass Android app on Chrome OS with Google Drive,” where you can find instructions on how to do it comfortably and easily anyway.
Words in italics may be registered trademarks or companies! Examples: Google, YouTube, and Android. Or they are technical terms from the IT world, which are described in various locations in the blog.