Documentation
¶
Overview ¶
Package apt synthesises an in-memory apt archive for a single synthetic suite: a signed InRelease, a gzipped Packages index, and the input .debs. The archive signs itself with an ephemeral key generated per archive; KeyID and PublicKey expose what a client needs to trust it. Match and Serve answer the paths an apt client (chisel included) requests for the suite. The exact fields and paths here are dictated by chisel's internal/archive reader.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct {
Suite string // used as suite, codename and component alike
Component string
Arch string
// contains filtered or unexported fields
}
Archive is the synthesised, signed archive for one suite.
func New ¶
New synthesises and signs the archive with a fresh ephemeral key. suite names the suite/codename and the single component.
func (*Archive) KeyID ¶
KeyID returns the long key id of the signing key, in the form a chisel.yaml public-key `id:` field takes.