Skip to content

Add support for GnuPG v2.4.7 and update CI workflow to test with Ruby 3.2.6#1

Open
mjcloutier wants to merge 9 commits intomasterfrom
feature/upgrade_to_latest_gnupg
Open

Add support for GnuPG v2.4.7 and update CI workflow to test with Ruby 3.2.6#1
mjcloutier wants to merge 9 commits intomasterfrom
feature/upgrade_to_latest_gnupg

Conversation

@mjcloutier
Copy link
Collaborator

Changes

This PR adds support for GnuPG v2.4.7 while maintaining backward compatibility with older versions.

Changes include:

  1. Removed the version check that blocked GnuPG 2.4+
  2. Added --no-symkey-cache option for GnuPG 2.4+ to prevent session key caching issues
  3. Updated key parsing and generation to handle the different output formats in GnuPG 2.4.7
  4. Improved the import method to handle both older and newer GnuPG versions
  5. Updated tests to be version-aware, particularly for key IDs and name fields
  6. Updated GitHub CI workflow to include Ruby 3.2.6

All tests pass with GnuPG 2.4.7 and Ruby 3.2.6.

@mjcloutier mjcloutier self-assigned this Aug 25, 2025
@mjcloutier mjcloutier added the enhancement New feature or request label Aug 25, 2025
…er/iostreams into feature/upgrade_to_latest_gnupg
- Enhance IOStreams::Paths::File#each_child with robust fallback logic
  for case-insensitive pattern matching across different filesystems
- Add lowercase pattern fallback when FNM_CASEFOLD fails on Linux CI
- Improve test assertions with explicit file existence checks and
  detailed error messages for better CI debugging
- Resolves test failures in Ruby 3.1+ CI environments

Fixes compatibility issues between case-insensitive filesystems (macOS)
and case-sensitive filesystems (Linux CI) when using glob patterns
with mixed case characters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant