feat: thunderbird mcp - #30
Closed
mudler wants to merge 23 commits into
Closed
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…parsing Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… url.Parse Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…dering) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ly on credential-load failure, and harden read-only DB opens Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Encoded slash/dot-dot surviving inside a decoded mailbox:// segment let
filepath.Join escape the profile directory (untrusted FolderURI from
get_message/reply_message/forward_message), enabling arbitrary read-only
local file read (e.g. .../%2e%2e%2f%2e%2e%2fetc%2fpasswd -> /etc/passwd).
Defense in depth: reject unsafe decoded segments ("", ".", "..", or any
containing a path separator or NUL) and backstop with a filepath.Rel
containment check; localMboxPath returns "" when it cannot resolve a path
provably inside a.Directory. GetMessage and loadDetail now surface a clear
error instead of a confusing open failure. Adds regression specs.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Testing against a genuine NSS-generated key4.db/logins.json (produced via PK11SDR_Encrypt) revealed that real Thunderbird/Firefox write the PBKDF2 prf AlgorithmIdentifier with no parameters, and may omit the optional keyLength. Our ASN.1 structs marked AlgorithmIdentifier.Parameters (and pbkdf2Params KeyLength/Prf) as required, so the parse failed and recoverMasterKey mis-reported it as a master-password profile (ErrMasterPassword). Mark those fields asn1:"optional". Add a regression test that decrypts a committed REAL NSS fixture (not one produced by our own encoder). Also add json tags to CalendarRef so list_calendars returns lowercase keys like the other tools. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…action enums Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.