gardenlinux / gl-oci

:construction: work in progress :construction: Tools for Garden Linux OCI publishing
MIT License
1 stars 0 forks source link

implement signing #24

Closed Vincinator closed 1 month ago

Vincinator commented 1 month ago

io.gardenlinux.oci.signature annotation contains signature of string in io.gardenlinux.oci.signed-string.

io.gardenlinux.oci.signed-string is a concatenation of digest of content(layer blob or json manifest), cname, architecture, and version.

pub/priv key pair can be added as parameter, or default of cert/oci-sign is used currently for development. We might want to add what $(PREFIX) like in cert/build. For now, we can work with defaults until we fully integrate it.

fixes gardenlinux/python-gardenlinux-lib#25