Synchronizing with Nextcloud

Since version 0.4.0, the rust-keylock has the ability to synchronize passwords and data over a Nextcloud (or Owncloud) server.

Setup

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.

Self-signed certificates

If your Nextcloud server is accessed via HTTPS using a self signed certificate, you need to:

  1. Check the self-signed certificate checkbox in the rust-keylock “Configuration” view.

  2. 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

  3. On the “Security” tab of the dialog that pops up, click “View Certificate

  4. On the new dialog that appears, go to the “Details” tab and click “Export

  5. Select X.509 certificate (PEM) and save the file as cacert.pem

    Note: it is important to name the exported file exactly like that

  6. Depending where you run the rust-keylock, you need to copy the exported file to the following locations:

    Linux: $HOME/.rust-keylock/etc/ssl/certs

    Windows: %HOMEPATH%\.rust-keylock\etc\ssl\certs

    Android: Download/rust-keylock/etc/ssl/certs

Synchronizing

Once a Nextcloud server is correctly setup, a background task will be checking for changes and will synchronize if needed.