
Managing KeePass passwords on Nextcloud
Another post where we are going to integrate another interesting feature into Nextcloud! If you are fond of having your passwords stored in a password manager, you may work with KeePass, If that's the case, that you know, that we can access the password file remotely and fully integrated into the Nextcloud interface, A blast. Strong and encrypted passwords, accessible at all times!
As usual, We will be able to take a look at the website of the Nextcloud apps, If we look at the highest version it supports is the 12, but don't worry, with a few small modifications, we can run this on Nextcloud 13 and Nextcloud 14 🙂 And so we will be able to open the kdbx files directly from Nextcloud!
We download Keeweb and put it in the apps folder:
[SourceCode]wget https://github.com/jhass/nextcloud-keeweb/releases/download/v0.4.0/keeweb-0.4.0.tar.gz
I sweat tar xvf whateweb-0.4.0.tar.gz -C /var/www/nextcloud/apps/[/SourceCode]
We edit the file '/var/www/nextcloud/apps/keeweb/appinfo/info.xml’ and we modify the following line to allow up to the version 14:
[SourceCode]<nextcloud min-version="11" max-version="14" />[/SourceCode]
We will have to make a small correction of mimetypes so that it recognizes our extension, We copy the file with the definition:
[SourceCode]cp /var/www/nextcloud/resources/config/mimetypemapping.dist.json /var/www/nextcloud/config/mimetypemapping.json[/SourceCode]
We edit '/var/www/nextcloud/config/mimetypemapping.json’ and we add our extension as follows:
[SourceCode]"kdbx": ["x-application/kdbx"],[/SourceCode]
And we scan the files!
[SourceCode]cd /var/www/nextcloud/
sudo -u www-data php occ files:Scan –all[/SourceCode]
It's time to enable the App! To do this,, from Nextcloud with an account with administrator privileges, Let's go to the “Apps” > “Disabled apps” and we search for Keeweb, Click on “Activate”,
We will be able to browse our Nextcloud and the KeePass database file where we have our passwords stored securely, by clicking on it, the Keeweb interface will open!
As usual, Enter the master password to open the KDBX file and the certificate with the private key if we use it,
And that's it! A marvel! We will be able to access our passwords directly from anywhere! For the piratillas, The screenshot is an example, 😉 eh I hope you found it interesting!