On Tue, 2018-11-13 at 10:50 -0800, Zac Medico wrote:
> On 11/11/18 12:53 PM, Michał Górny wrote:
> > Hi,
> > 
> > Ok, here's the second version integrating the feedback received.
> > The format is much simpler, based on nested tarballs inspired by Debian.
> > 
> > The outer tarball is uncompressed and uses '.gpkg.tar' suffix.  It
> > contains (preferably in order but PM should also handle packages with
> > mismatched order):
> > 
> > 1. Optional (but recommended) "gpkg: ${PF}" package label that can be
> > used to quickly distinguish Gentoo binpkgs from regular tarballs
> > (for file(1)).
> > 
> > 2. "metadata.tar${comp}" tarball containing binary package metadata
> > as files.
> > 
> > 3. Optional "metadata.tar${comp}.sig" containing detached signature
> > for the metadata archive.
> > 
> > 4. "contents.tar${comp}" tarball containing files to be installed.
> > 
> > 5. Optional "contents.tar${comp}.sig" containing detached signature for
> > the contents archive.
> 
> We need to establish the procedure for signature verification of the
> files in "contents.tar${comp}" at any point in the future *after* they
> have been installed. In order to identify corruption of a particular
> installed file, we'll need separate digests for each of the installed
> files, and a signature covering the separate digests.

I should note that package contents are strongly mutable in Gentoo --
preinst/postinst, instprep, custom hooks...

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to