Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change API and structs to camelCase #4386

Merged
merged 9 commits into from
Jun 23, 2024
Merged

Change API and structs to camelCase #4386

merged 9 commits into from
Jun 23, 2024

Conversation

dani-garcia
Copy link
Owner

@dani-garcia dani-garcia commented Feb 28, 2024

This PR changes all the project's structs and API inputs and outputs from the old PascalCase format to the new camelCase format. At the moment the clients support both but that won't be a thing forever.

I haven't had the time to fully test this, but at least the basic things work. There may be some things missing, and I still need to review what we store in the db to make sure that there aren't any backwards compat issues.

This might also cause problems with other pending PRs so we can wait to merge it until they are dealt with.

Some fields that have special casing:

  • OTP in /accounts/verify-otp, as that's what the clients send. That said we also check otp
  • Keys and Nfc in yubikey, this is for backwards compat with older values stored on the server, now we serialize new versions to keys and nfc.
  • AttestationObject and clientDataJson in webauthn, as that's what the clients send. This is a bigger annoyance as it complicates the use of the webauthn crate.
  • Organization policies, this is for backwards compat with older values stored on the server, now we serialize new versions as camelCase.

Fixes #4656

Copy link
Collaborator

@BlackDex BlackDex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still see a few non-camelCase key's in outputted JSON. For example in identity.rs
Ill check further but this was what is saw rather quickly.

@BlackDex
Copy link
Collaborator

Also, card vault types have SSN in there, that currently seems to be converted to sSN, which will probably break.

@BlackDex
Copy link
Collaborator

Also, not sure, but isn't it more useful to use fn convert_json_key_lcase_first from the utils mod? It might need some adjustments to also check for ssn maybe, but that should help with nested values stored in the database. And also for items like the Org Policies for example.

@quexten
Copy link
Contributor

quexten commented Jun 16, 2024

On this PR, and web 2024.05 confirming users to orgs does not work (I'm not sure if this is due to the PR, or due to the web vault changing), but since this is the same kind of issue it makes sense to solve here. Specifically, the body the web vault sends contains "key:", while the server expects "Key:" on the post body to /api/organizations/{orgid}/users/{userid}/confirm

@quexten
Copy link
Contributor

quexten commented Jun 16, 2024

Also, for native app compatibility, there seem to be some keys missing for organization profile responses, like

https://github.com/bitwarden/server/blob/b5241f1a9731ea74f22c2f4fe1072421f857429e/src/Api/AdminConsole/Models/Response/ProfileOrganizationResponseModel.cs#L157-L160

causing the native app(s) [only tested for iOS] to crash for accounts in an organization.

@quexten
Copy link
Contributor

quexten commented Jun 16, 2024

Also, somehow all custom fields in the sync response are null on this branch, (making custom fields inaccessible on all clients).

@dani-garcia
Copy link
Owner Author

@quexten Thanks for the review! I fixed the invalid case in key for the confirm and added the missing organization profile fields, which seems to work in both the new android and ios apps. The null fields should be also fixed with d5148bc, we were parsing the JSON incorrectly and ignoring the error.

@BlackDex I didn't even notice convert_json_key_lcase_first being there, but yeah I've switched it over in f0bf5bd, which required adding the check for ssn using _process_key (also removed some clones)

@dani-garcia dani-garcia marked this pull request as ready for review June 18, 2024 23:30
@dani-garcia
Copy link
Owner Author

Native apps are available in beta now, so we should try getting this merged soon:
https://fosstodon.org/@bitwarden/112639925158165590
https://community.bitwarden.com/t/about-the-beta-program/39185

@dani-garcia
Copy link
Owner Author

dani-garcia commented Jun 18, 2024

So far only bug remaining that I know of is that the Android app can't upload attachments or sends.

The android app sends a multipart/mixed header instead of the multipart/form-data header that the ios app and the rest of the clients send. I'll see if that's something we can change in the app.

Fixed in the latest main, uploads should work in the next beta update.

@BlackDex
Copy link
Collaborator

Ill see if i can do some more testing soon.

Copy link
Collaborator

@BlackDex BlackDex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just did some testing with my local accounts i use for debugging, and these are my findings so far.

  • The admin UI doesn't work, the user and org overview are broken because the handlebar templates are not updated.
  • For some reason in the Android Emulator i can't login at all, but that is not something we can fix i think.

On my physical phone (Pixel 7) it also doesn't work, i can login, but the sync fails on the client side.

  • Sends have a text object which have the keys Hidden and Text those are still capital-case
  "text": {
      "Hidden": false,
      "Text": "2.j2Z/rN...TbjMvCQ==|/Kk0bfdc...68kv8A==|W1qbVban...AVJYYJRPy/WbK5iQeEQJIWwJh1k="
  }
  • The same for Sends file:
  "file": {
      "FileName": "2.KcN9y...GuollclQ==|XxaO+KyT4fjIIYRb...MNxZ8VeHAAz4=|hruuM...PU4A=",
      "Id": "25587de08f158fe7ecfef24d22fc600c596efaf53bc5d7e23125e75c033a49bb",
      "Size": 10737,
      "SizeName": "10.49 KB"
  },

Other than that, i have not yet found anything which could be wrong any futher

@BlackDex
Copy link
Collaborator

Small update, Those sends were added via the PascalCase version of Vaultwarden.

@lukasj98
Copy link

I'm unable to download/view attachment on iOS beta app. Not sure if that's related though.

It is working perfect on iOS

@tonyxu-io
Copy link

I'm unable to download/view attachment on iOS beta app. Not sure if that's related though.

It is working perfect on iOS

I just tested again. It seems like image attachments works fine but PDF attachment doesn't work.

@BlackDex
Copy link
Collaborator

I'm unable to download/view attachment on iOS beta app. Not sure if that's related though.

It is working perfect on iOS

I just tested again. It seems like image attachments works fine but PDF attachment doesn't work.

PDF works fine for me too. it might be your phone which has issues with the attachment maybe? For me it just saves the files and i need to open it with a different app afterwards. So it doesn't matter what extension it is using.

@felixoswald
Copy link

felixoswald commented Jun 25, 2024

Can confirm. PDF and other attachments work fine in the web interface (latest testing) and in the iOS beta app (2024.6.1 1151 @ iOS 18.0).

@ItsMelody
Copy link

Am I correct in understanding that we are now supposed to be able to connect to self-hosted Vaultwarden instances in the new Beta app of Bitwarden? Because I haven't had any updates on my docker container for Vaultwarden and it also still doesn't let me log in with the Beta app...

@tonyxu-io
Copy link

Am I correct in understanding that we are now supposed to be able to connect to self-hosted Vaultwarden instances in the new Beta app of Bitwarden? Because I haven't had any updates on my docker container for Vaultwarden and it also still doesn't let me log in with the Beta app...

You need to use testing branch.

#4386 (comment)

@magisk317
Copy link

magisk317 commented Jul 7, 2024

I can log in to the beta version, but I can't sync/refresh the data. The log is as follows. Who can help me?

App prompt, "We are unable to process your request.Please try again or contact us."

[2024-07-07 05:01:27.691][request][INFO] GET /api/devices/knowndevice
[2024-07-07 05:01:27.693][response][INFO] (get_known_device) GET /api/devices/knowndevice => 200 OK
[2024-07-07 05:01:52.495][request][INFO] POST /identity/accounts/prelogin
[2024-07-07 05:01:52.497][response][INFO] (prelogin) POST /identity/accounts/prelogin => 200 OK
[2024-07-07 05:01:52.912][request][INFO] POST /identity/connect/token
[2024-07-07 05:01:53.040][vaultwarden::api::identity][INFO] User *****@***.com logged in successfully. IP: 10.0.0.20
[2024-07-07 05:01:53.040][response][INFO] (login) POST /identity/connect/token => 200 OK
[2024-07-07 05:01:54.079][request][INFO] GET /api/accounts/revision-date
[2024-07-07 05:01:54.082][response][INFO] (revision_date) GET /api/accounts/revision-date => 200 OK
[2024-07-07 05:01:54.089][request][INFO] GET /api/sync
[2024-07-07 05:01:54.133][response][INFO] (sync) GET /api/sync?<data..> => 200 OK
[2024-07-07 05:01:54.136][request][INFO] GET /api/ciphers/has-unassigned-ciphers
[2024-07-07 05:01:54.137][vaultwarden::api::core::ciphers][ERROR] Cipher doesn't exist
[2024-07-07 05:01:54.137][response][INFO] (get_cipher) GET /api/ciphers/<uuid> => 400 Bad Request
[2024-07-07 05:01:57.487][request][INFO] GET /api/accounts/revision-date
[2024-07-07 05:01:57.488][response][INFO] (revision_date) GET /api/accounts/revision-date => 200 OK
[2024-07-07 05:01:57.507][request][INFO] GET /api/sync
[2024-07-07 05:01:57.540][response][INFO] (sync) GET /api/sync?<data..> => 200 OK

Docker image version:

$ docker pull vaultwarden/server:testing
testing: Pulling from vaultwarden/server
Digest: sha256:c81f6915c14f748ea8a9025957aca421b884e818e849afea04e1ea06ece60622
Status: Image is up to date for vaultwarden/server:testing
docker.io/vaultwarden/server:testing

@BlackDex
Copy link
Collaborator

BlackDex commented Jul 7, 2024

@magisk317 , then there might be something else in your data which either isn't correct and maybe we should fix, or something else strange.

Have you tried the latest mobile app version?
Try the latest build from the build workflow artifacts.
Android: https://github.com/bitwarden/android/actions/workflows/build.yml
iOS: https://github.com/bitwarden/ios/actions/workflows/build.yml

@magisk317
Copy link

@magisk317,那么您的数据中可能还存在其他不正确的内容,也许我们应该进行修复,或者存在其他奇怪的内容。

您尝试过最新的移动应用程序版本吗? 尝试从构建工作流工件中获取最新版本。Android : https: //github.com/bitwarden/android/actions/workflows/build.yml iOS:https: //github.com/bitwarden/ios/actions/workflows/build.yml

I tried, the phenomenon is the same, even the log is the same, but strangely, unofficial clients can be used normally, such as keyguard.

@BlackDex
Copy link
Collaborator

BlackDex commented Jul 7, 2024

The new clients are more strict. So something in the output of the sync is causing issues. Unless we can see the output it would be hard for us to figure out out.

It probably is something in the data column in the ciphers table.
But it could be something else.

ZhReimu pushed a commit to ZhReimu/vaultwarden that referenced this pull request Jul 9, 2024
* Change API inputs/outputs and structs to camelCase

* Fix fields and password history

* Use convert_json_key_lcase_first

* Make sends lowercase

* Update admin and templates

* Update org revoke

* Fix sends expecting size to be a string on mobile

* Convert two-factor providers to string
renovate bot referenced this pull request in NorkzYT/Wolflith Jul 12, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [vaultwarden/server](https://togithub.com/dani-garcia/vaultwarden) |
minor | `1.30.5` -> `1.31.0` |

---

### Release Notes

<details>
<summary>dani-garcia/vaultwarden (vaultwarden/server)</summary>

###
[`v1.31.0`](https://togithub.com/dani-garcia/vaultwarden/releases/tag/1.31.0)

[Compare
Source](https://togithub.com/dani-garcia/vaultwarden/compare/1.30.5...1.31.0)

#### Major changes and New Features

-   Initial support for the beta releases of the new native mobile apps
- Removed support for WebSocket traffic on port 3012, as it's been
integrated on the main HTTP port for a few releases
-   Updated included web vault to 2024.5.1

#### General mention

Bitwarden has changed the push API endpoints which affects the EU region
endpoint users.
So if you use the push functionality and use the EU region you need to
make some changes.
You have to update `push.bitwarden.eu` to `api.bitwarden.eu`.
This is also an issue with any previous version of Vaultwarden.

#### What's Changed

- chore: remove repetitive words by
[@&#8203;one230six](https://togithub.com/one230six) in
[https://github.com/dani-garcia/vaultwarden/pull/4422](https://togithub.com/dani-garcia/vaultwarden/pull/4422)
- Fix comment in events.rs by
[@&#8203;KrappRamiro](https://togithub.com/KrappRamiro) in
[https://github.com/dani-garcia/vaultwarden/pull/4408](https://togithub.com/dani-garcia/vaultwarden/pull/4408)
- Improve JWT RSA key initialization and avoid saving public key by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4085](https://togithub.com/dani-garcia/vaultwarden/pull/4085)
- Remove custom WebSocket code by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4001](https://togithub.com/dani-garcia/vaultwarden/pull/4001)
- refactor: replace panic with a graceful exit by
[@&#8203;tessus](https://togithub.com/tessus) in
[https://github.com/dani-garcia/vaultwarden/pull/4402](https://togithub.com/dani-garcia/vaultwarden/pull/4402)
- Small improvements around email change by
[@&#8203;Timshel](https://togithub.com/Timshel) in
[https://github.com/dani-garcia/vaultwarden/pull/4415](https://togithub.com/dani-garcia/vaultwarden/pull/4415)
- Change timestamp data type. by
[@&#8203;gzfrozen](https://togithub.com/gzfrozen) in
[https://github.com/dani-garcia/vaultwarden/pull/4355](https://togithub.com/dani-garcia/vaultwarden/pull/4355)
- Fix
[#&#8203;3624](https://togithub.com/dani-garcia/vaultwarden/issues/3624):
fix manager permission within groups by
[@&#8203;matlink](https://togithub.com/matlink) in
[https://github.com/dani-garcia/vaultwarden/pull/3754](https://togithub.com/dani-garcia/vaultwarden/pull/3754)
- automatically use email address as 2fa provider by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4317](https://togithub.com/dani-garcia/vaultwarden/pull/4317)
- fix: typos by [@&#8203;testwill](https://togithub.com/testwill) in
[https://github.com/dani-garcia/vaultwarden/pull/4440](https://togithub.com/dani-garcia/vaultwarden/pull/4440)
- Update chrono and sqlite by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4436](https://togithub.com/dani-garcia/vaultwarden/pull/4436)
- Update Rust and crates by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4445](https://togithub.com/dani-garcia/vaultwarden/pull/4445)
- Use async verify for Yubikey by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4448](https://togithub.com/dani-garcia/vaultwarden/pull/4448)
- update web-vault to v2024.3.1 (new vertical layout) by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4468](https://togithub.com/dani-garcia/vaultwarden/pull/4468)
- Update crates and some Clippy fixes by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4475](https://togithub.com/dani-garcia/vaultwarden/pull/4475)
- Update Key Rotation web-vault v2024.3.x by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4446](https://togithub.com/dani-garcia/vaultwarden/pull/4446)
- Update Crate and Rust by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4522](https://togithub.com/dani-garcia/vaultwarden/pull/4522)
- Implement custom DNS resolver by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/3988](https://togithub.com/dani-garcia/vaultwarden/pull/3988)
- Add extra (unsupported) container build arch's by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4524](https://togithub.com/dani-garcia/vaultwarden/pull/4524)
- Pass in collection ids to notifier when sharing cipher. by
[@&#8203;kristof-mattei](https://togithub.com/kristof-mattei) in
[https://github.com/dani-garcia/vaultwarden/pull/4517](https://togithub.com/dani-garcia/vaultwarden/pull/4517)
- improve access to collections via groups by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4441](https://togithub.com/dani-garcia/vaultwarden/pull/4441)
- fix emergency access invites by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4337](https://togithub.com/dani-garcia/vaultwarden/pull/4337)
- Some fixes for the new mobile apps by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4526](https://togithub.com/dani-garcia/vaultwarden/pull/4526)
- Update Rust, crates and web-vault by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4558](https://togithub.com/dani-garcia/vaultwarden/pull/4558)
- Improve Commentary Aesthetics by
[@&#8203;rich-purnell](https://togithub.com/rich-purnell) in
[https://github.com/dani-garcia/vaultwarden/pull/4549](https://togithub.com/dani-garcia/vaultwarden/pull/4549)
- Optimize Dockerfiles by [@&#8203;dfunkt](https://togithub.com/dfunkt)
in
[https://github.com/dani-garcia/vaultwarden/pull/4532](https://togithub.com/dani-garcia/vaultwarden/pull/4532)
- also delete organization_api_key when deleting organizations by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4557](https://togithub.com/dani-garcia/vaultwarden/pull/4557)
- Fix public api for domains with path prefix by
[@&#8203;FDHoho007](https://togithub.com/FDHoho007) in
[https://github.com/dani-garcia/vaultwarden/pull/4500](https://togithub.com/dani-garcia/vaultwarden/pull/4500)
- Update crates by [@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4587](https://togithub.com/dani-garcia/vaultwarden/pull/4587)
- Fix web-vault version in Docker(files/Settings) by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4575](https://togithub.com/dani-garcia/vaultwarden/pull/4575)
- Update Alpine to version 3.20 by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4583](https://togithub.com/dani-garcia/vaultwarden/pull/4583)
- differentiate external groups by organization id by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4586](https://togithub.com/dani-garcia/vaultwarden/pull/4586)
- Remove old knowndevice route by
[@&#8203;Timshel](https://togithub.com/Timshel) in
[https://github.com/dani-garcia/vaultwarden/pull/4578](https://togithub.com/dani-garcia/vaultwarden/pull/4578)
- Update admin interface dependencies by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4581](https://togithub.com/dani-garcia/vaultwarden/pull/4581)
- Update rust and remove unused header values by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4645](https://togithub.com/dani-garcia/vaultwarden/pull/4645)
- Update crates, web-vault and GHA by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4648](https://togithub.com/dani-garcia/vaultwarden/pull/4648)
- Fix some nightly build errors by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4657](https://togithub.com/dani-garcia/vaultwarden/pull/4657)
- Fix some more nightly errors and remove lint that will become an error
by default by [@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4661](https://togithub.com/dani-garcia/vaultwarden/pull/4661)
- Change API and structs to camelCase by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4386](https://togithub.com/dani-garcia/vaultwarden/pull/4386)
- Fix cipher creation on new android app by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4670](https://togithub.com/dani-garcia/vaultwarden/pull/4670)
- Remove mimalloc workaround by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4606](https://togithub.com/dani-garcia/vaultwarden/pull/4606)
- Change some missing PascalCase keys by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4671](https://togithub.com/dani-garcia/vaultwarden/pull/4671)
- Fix collections and native app issue by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4685](https://togithub.com/dani-garcia/vaultwarden/pull/4685)
- Fix duplicate folder creations during import by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4702](https://togithub.com/dani-garcia/vaultwarden/pull/4702)
- Remove duplicate registry step by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4703](https://togithub.com/dani-garcia/vaultwarden/pull/4703)
- add group support for Cipher::get_collections() by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4592](https://togithub.com/dani-garcia/vaultwarden/pull/4592)
- Switch registry cache compression algorithm to zstd by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4704](https://togithub.com/dani-garcia/vaultwarden/pull/4704)
- Update crates and web-vault by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4714](https://togithub.com/dani-garcia/vaultwarden/pull/4714)
- Some fixes for emergency access by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4715](https://togithub.com/dani-garcia/vaultwarden/pull/4715)

#### New Contributors

- [@&#8203;one230six](https://togithub.com/one230six) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4422](https://togithub.com/dani-garcia/vaultwarden/pull/4422)
- [@&#8203;KrappRamiro](https://togithub.com/KrappRamiro) made their
first contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4408](https://togithub.com/dani-garcia/vaultwarden/pull/4408)
- [@&#8203;testwill](https://togithub.com/testwill) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4440](https://togithub.com/dani-garcia/vaultwarden/pull/4440)
- [@&#8203;kristof-mattei](https://togithub.com/kristof-mattei) made
their first contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4517](https://togithub.com/dani-garcia/vaultwarden/pull/4517)
- [@&#8203;rich-purnell](https://togithub.com/rich-purnell) made their
first contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4549](https://togithub.com/dani-garcia/vaultwarden/pull/4549)
- [@&#8203;dfunkt](https://togithub.com/dfunkt) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4532](https://togithub.com/dani-garcia/vaultwarden/pull/4532)
- [@&#8203;FDHoho007](https://togithub.com/FDHoho007) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4500](https://togithub.com/dani-garcia/vaultwarden/pull/4500)

**Full Changelog**:
dani-garcia/vaultwarden@1.30.5...1.31.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm every weekday,every
weekend,before 5am every weekday" in timezone America/New_York,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/NorkzYT/Wolflith).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoic3RhZ2luZyIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJtaW5vciIsInJlbm92YXRlIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
truecharts-admin referenced this pull request in truecharts/public Jul 24, 2024
…1.31.0@4e28425 by renovate (#24153)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[docker.io/vaultwarden/server](https://togithub.com/dani-garcia/vaultwarden)
| minor | `1.30.5` -> `1.31.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>dani-garcia/vaultwarden
(docker.io/vaultwarden/server)</summary>

###
[`v1.31.0`](https://togithub.com/dani-garcia/vaultwarden/releases/tag/1.31.0)

[Compare
Source](https://togithub.com/dani-garcia/vaultwarden/compare/1.30.5...1.31.0)

#### Major changes and New Features

-   Initial support for the beta releases of the new native mobile apps
- Removed support for WebSocket traffic on port 3012, as it's been
integrated on the main HTTP port for a few releases
-   Updated included web vault to 2024.5.1

#### General mention

Bitwarden has changed the push API endpoints which affects the EU region
endpoint users.
So if you use the push functionality and use the EU region you need to
make some changes.
You have to update `push.bitwarden.eu` to `api.bitwarden.eu`.
This is also an issue with any previous version of Vaultwarden.

#### What's Changed

- chore: remove repetitive words by
[@&#8203;one230six](https://togithub.com/one230six) in
[https://github.com/dani-garcia/vaultwarden/pull/4422](https://togithub.com/dani-garcia/vaultwarden/pull/4422)
- Fix comment in events.rs by
[@&#8203;KrappRamiro](https://togithub.com/KrappRamiro) in
[https://github.com/dani-garcia/vaultwarden/pull/4408](https://togithub.com/dani-garcia/vaultwarden/pull/4408)
- Improve JWT RSA key initialization and avoid saving public key by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4085](https://togithub.com/dani-garcia/vaultwarden/pull/4085)
- Remove custom WebSocket code by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4001](https://togithub.com/dani-garcia/vaultwarden/pull/4001)
- refactor: replace panic with a graceful exit by
[@&#8203;tessus](https://togithub.com/tessus) in
[https://github.com/dani-garcia/vaultwarden/pull/4402](https://togithub.com/dani-garcia/vaultwarden/pull/4402)
- Small improvements around email change by
[@&#8203;Timshel](https://togithub.com/Timshel) in
[https://github.com/dani-garcia/vaultwarden/pull/4415](https://togithub.com/dani-garcia/vaultwarden/pull/4415)
- Change timestamp data type. by
[@&#8203;gzfrozen](https://togithub.com/gzfrozen) in
[https://github.com/dani-garcia/vaultwarden/pull/4355](https://togithub.com/dani-garcia/vaultwarden/pull/4355)
- Fix
[#&#8203;3624](https://togithub.com/dani-garcia/vaultwarden/issues/3624):
fix manager permission within groups by
[@&#8203;matlink](https://togithub.com/matlink) in
[https://github.com/dani-garcia/vaultwarden/pull/3754](https://togithub.com/dani-garcia/vaultwarden/pull/3754)
- automatically use email address as 2fa provider by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4317](https://togithub.com/dani-garcia/vaultwarden/pull/4317)
- fix: typos by [@&#8203;testwill](https://togithub.com/testwill) in
[https://github.com/dani-garcia/vaultwarden/pull/4440](https://togithub.com/dani-garcia/vaultwarden/pull/4440)
- Update chrono and sqlite by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4436](https://togithub.com/dani-garcia/vaultwarden/pull/4436)
- Update Rust and crates by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4445](https://togithub.com/dani-garcia/vaultwarden/pull/4445)
- Use async verify for Yubikey by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4448](https://togithub.com/dani-garcia/vaultwarden/pull/4448)
- update web-vault to v2024.3.1 (new vertical layout) by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4468](https://togithub.com/dani-garcia/vaultwarden/pull/4468)
- Update crates and some Clippy fixes by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4475](https://togithub.com/dani-garcia/vaultwarden/pull/4475)
- Update Key Rotation web-vault v2024.3.x by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4446](https://togithub.com/dani-garcia/vaultwarden/pull/4446)
- Update Crate and Rust by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4522](https://togithub.com/dani-garcia/vaultwarden/pull/4522)
- Implement custom DNS resolver by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/3988](https://togithub.com/dani-garcia/vaultwarden/pull/3988)
- Add extra (unsupported) container build arch's by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4524](https://togithub.com/dani-garcia/vaultwarden/pull/4524)
- Pass in collection ids to notifier when sharing cipher. by
[@&#8203;kristof-mattei](https://togithub.com/kristof-mattei) in
[https://github.com/dani-garcia/vaultwarden/pull/4517](https://togithub.com/dani-garcia/vaultwarden/pull/4517)
- improve access to collections via groups by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4441](https://togithub.com/dani-garcia/vaultwarden/pull/4441)
- fix emergency access invites by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4337](https://togithub.com/dani-garcia/vaultwarden/pull/4337)
- Some fixes for the new mobile apps by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4526](https://togithub.com/dani-garcia/vaultwarden/pull/4526)
- Update Rust, crates and web-vault by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4558](https://togithub.com/dani-garcia/vaultwarden/pull/4558)
- Improve Commentary Aesthetics by
[@&#8203;rich-purnell](https://togithub.com/rich-purnell) in
[https://github.com/dani-garcia/vaultwarden/pull/4549](https://togithub.com/dani-garcia/vaultwarden/pull/4549)
- Optimize Dockerfiles by [@&#8203;dfunkt](https://togithub.com/dfunkt)
in
[https://github.com/dani-garcia/vaultwarden/pull/4532](https://togithub.com/dani-garcia/vaultwarden/pull/4532)
- also delete organization_api_key when deleting organizations by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4557](https://togithub.com/dani-garcia/vaultwarden/pull/4557)
- Fix public api for domains with path prefix by
[@&#8203;FDHoho007](https://togithub.com/FDHoho007) in
[https://github.com/dani-garcia/vaultwarden/pull/4500](https://togithub.com/dani-garcia/vaultwarden/pull/4500)
- Update crates by [@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4587](https://togithub.com/dani-garcia/vaultwarden/pull/4587)
- Fix web-vault version in Docker(files/Settings) by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4575](https://togithub.com/dani-garcia/vaultwarden/pull/4575)
- Update Alpine to version 3.20 by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4583](https://togithub.com/dani-garcia/vaultwarden/pull/4583)
- differentiate external groups by organization id by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4586](https://togithub.com/dani-garcia/vaultwarden/pull/4586)
- Remove old knowndevice route by
[@&#8203;Timshel](https://togithub.com/Timshel) in
[https://github.com/dani-garcia/vaultwarden/pull/4578](https://togithub.com/dani-garcia/vaultwarden/pull/4578)
- Update admin interface dependencies by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4581](https://togithub.com/dani-garcia/vaultwarden/pull/4581)
- Update rust and remove unused header values by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4645](https://togithub.com/dani-garcia/vaultwarden/pull/4645)
- Update crates, web-vault and GHA by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4648](https://togithub.com/dani-garcia/vaultwarden/pull/4648)
- Fix some nightly build errors by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4657](https://togithub.com/dani-garcia/vaultwarden/pull/4657)
- Fix some more nightly errors and remove lint that will become an error
by default by [@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4661](https://togithub.com/dani-garcia/vaultwarden/pull/4661)
- Change API and structs to camelCase by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4386](https://togithub.com/dani-garcia/vaultwarden/pull/4386)
- Fix cipher creation on new android app by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4670](https://togithub.com/dani-garcia/vaultwarden/pull/4670)
- Remove mimalloc workaround by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4606](https://togithub.com/dani-garcia/vaultwarden/pull/4606)
- Change some missing PascalCase keys by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4671](https://togithub.com/dani-garcia/vaultwarden/pull/4671)
- Fix collections and native app issue by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4685](https://togithub.com/dani-garcia/vaultwarden/pull/4685)
- Fix duplicate folder creations during import by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4702](https://togithub.com/dani-garcia/vaultwarden/pull/4702)
- Remove duplicate registry step by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4703](https://togithub.com/dani-garcia/vaultwarden/pull/4703)
- add group support for Cipher::get_collections() by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4592](https://togithub.com/dani-garcia/vaultwarden/pull/4592)
- Switch registry cache compression algorithm to zstd by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4704](https://togithub.com/dani-garcia/vaultwarden/pull/4704)
- Update crates and web-vault by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4714](https://togithub.com/dani-garcia/vaultwarden/pull/4714)
- Some fixes for emergency access by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4715](https://togithub.com/dani-garcia/vaultwarden/pull/4715)

#### New Contributors

- [@&#8203;one230six](https://togithub.com/one230six) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4422](https://togithub.com/dani-garcia/vaultwarden/pull/4422)
- [@&#8203;KrappRamiro](https://togithub.com/KrappRamiro) made their
first contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4408](https://togithub.com/dani-garcia/vaultwarden/pull/4408)
- [@&#8203;testwill](https://togithub.com/testwill) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4440](https://togithub.com/dani-garcia/vaultwarden/pull/4440)
- [@&#8203;kristof-mattei](https://togithub.com/kristof-mattei) made
their first contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4517](https://togithub.com/dani-garcia/vaultwarden/pull/4517)
- [@&#8203;rich-purnell](https://togithub.com/rich-purnell) made their
first contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4549](https://togithub.com/dani-garcia/vaultwarden/pull/4549)
- [@&#8203;dfunkt](https://togithub.com/dfunkt) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4532](https://togithub.com/dani-garcia/vaultwarden/pull/4532)
- [@&#8203;FDHoho007](https://togithub.com/FDHoho007) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4500](https://togithub.com/dani-garcia/vaultwarden/pull/4500)

**Full Changelog**:
dani-garcia/vaultwarden@1.30.5...1.31.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNiIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC42IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
sp3nx0r referenced this pull request in sp3nx0r/homelab Aug 3, 2024
…#272)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[docker.io/vaultwarden/server](https://togithub.com/dani-garcia/vaultwarden)
| minor | `1.30.5` -> `1.31.0` |

---

### Release Notes

<details>
<summary>dani-garcia/vaultwarden
(docker.io/vaultwarden/server)</summary>

###
[`v1.31.0`](https://togithub.com/dani-garcia/vaultwarden/releases/tag/1.31.0)

[Compare
Source](https://togithub.com/dani-garcia/vaultwarden/compare/1.30.5...1.31.0)

#### Major changes and New Features

-   Initial support for the beta releases of the new native mobile apps
- Removed support for WebSocket traffic on port 3012, as it's been
integrated on the main HTTP port for a few releases
-   Updated included web vault to 2024.5.1

#### General mention

Bitwarden has changed the push API endpoints which affects the EU region
endpoint users.
So if you use the push functionality and use the EU region you need to
make some changes.
You have to update `push.bitwarden.eu` to `api.bitwarden.eu`.
This is also an issue with any previous version of Vaultwarden.

#### What's Changed

- chore: remove repetitive words by
[@&#8203;one230six](https://togithub.com/one230six) in
[https://github.com/dani-garcia/vaultwarden/pull/4422](https://togithub.com/dani-garcia/vaultwarden/pull/4422)
- Fix comment in events.rs by
[@&#8203;KrappRamiro](https://togithub.com/KrappRamiro) in
[https://github.com/dani-garcia/vaultwarden/pull/4408](https://togithub.com/dani-garcia/vaultwarden/pull/4408)
- Improve JWT RSA key initialization and avoid saving public key by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4085](https://togithub.com/dani-garcia/vaultwarden/pull/4085)
- Remove custom WebSocket code by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4001](https://togithub.com/dani-garcia/vaultwarden/pull/4001)
- refactor: replace panic with a graceful exit by
[@&#8203;tessus](https://togithub.com/tessus) in
[https://github.com/dani-garcia/vaultwarden/pull/4402](https://togithub.com/dani-garcia/vaultwarden/pull/4402)
- Small improvements around email change by
[@&#8203;Timshel](https://togithub.com/Timshel) in
[https://github.com/dani-garcia/vaultwarden/pull/4415](https://togithub.com/dani-garcia/vaultwarden/pull/4415)
- Change timestamp data type. by
[@&#8203;gzfrozen](https://togithub.com/gzfrozen) in
[https://github.com/dani-garcia/vaultwarden/pull/4355](https://togithub.com/dani-garcia/vaultwarden/pull/4355)
- Fix
[#&#8203;3624](https://togithub.com/dani-garcia/vaultwarden/issues/3624):
fix manager permission within groups by
[@&#8203;matlink](https://togithub.com/matlink) in
[https://github.com/dani-garcia/vaultwarden/pull/3754](https://togithub.com/dani-garcia/vaultwarden/pull/3754)
- automatically use email address as 2fa provider by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4317](https://togithub.com/dani-garcia/vaultwarden/pull/4317)
- fix: typos by [@&#8203;testwill](https://togithub.com/testwill) in
[https://github.com/dani-garcia/vaultwarden/pull/4440](https://togithub.com/dani-garcia/vaultwarden/pull/4440)
- Update chrono and sqlite by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4436](https://togithub.com/dani-garcia/vaultwarden/pull/4436)
- Update Rust and crates by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4445](https://togithub.com/dani-garcia/vaultwarden/pull/4445)
- Use async verify for Yubikey by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4448](https://togithub.com/dani-garcia/vaultwarden/pull/4448)
- update web-vault to v2024.3.1 (new vertical layout) by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4468](https://togithub.com/dani-garcia/vaultwarden/pull/4468)
- Update crates and some Clippy fixes by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4475](https://togithub.com/dani-garcia/vaultwarden/pull/4475)
- Update Key Rotation web-vault v2024.3.x by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4446](https://togithub.com/dani-garcia/vaultwarden/pull/4446)
- Update Crate and Rust by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4522](https://togithub.com/dani-garcia/vaultwarden/pull/4522)
- Implement custom DNS resolver by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/3988](https://togithub.com/dani-garcia/vaultwarden/pull/3988)
- Add extra (unsupported) container build arch's by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4524](https://togithub.com/dani-garcia/vaultwarden/pull/4524)
- Pass in collection ids to notifier when sharing cipher. by
[@&#8203;kristof-mattei](https://togithub.com/kristof-mattei) in
[https://github.com/dani-garcia/vaultwarden/pull/4517](https://togithub.com/dani-garcia/vaultwarden/pull/4517)
- improve access to collections via groups by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4441](https://togithub.com/dani-garcia/vaultwarden/pull/4441)
- fix emergency access invites by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4337](https://togithub.com/dani-garcia/vaultwarden/pull/4337)
- Some fixes for the new mobile apps by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4526](https://togithub.com/dani-garcia/vaultwarden/pull/4526)
- Update Rust, crates and web-vault by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4558](https://togithub.com/dani-garcia/vaultwarden/pull/4558)
- Improve Commentary Aesthetics by
[@&#8203;rich-purnell](https://togithub.com/rich-purnell) in
[https://github.com/dani-garcia/vaultwarden/pull/4549](https://togithub.com/dani-garcia/vaultwarden/pull/4549)
- Optimize Dockerfiles by [@&#8203;dfunkt](https://togithub.com/dfunkt)
in
[https://github.com/dani-garcia/vaultwarden/pull/4532](https://togithub.com/dani-garcia/vaultwarden/pull/4532)
- also delete organization_api_key when deleting organizations by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4557](https://togithub.com/dani-garcia/vaultwarden/pull/4557)
- Fix public api for domains with path prefix by
[@&#8203;FDHoho007](https://togithub.com/FDHoho007) in
[https://github.com/dani-garcia/vaultwarden/pull/4500](https://togithub.com/dani-garcia/vaultwarden/pull/4500)
- Update crates by [@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4587](https://togithub.com/dani-garcia/vaultwarden/pull/4587)
- Fix web-vault version in Docker(files/Settings) by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4575](https://togithub.com/dani-garcia/vaultwarden/pull/4575)
- Update Alpine to version 3.20 by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4583](https://togithub.com/dani-garcia/vaultwarden/pull/4583)
- differentiate external groups by organization id by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4586](https://togithub.com/dani-garcia/vaultwarden/pull/4586)
- Remove old knowndevice route by
[@&#8203;Timshel](https://togithub.com/Timshel) in
[https://github.com/dani-garcia/vaultwarden/pull/4578](https://togithub.com/dani-garcia/vaultwarden/pull/4578)
- Update admin interface dependencies by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4581](https://togithub.com/dani-garcia/vaultwarden/pull/4581)
- Update rust and remove unused header values by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4645](https://togithub.com/dani-garcia/vaultwarden/pull/4645)
- Update crates, web-vault and GHA by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4648](https://togithub.com/dani-garcia/vaultwarden/pull/4648)
- Fix some nightly build errors by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4657](https://togithub.com/dani-garcia/vaultwarden/pull/4657)
- Fix some more nightly errors and remove lint that will become an error
by default by [@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4661](https://togithub.com/dani-garcia/vaultwarden/pull/4661)
- Change API and structs to camelCase by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4386](https://togithub.com/dani-garcia/vaultwarden/pull/4386)
- Fix cipher creation on new android app by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4670](https://togithub.com/dani-garcia/vaultwarden/pull/4670)
- Remove mimalloc workaround by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4606](https://togithub.com/dani-garcia/vaultwarden/pull/4606)
- Change some missing PascalCase keys by
[@&#8203;dani-garcia](https://togithub.com/dani-garcia) in
[https://github.com/dani-garcia/vaultwarden/pull/4671](https://togithub.com/dani-garcia/vaultwarden/pull/4671)
- Fix collections and native app issue by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4685](https://togithub.com/dani-garcia/vaultwarden/pull/4685)
- Fix duplicate folder creations during import by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4702](https://togithub.com/dani-garcia/vaultwarden/pull/4702)
- Remove duplicate registry step by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4703](https://togithub.com/dani-garcia/vaultwarden/pull/4703)
- add group support for Cipher::get_collections() by
[@&#8203;stefan0xC](https://togithub.com/stefan0xC) in
[https://github.com/dani-garcia/vaultwarden/pull/4592](https://togithub.com/dani-garcia/vaultwarden/pull/4592)
- Switch registry cache compression algorithm to zstd by
[@&#8203;dfunkt](https://togithub.com/dfunkt) in
[https://github.com/dani-garcia/vaultwarden/pull/4704](https://togithub.com/dani-garcia/vaultwarden/pull/4704)
- Update crates and web-vault by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4714](https://togithub.com/dani-garcia/vaultwarden/pull/4714)
- Some fixes for emergency access by
[@&#8203;BlackDex](https://togithub.com/BlackDex) in
[https://github.com/dani-garcia/vaultwarden/pull/4715](https://togithub.com/dani-garcia/vaultwarden/pull/4715)

#### New Contributors

- [@&#8203;one230six](https://togithub.com/one230six) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4422](https://togithub.com/dani-garcia/vaultwarden/pull/4422)
- [@&#8203;KrappRamiro](https://togithub.com/KrappRamiro) made their
first contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4408](https://togithub.com/dani-garcia/vaultwarden/pull/4408)
- [@&#8203;testwill](https://togithub.com/testwill) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4440](https://togithub.com/dani-garcia/vaultwarden/pull/4440)
- [@&#8203;kristof-mattei](https://togithub.com/kristof-mattei) made
their first contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4517](https://togithub.com/dani-garcia/vaultwarden/pull/4517)
- [@&#8203;rich-purnell](https://togithub.com/rich-purnell) made their
first contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4549](https://togithub.com/dani-garcia/vaultwarden/pull/4549)
- [@&#8203;dfunkt](https://togithub.com/dfunkt) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4532](https://togithub.com/dani-garcia/vaultwarden/pull/4532)
- [@&#8203;FDHoho007](https://togithub.com/FDHoho007) made their first
contribution in
[https://github.com/dani-garcia/vaultwarden/pull/4500](https://togithub.com/dani-garcia/vaultwarden/pull/4500)

**Full Changelog**:
dani-garcia/vaultwarden@1.30.5...1.31.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on saturday" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/sp3nx0r/homelab).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@ZerkerEOD
Copy link

Is there a fix for this? I just had my android app updated and as soon as I log in I am greeted with that message. I updated the backend and that didn't fix it for me.

@BlackDex
Copy link
Collaborator

@ZerkerEOD with what message? And what is the specific issue?
Did you updated to Vaultwarden v1.32.0?

@mhzawadi
Copy link

@ZerkerEOD can confirm that 1.32.0 does fix any issues with the new Bitwarden Beta app, make sure your running 1.32.0

@ZerkerEOD
Copy link

@ZerkerEOD with what message? And what is the specific issue? Did you updated to Vaultwarden v1.32.0?

The message is, "We were unable to process your request. Please try again or contact us." If I click try again it does the same thing. If I go to the Settings -> Other - There is no date for last sync and if I click the “Sync now” button it just goes into a sync that won't end unless I force close the app.

The server is showing version 1.32.0. Looks like the official bitwarden app is the cause as my vault works every where else. The app updated to the beta version finally and it started. So I left the beta and deleted and reinstalled and it looks like they pushed the beta into production.

@mhzawadi
Copy link

@ZerkerEOD Your very right, the old app is now the new Beta app. But both work for me, did you reset the data for the app?

@ZerkerEOD
Copy link

@ZerkerEOD Your very right, the old app is now the new Beta app. But both work for me, did you reset the data for the app?

I did, I first tried to delete cache and storage, then I deleted the application, left the beta, waited for that to register and then installed the app fresh again. Still doing the same thing.

@mhzawadi
Copy link

@ZerkerEOD Did you update your LB config to remove the WebSockets stuff?

@ZerkerEOD
Copy link

ZerkerEOD commented Aug 15, 2024

@ZerkerEOD Did you update your LB config to remove the WebSockets stuff?

To be honest, I never had any web socket informaiton in my load balancer stuff in my LB configs. I use Traefik for that and it has the following:

image

My web entry point automatically redirects everything to HTTPS also. So I could technically remove the web from the entry points.

@BlackDex
Copy link
Collaborator

It then must be some entry which is causing an issue.
You might want to try the debug android build which you can download from the release page in the Bitwarden repo on GitHub.

And then use adb to see if something there reports what the issue is. That would help us fix this.

Else you need to inspect the sync response manually and see if you see anything strange there compared to all other emtries.

@ZerkerEOD
Copy link

I will get to that hopefully later today if not this weekend. I am a little busy right now. I was able to get it working using Keyguard. But I do prefer the original app.

@ZerkerEOD
Copy link

@BlackDex, do you know what ADB commands would be needed? I have used it before to root my phones but that is about it.

@BlackDex
Copy link
Collaborator

well, first you need to install the -dev/-qa app, else no output will be shown at all.
But it seems it will only show the http requests/responses. No errors seem to appear at all in the logs.

So, you might still try. The command you are looking for is probably adb logcat.
Also see #4870, where there are some posts which describe on how to get some details.

@magisk317
Copy link

@BlackDex, do you know what ADB commands would be needed? I have used it before to root my phones but that is about it.

@ZerkerEOD I don't know if your problem has been solved? But my problem is still there...

@BlackDex I installed the dev version and grabbed the logcat, I don't know if it will be useful for this problem, if there is anything else that needs to be done, you can comment me

log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot Login Using Bitwarden Mobile Native