Skip to content

Conversation

mauriciocoder
Copy link
Contributor

Overview

This PR enhances the keyring system to provide support for headless Linux environments by implementing a composite keyring provider with keyctl as a fallback backend.

Key Changes

🔧 New Composite Keyring Architecture

  • Introduced a new Provider interface for pluggable keyring backends
  • Implemented a composite provider that automatically selects the best available backend
  • Maintains full backward compatibility with existing keyring functionality

🐧 Linux Keyctl Support

  • Added keyctl provider as a fallback for Linux systems where D-Bus Secret Service is unavailable
  • Particularly beneficial for headless Linux environments, containers, and minimal installations

🧪 Comprehensive Testing

  • Added full test coverage for all new keyring providers

Resolves #1449

JAORMX
JAORMX previously approved these changes Aug 19, 2025
@mauriciocoder
Copy link
Contributor Author

@JAORMX I need your review again after I merged it with the main branch.

@JAORMX JAORMX merged commit db3b158 into stacklok:main Aug 19, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Keyring Fallback Support for Headless Linux Systems
2 participants