Getting '[error: cannot decrypt]' when using organisations #2378

Closed
opened 2025-10-09 18:02:41 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @dabeeeenster on GitHub.

  • Created an account, and an organisation.
  • Created a second account.
  • Associated second account with organisation
  • Created login item with first account
  • When viewing the item with the second account, I just see [error: cannot decrypt]
Originally created by @dabeeeenster on GitHub. - Created an account, and an organisation. - Created a second account. - Associated second account with organisation - Created login item with first account - When viewing the item with the second account, I just see ```[error: cannot decrypt]```
Author
Owner

@mprasil commented on GitHub:

Sounds like you didn't confirm the second account from the Organization owner (the first account)

There are two steps, first you invite, then you confirm the invited user. (in original server there's mid step of user confirming they want to join Organization, but that one is skipped with bitwarden_rs as we don't have email functionality to send the invitation)

@mprasil commented on GitHub: Sounds like you didn't confirm the second account from the Organization owner (the first account) There are two steps, first you invite, then you confirm the invited user. (in original server there's mid step of user confirming they want to join Organization, but that one is skipped with bitwarden_rs as we don't have email functionality to send the invitation)
Author
Owner

@mprasil commented on GitHub:

As per discussion with Dani, I've created #80 to fix this. We shouldn't really be showing you the ciphers in the first place.

@mprasil commented on GitHub: As per discussion with Dani, I've created #80 to fix this. We shouldn't really be showing you the ciphers in the first place.
Author
Owner

@mprasil commented on GitHub:

I tried to reproduce this, but I can't. The only time I can see the "cannot decrypt" message is when the user is invited, but not yet confirmed. In the image bellow you can see Test2 user being in such state. (the list shows they are "accepted") You just need to confirm the user and they should see the cypher after they sync.

image

@mprasil commented on GitHub: I tried to reproduce this, but I can't. The only time I can see the "cannot decrypt" message is when the user is invited, but not yet confirmed. In the image bellow you can see Test2 user being in such state. (the list shows they are "accepted") You just need to confirm the user and they should see the cypher after they sync. ![image](https://user-images.githubusercontent.com/8255364/42657651-d208b81e-861a-11e8-9bf6-c44e9e00a392.png)
Author
Owner

@dabeeeenster commented on GitHub:

Thanks for the replies - this was as described - I still needed to confirm the second user. I guess SMTP config would be helpful here.

@dabeeeenster commented on GitHub: Thanks for the replies - this was as described - I still needed to confirm the second user. I guess SMTP config would be helpful here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#2378