Skip to content

macOS Compatibility: Missing Support for keyctl, add_key, and request_key Syscalls #227

@allamiro

Description

@allamiro

On Mac Pro (macOS), the keepass4web-rs application fails to run due to missing support for Linux-specific syscalls:

keyctl
add_key
request_key

These syscalls are used to manage the Linux kernel keyring, which may not be available in macOS due to its different kernel architecture and security model. This prevents the container from running properly when using seccomp/keyring.json.

Possible solutions:

  • Implement a fallback mechanism for macOS that does not rely on Linux keyring syscalls.
  • Add a config option to disable keyring usage when running in an unsupported environment.

Environment Details:

  • OS: macOS (Mac Pro)
  • Docker Backend: macOS (without Linux kernel)
  • KeePass4Web Version: [latest]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions