Skip to content

nearedgelock/latchy

Repository files navigation

latchy

Reimplementation of clevis, supporting only decryption and tang, as a binary. See clevis

Purpose

This project was created for the following reasons:

  • Remove the dependency on bash and support distro-less containers
  • Add the ability to retry the tang /rec api call untill success
  • Output the PT to a named pipe.

Dependencies

The library requires a number of external module and are directly included herein via git's submodule OR via vcpkg (which itself is included as a submodule). You may need to run the following command to pull submodule (particularly submodules of submodules).

git submodule update --init --recursive

Compiling using the local tool chain

make bootstrap    <-- Only on first time
make clean        <-- Not necessary when the first time
make configure    <-- First time, or if you change any of the cmake related files.
make build

Cross-compiling via an Alpine container

This will produce a fully static binary, based on the MUSL tool-chain.

 make buildImage

You can also create a local docker image using (which implicitely calls buildImage)

make packageDocker

About

clevis compatible JWE decryptor binary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published