Backport glib VariantStrIter security fix#52
Conversation
There was a problem hiding this comment.
Code Review
This pull request vendors the glib crate (version 0.18.5) with a backported security fix for VariantStrIter::impl_get to address a vulnerability in the Linux Tauri/GTK wallet dependency graph, updating Cargo.toml and Cargo.lock accordingly. It also adds a Python test script to verify the security patch and lock configuration. Feedback on the changes suggests adding a fallback for tomllib in the Python test script to ensure compatibility with Python versions older than 3.11.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 196b29bd2f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
What changed
Why this is a backport
Tauri 2.11 still uses the GTK3 crate line that requires glib 0.18. A normal dependency update cannot select the first patched glib release, 0.20.0, without a wider GTK/Tauri migration. This keeps the supported Tauri graph and applies the maintainers' fix directly.
Advisory: GHSA-wrw7-89jp-8q8g
Upstream fix: gtk-rs/gtk-rs-core#1343
Dependabot alert: https://github.com/krutftw/bitcoin09/security/dependabot/1
Verification