podman-sequoia

Crates.iopodman-sequoia
lib.rspodman-sequoia
version0.2.0
created_at2025-07-14 05:32:57.88584+00
updated_at2025-08-19 01:44:21.995637+00
descriptionA polyfill to use Sequoia as a signing backend for containers.
homepage
repositoryhttps://github.com/ueno/podman-sequoia
max_upload_size
id1751175
size199,668
Daiki Ueno (ueno)

documentation

README

podman-sequoia

This directory contains the source code of a C shared library (libpodman_sequoia.so) that enables to use sequoia-pgp as a signing backend.

For building, you need rustc (version 1.79 or later), cargo, and openssl-devel. For testing, you also need the sq command (version 1.3.0 or later).

Building

To build the shared library and bindings on Linux, do:

$ PREFIX=/usr LIBDIR="\${prefix}/lib64" cargo build --release

On macOS, prefix the command with one more value:

$ DYLD_FALLBACK_LIBRARY_PATH="$(xcode-select --print-path)/Toolchains/XcodeDefault.xctoolchain/usr/lib/" PREFIX=…

Installing

Just copy the shared library in the library search path:

$ sudo cp -a rust/target/release/libpodman_sequoia.* /usr/lib64

Testing

To test, in the top-level directory of containers image, do:

$ LD_LIBRARY_PATH=$PWD/signature/internal/sequoia/rust/target/release \
  make BUILDTAGS=containers_image_sequoia

License

Apache License 2.0

SPDX-License-Identifier: Apache-2.0

Commit count: 0

cargo fmt