Since version 0.4.0, the rust-keylock has the ability to synchronize passwords and data over a Nextcloud (or Owncloud) server.
From the main menu, navigate to the Configuration and fill the fields.
The Server URL, the Username and the Password should be filled in order to assume correct configuration.
If your Nextcloud server is accessed via HTTPS using a self signed certificate, you need to:
Check the self-signed certificate checkbox in the rust-keylock “Configuration” view.
In Firefox, assuming that you have already accepted the certificate, browse to your Nextcloud page and click on the green lock on the left side of the address bar and then click “More Information”
On the “Security” tab of the dialog that pops up, click “View Certificate”
On the new dialog that appears, go to the “Details” tab and click “Export”
Select X.509 certificate (PEM) and save the file as cacert.pem
Note: it is important to name the exported file exactly like that
Depending where you run the rust-keylock, you need to copy the exported file to the following locations:
$HOME/.rust-keylock/etc/ssl/certs
%HOMEPATH%\.rust-keylock\etc\ssl\certs
Download/rust-keylock/etc/ssl/certs
Once a Nextcloud server is correctly setup, a background task will be checking for changes and will synchronize if needed.