Error: KDF config is required

Hello,

I self host my password manager. Everything works fine, I can access to the web panel and edit my passwords, but I can’t log in with the extension.

When I enter my password (even with a wrong password), I have this error: “KDF config is required”.

My KDF is set on 100000. I also tried 50000, but I always have the same error.
I tried with the mobile application, and I also get this error.
How can I solve this issue?

Thank you for your help :grinning:

@EisImBerg Welcome to the forum!

I could imagine - and you’re using PBKDF2 and not Argon2 - that you need at least 600000 iterations: KDF Algorithms | Bitwarden

@EisImBerg Welcome to the forum!

Please post a screenshot the information displayed in the Dashboard of your Admin Portal, including the server version. Also, please let us know what operating system is used for your server.

FYI, you are not using the most up-to-date version of the server, as the PBKDF2 iterations lower than 600,000 are no longer permitted. Start by updating your server to version 2025.1.4 (with Web Vault version 2025.2.0):

Thank you for your replies,

I changed the KDF iterations to 600 000, it didn’t work. I tried 1 000 000, same issue…

Here is the version I’m using:

:astonished: The server version you are using (1.24.0) is over 6 years old, and became deprecated a very long time ago. The Web Vault version shown in your screenshot (2.25.1) never existed in Bitwarden, so your server may not be running authentic Bitwarden code.

Regardless, you need to upgrade your server a.s.a.p. — until you do so, it is unlikely that modern versions of the Bitwarden browser extension will be able to connect to your server, KDF settings notwithstanding.

I suppose an alternative, if your browser permits side loading of extensions, would be to install an ancient version of the browser extension, which should be compatible with your ancient server! :rofl:

My guess would be it’s a Vaultwarden server, since their latest version is exactly 1.33.2, like in @EisImBerg 's screenshot.

@EisImBerg If your server is Vaultwarden, then this would explain your issue. Vaultwarden is not a Bitwarden product, and is therefore not always fully compatible with official Bitwarden client apps. The best place to seek support for Vaultwarden issues (including compatibility problems with the Bitwarden clients) is from the Vaultwarden community

On the other hand, if you are in fact running an official Bitwarden server using a release from 2018 (!), then you need to follow the advice that I have given above.

Oh, I didn’t realise that I used the bitwardenRS image instead of the official one :laughing:
I tried to reinstall the official bitwarden docker image, but it doesn’t work on my raspberry pi 4.
Is there a bitwarden image that supports ARM architecture?

Here is my docker-compose.yml file:

services:
  bitwarden:
    image: bitwardenrs/server:latest
    container_name: bitwarden
    ports:
      - "8080:80"
    volumes:
      - /bw-data/:/data/
    environment:
      - ROCKET_PORT=80
      - WEBSOCKET_ENABLED=true
      - SIGNUPS_ALLOWED=true
      - BW_INSTALLATION_ID=<MY_ID>
      - BW_INSTALLATION_KEY=<MY_KEY>
      - ADMIN_TOKEN=<MY_ADMIN_TOCKEN>
      - KDF=PBKDF2
      - KDFIterations=600000
    restart: unless-stopped

Problem solved!
Because Bitwarden doesn’t work on a raspberry pi, I used the latest vaultwarden image vaultwarden/server:latest

BitwardenRS is the old version and should not be used anymore.

Bitwarden Unified is currently in beta, but you can check it out here > Install and Deploy - Unified (Beta) | Bitwarden

1 Like

For the record, that’s not entirely accurate. According to the documentation for the Bitwarden Unified server, that version will “run on ARM architecture for alternative systems such as Raspberry Pi and NAS servers”.