-
-
Notifications
You must be signed in to change notification settings - Fork 127
feat(msmsg): decrypt Meta AI / fbid bot replies (<enc type="msmsg">)
#650
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
a018eea
feat(store): add MsgSecretStore for outbound messageSecret persistence
jlucaso1 117de18
feat(crypto): add bot_message::decrypt_bot_message for msmsg envelopes
jlucaso1 46ec145
feat(enc-type): add EncType::MessageSecret for msmsg
jlucaso1 f0d9124
feat(send): persist outbound MessageContextInfo.message_secret after …
jlucaso1 4d6cbda
feat(msmsg): inbound decrypt + dispatch pipeline
jlucaso1 d3768da
feat(msmsg): honour bot edit chain (edit_target_id for HKDF msg_id)
jlucaso1 f2e099b
review: address 5 findings (bot AD_JID, P1 secret capture, ordering, …
jlucaso1 1e601af
feat(msmsg): try-then-fallback decrypt covering regular bot path
jlucaso1 e8bdfd0
review: propagate group sender_identity, parse edit_target_id uncondi…
jlucaso1 cadb0d9
review: encoder typed path, 32-byte secret type, primary/fallback dedup
jlucaso1 91b61a2
review: msg_secrets retention, msmsg+unknown sibling, fanout capture
jlucaso1 c849776
review: cover invokedBotWid + isForwarded, make msg_secret TTL opt-in
jlucaso1 23a4766
test(msmsg): cover proto helpers + LID↔PN alternate secret lookup
jlucaso1 81ebe6d
perf(jid): add to_non_ad_string(), drop throwaway Jid in 23 call sites
jlucaso1 b8dc241
fix(keepalive): decouple msg_secret cleanup from sent-message TTL gate
jlucaso1 2380433
fix(msmsg): order fanout secret capture before next stanza; keepalive…
jlucaso1 4e81233
review: Debug msg_secret_ttl, canonical is_bot() in mentions_any_bot
jlucaso1 184719a
fix(ci): fetch bench baseline via raw media type (>1MB data.js)
jlucaso1 ac0e1c0
fix(msmsg): group bot support — participant-keyed secret + bare ack
jlucaso1 97c8ed7
chore(msmsg): log secret capture + decrypt success for prod validation
jlucaso1 dec0edd
chore(msmsg): downgrade expected group-companion secret miss to debug
jlucaso1 48033a3
debug(msmsg): log capture-gate inputs for group bot diagnosis
jlucaso1 f4a744d
fix(msmsg): cache group bot secret via bot_metadata + author identity
jlucaso1 106f90a
chore(msmsg): drop temporary group-flow diagnostic log
jlucaso1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.