Perform same checks when setting kdf #433

Closed
opened 2026-04-05 21:14:07 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Timshel on 8/6/2025

In the SSO PR it was recommended to check the kdf settings in post_set_password.

Since it seemed logical to apply it to the register endpoint decided to create this PR too.

From what I can see the Option for kdf and kdf_iterations was not necessary:

*Originally created by @Timshel on 8/6/2025* In the SSO PR it was [recommended](https://github.com/dani-garcia/vaultwarden/pull/3899#discussion_r2254247199) to check the kdf settings in `post_set_password`. Since it seemed logical to apply it to the register endpoint decided to create this PR too. From what I can see the `Option` for `kdf` and `kdf_iterations` was not necessary: - Old [register.request.ts](https://github.com/bitwarden/clients/blob/web-v2025.1.1/libs/common/src/models/request/register.request.ts) - [register-finish.request](https://github.com/bitwarden/clients/blob/main/libs/common/src/auth/models/request/registration/register-finish.request.ts)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#433