8000 GitHub - ueno/podman-sequoia
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ueno/podman-sequoia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

podman-sequoia

podman-sequoia enables to use sequoia-pgp as an OpenPGP backend in the podman's image signing mechanism. It consists of a C shared library (in rust/) and a Go binding over it (in go/).

Building

To build, you need rustc (version 1.63 or later), cargo, and openssl-devel.

The following steps should be taken to build the binaries locally.

$ cd rust
$ PREFIX=/usr LIBDIR="\${prefix}/lib64" \
  cargo build --release
$ cd -
$ cd go/sequoia
$ CGO_CFLAGS=-I$PWD/../../rust/target/release/bindings \
  CGO_LDFLAGS=-L$PWD/../../rust/target/release \
  go build
$ LD_LIBRARY_PATH=$PWD/../../rust/target/release \
  CGO_CFLAGS=-I$PWD/../../rust/target/release/bindings \
  CGO_LDFLAGS=-L$PWD/../../rust/target/release \
  go test
$ cd -

Installing

To actually make the Go sequoia module useful, the libpodman_sequoia.so* shared library needs to be installed on the system.

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

License

LGPL-2.0-or-later

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0