Currently I manage my passwords in an archaic but secure way, which is simply to synchronize a directory where I have my Keepass database between my devices, and I say archaic but secure because even if my Nextcloud server hosted on a VPS explode (where I have the database stored) I still have the databases stored locally, so I don’t lose anything.

I am currently interested in self hosting Vaultwarden although my biggest drawback is the fact that if my VPS were to fail for example I would not be able to access my database and if I lose access to the database I lose access to all my passwords. a pretty bad scenario.

So I have a question, what can I do to prevent that from happening? Apart from hosting everything on my own hardware of course, for now I prefer to use VPS for different reasons.

  • Xirup@lemmy.dbzer0.comOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I didn’t mean to make it sound bad, although now that I read it again it sounds bad.

    With “archaic” I wanted to refer to the fact that it is not necessarily the most efficient in my opinion, because for example in the case of Nextcloud, to synchronize my Keepass directory with a directory on my phone I need an external app called FolderSync and there is no “Synchronize when detecting changes” option, every time I make a change I must manually synchronize or wait for a scheduled synchronization to take place, and it is not exactly the most efficient, unlike with Bitwarden/Vaultwarden because synchronization is immediate.

    And I know that in KeepassDX for example I can directly access my database and load it from there, but every time I make a single change when entering Keepass it says that “I lost connection to the file” (Something like that) and I have to go manually and choose the file again, I would prefer to have my passwords always in sync.

    • thelittleblackbird@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      OK got what you mean.

      For avoiding the cases you are describing I use several plugins for the keepass (original flavour) so in my desktop it syncs directly with the cloud.

      And in my android I use keepass2androd thst is able to open the database from the cloud too.

      Regards

    • StefanAmaris@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Syncthing can realtime monitor a folder that just has the keepass file and automatically update to any other syncthing enabled devices in near realtime.

      Additionally it can be set to keep versions of the file so you can have copies of older versions to hand whenever things go wrong.

      The only real catch is to not have the keepass db open on 2 devices at the same time as any changes made in one may be overwritten by the other as file locking isn’t a thing in this method.

      I’ve used Syncthing and keepass in this way for many many years