Skip to content

Make passcode_generation field optional when deserializing escrow metadata#23

Open
malmeloo wants to merge 1 commit into
OpenBubbles:masterfrom
malmeloo:fix/missing-field-in-escrow-metadata
Open

Make passcode_generation field optional when deserializing escrow metadata#23
malmeloo wants to merge 1 commit into
OpenBubbles:masterfrom
malmeloo:fix/missing-field-in-escrow-metadata

Conversation

@malmeloo

@malmeloo malmeloo commented May 5, 2026

Copy link
Copy Markdown

Two of my devices (one original iPhone and a hackintosh) were not showing up as escrow bottles because their metadata did not have the passcode_generation field attached, which caused deserialization to fail, which then caused rustpush to skip it entirely. This marks the field as optional to make them show up properly.

The type of the field remains the same, serde will just set it to a default value if it's missing.

@mackid1993

Copy link
Copy Markdown

I just wanted to drop a comment on this PR. I patched it into lrhodin/corten-matrix and it's helped a ton of people see bottles that they otherwise would not have been able to open.

Hopefully this can be merged into the main branch of Rustpush at some point.

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.

2 participants