Skip to content

ueno/podman-sequoia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •