feat: add Linux Chrome/Chromium cookie extraction support#3
Open
Whamp wants to merge 1 commit intonicobailon:mainfrom
Open
feat: add Linux Chrome/Chromium cookie extraction support#3Whamp wants to merge 1 commit intonicobailon:mainfrom
Whamp wants to merge 1 commit intonicobailon:mainfrom
Conversation
- Add platform abstraction for cookie database path detection - Support both Chromium (~/.config/chromium) and Chrome (~/.config/google-chrome) - Implement GNOME Keyring password retrieval via secret-tool - Add fallback to hardcoded 'peanuts' password when no keyring available - Implement v10/v11 decryption using AES-128-CBC with PBKDF2 (1 iteration) - Handle SHA256 hash prefix for database version >= 24 - Update README with Linux platform support documentation
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.
Summary
Cookie extraction now works on Linux with GNOME Keyring. Previously, Linux users needed API keys—now they can use their browser session like macOS users.
Changes
~/.config/chromium/) first, then Chrome (~/.config/google-chrome/)secret-tool lookupwith fallback to hardcoded "peanuts"os_crypt_linux.ccTested on
web_searchandfetch_contentwork without API keysShould work on
Not yet supported
Notes
libsecret(secret-toolCLI) for keyring access