Skip to content

edit: encrypt with item key when entry has one - #368

Open
Mic92 wants to merge 1 commit into
doy:mainfrom
Mic92:item-key-edit
Open

edit: encrypt with item key when entry has one#368
Mic92 wants to merge 1 commit into
doy:mainfrom
Mic92:item-key-edit

Conversation

@Mic92

@Mic92 Mic92 commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Fixes #364.

rbw edit encrypted fields with the user/org key and dropped the key field from the cipher PUT, corrupting entries that have an individual item key (vault becomes undecryptable with invalid mac).

Now the agent encrypts with the item key when present and the PUT preserves key. Tested against vaultwarden.

rbw edit re-encrypted password/notes with the user/org key while the
server kept the entry's individual item key, corrupting the entry for
all clients (doy#364).
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.

rbw edit corrupts entries that have an individual encryption key

1 participant