Skip to content

p11-kit: Lacks System and Default Trusts tokens #227961

@philn

Description

@philn

brew gist-logs <formula> link OR brew config AND brew doctor output

config:

HOMEBREW_VERSION: 4.5.7
ORIGIN: https://github.com/Homebrew/brew
HEAD: 6301c2d31f8dc07d2d16ddaa33711cf5a41d4e17
Last commit: 10 days ago
Branch: stable
Core tap JSON: 22 Jun 18:42 UTC
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :0
HOMEBREW_EDITOR: jed
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_ANALYTICS: set
Homebrew Ruby: 3.4.4 => /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.4.4/bin/ruby
CPU: octa-core 64-bit skylake
Clang: N/A
Git: 2.49.0 => /bin/git
Curl: 8.11.1 => /bin/curl
Kernel: Linux 6.14.11-300.fc42.x86_64 x86_64 GNU/Linux
OS: Fedora release 42 (Adams)
Host glibc: 2.41
/usr/bin/gcc: 15.0.1
/usr/bin/ruby: N/A
glibc: 2.35_1
gcc@11: N/A
gcc: 15.1.0
xorg: N/A

doctor:
Your system is ready to brew.

Verification

  • My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

Toolbx recently added support for proxying p11-kit to the host system, using a p11-kit-trust.module file that contains module: p11-kit-client.so.

This breaks CA-certs resolution within a toolbox container running in a Fedora host that has Homebrew's p11-kit package installed.

The comment in containers/toolbox#1665 (comment) suggests the p11-kit recipe might be the culprit.

What happened (include all command output)?

Described in containers/toolbox#1665 already

What did you expect to happen?

gnutls-cli running in container to use CA certs from the host.

Step-by-step reproduction instructions (by running brew commands)

- `brew install p11-kit`
- run steps listed in https://github.com/containers/toolbox/issues/1665

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleNo recent activity

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions