If you got the automatic updates on the bitwarden clients, they will show an empty vault if you are selfhosting vaultwarden.

It seems to be an accidental bug in the bitwarden clients that are assuming that they’re talking with official servers

It’s fixed with the latest release of the vaultwarden server that was published a few minutes ago

  • Mike@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    Just did the update of vaultwarden. Had to log out and log back again in bitwarden on my browser. On the phone it seems to just have worked. Thank you for the PSA :)

  • ShadowZone@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    Thanks so much for the PSA. I’m currently on vacation without any chance to update Vaultwarden but need access to it via the Bitwarden client. Just disabled the auto update in time. I wish I could vote this twice.

  • Appoxo@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    Noticed that as well with our selfhosted instance at work and wondered what the deal was.
    Guess I now know why.

  • SmoothLiquidation@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    I found this comment on what happened by dani-garcia, one of the main devs:

    The short version is that around 8-ish years ago, Bitwarden changed the way the vault items were structured, and Vaultwarden added some backwards compatibility fields to ensure both old and new versions of the clients worked.

    These backwards compatibility fields were supposed to be a temporary measure, but for at least the next three years the clients still required them, until we eventually forgot to keep track of them. At some point between 2021 and today, the clients stopped requiring these backwards compatibility fields, but Vaultwarden was still sending them.

    This wasn’t a problem until Bitwarden decided to use the backwards compatibility fields in a completely different way, which caused the clients to crash.

    Found here: https://github.com/dani-garcia/vaultwarden/discussions/7473

    • JordanZ@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      There’s a reason you don’t do things like that…

      Apparently nobody in that software team has heard about Knight Capital. They reused a flag and that coupled with a deployment failure that only lasted ~45 minutes caused an over 400 million dollar loss nearly bankrupting the entire company. Ultimately they ended up combining with another company.

      The immediate cause of the incident was a deployment failure that left one of eight servers running outdated code, creating an inconsistency in how the system interpreted incoming instructions. The new software reused a flag associated with a legacy function known as “Power Peg,” which had been disabled but not removed from the codebase, and on the unpatched server this flag activated obsolete logic that continuously generated child orders in response to parent orders that the system did not correctly recognize as already filled.

      More details

    • dditty@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      Yeah I updated bitearden yesterday and my vault would not load any items. Glad this bug is already fixed!

  • Darkassassin07@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    I do love docker + a front end like dockge.

    Saw this post, switched to my browser, clicked three buttons; vaultwarden is now updated. Didn’t even move my lazy ass off the couch. (I’m on my phone)

    Thanks for the PSA! :)

    • myrmidex@belgae.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      I can recommend Arcane as a front end. I switched over all my services this last week from multiple dockges to a single arcane (+agents). It’s looking pretty sweet now. Cleans up a lot of bookmarks too 😆

    • fozid@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      I love podman quadlets, I didn’t do anything and it updated itself 😁

      • Darkassassin07@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 days ago

        I run watchtower on a cron schedule. It had already fired for today, so it wouldn’t have run again until tomorrow. I could have waited, but manual is just as easy.

        • Appoxo@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          0
          ·
          6 days ago

          Be aware that watchtowerr is not updated anymore and due to the nature of having access to the socket is a security risk.

    • Lem453@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      If you check the github discussion from the devs that patched the issue it doesn’t seem intentional to me (not an expert). That being said I assumed the same thing.

      My browser auto updated the extension at a very inopportune time and from some reason KDE connect from my phone to computer which is usually very reliable also wouldn’t connect. Was quite annoying until I realized I can just log into the vaultwarden website directly. I don’t think I’ve done that in years

    • Lem453@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      If anyone’s Firefox auto updated like mine you can uninstall the extension, go to the Bitwarden extension page on the Firefox website and manually install the old version. Only needed if you can’t update vaultwarden right away.

    • Marthirial@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      Switching to Passbolt right now. I have the feeling this is the beginning of the enshitification of Bitwarden.

      • Passerby6497@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 days ago

        The mark of a quality developer is not the lack of problems, but the way they respond to them. Any project in active development for a long time is going to run into breaking issues from time to time just because technical debt accrues and memories are short.

        The ability to fix a problem, publicly own up to the cause/fix and work to prevent future issues like it are the best we can ask for.

      • hellmo_luciferrari@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 days ago

        Passbolt pales in comparison. The fact I can only get the android app from google play. No thanks. That is a deal breaker right there. I am working towards moving 100% off from google play.

        After quickly spinning up a container of it; it feels very unpolished and can’t say it will replace Bitwarden/Vaultwarden for me.

      • SatyrSack@quokk.au
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 days ago

        Bitwarden has been in decline for a while. This is definitely not the first sign.

      • cron@feddit.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 days ago

        Such bugs have already appeared in the past. It’s only logical that this happens from time to time, as the creators of bitwarden don’t test the compatobility with 3rd party servers.

        What is important is that they’re not deliberately blocking vaultwarden.

      • Patrick@ppb.social
        link
        fedilink
        arrow-up
        0
        ·
        7 days ago

        @Marthirial @Wispy2891 They are quickly moving towards enshitification, but this was likely just a planned patch and not intentional shot across the bow. As someone mentioned, they aren’t required to check 3rd party software. But it does suck when it happens.

        • Zarobi@aussie.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          7 days ago

          They still have a good export tool, that’s a reliable canary for enshittification in my experience. See: how Google butchered their export tools to be as annoying as possible for “security” reasons. The harder it is to leave, the more they care about trapping you via friction rather than keeping you via good customer experience

    • Wispy2891@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      Very nice, I even considered using escargot to patch the old clients but then realized it’s not a great idea security wise

      • melroy@kbin.melroy.org
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        Yeah escargot just doesn’t do it for me. I want to keep using the existing chat network I use daily. But just giving back the MSN vibes.

        I created it using gtk4. So it’s cross platform as well. Meaning Linux native. Which I also wanted.

      • melroy@kbin.melroy.org
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        Yah that’s possible. I just implemented telegram for now. But depending on the open api like matrix should work for sure as well. Has signal also an open client api?

        • Helix 🧬@feddit.org
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 days ago

          The whole client is open source, but idk if you can simply call the API with a token for a linked device or something. Pretty sure Signal doesn’t want “chatbots” on their networks and it might be against ToS.

    • Bazoogle@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      Per the vault warden release notes:

      We strongly advice to update as soon as possible.

      With the vulnerabilities being patched these days, it seems ill asvised to disable automatic updates for something as critical as a password manager.

      • irmadlad@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 days ago

        it seems ill asvised to disable automatic updates

        I use the WatchTower fork for now, but I use it with the run once flag:

         volumes:
              - /var/run/docker.sock:/var/run/docker.sock
            command: --run-once --cleanup
        

        So, when an update is available, I’ll delay updating until I am rather comfortable that all the early adopters have worked out all the bugs for me. LOL Thanks guys! You’re an invaluable service.