Skip to content

Deps: importing a signed bundle into the cache #235

Open

Description

@Kinflou

Part of #227. Proposal: ComlineProject/docs#163, proposals/offline/supply.md#bundles.

Core side of comline bundle export and comline bundle import: an archive of dependencies (optionally tooling), each entry checked against its hash on import, and the archive's signature checked against a trusted key.

Open: the format, and how signing keys are distributed and trusted.

Activity

  1. added
    P2Soon
    toolingCLI, language server, editor
    securitySecurity and safety
    on Nov 9, 2026
  2. Kinflou commented on Nov 9, 2026

    @Kinflou
    MemberAuthor

    Decided (docs#163):

    • Format: a deterministic .tar.zst holding a manifest.json (each entry's kind, pin, hash and size), the content stored by hash, and a detached signature.
    • Checks: each entry is checked against its hash on import, and the signature against trusted-keys in machine or organisation config.
    • Unsigned bundles are refused unless --allow-unsigned is given.
    • Keys are minisign (Ed25519), the same type as the release keys.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2SoonsecuritySecurity and safetytoolingCLI, language server, editor

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions