Skip to content

approve: accept a signature made outside chant (device keys, passkeys) for signed-only gates #4646

Closed

Description

@lex00

chant at b1b9e44 (0.124.56). From Arugula (arugula-salad/arugula), which pins 0.108.1 and is planning the move to build: newest (arugula#1675).

Problem. chant approve --sign [<key file>] (ws-080, #3163) seals an approval with an ssh key on the machine running chant (cli/handlers/approve.ts:264,573), checked against .chant/trust.json's signers. A platform that collects the approval somewhere else can only relay it unsigned (--relayed-by, --actor). Arugula's owner approves a deploy on their phone with a device key (a passkey or device chain), and the deploy box runs chant. So on a workspace whose gate counts only signed approvals (identity.gates.<gate>), a relayed phone approval is refused, though the person did sign it.

Ask. Accept a signature made elsewhere over the gate's statement (op, gate, plan digest, actor):

  • chant approve … --signature <base64> --signer <id>, verified against a signer .chant/trust.json lists for the actor;
  • a signer kind for public keys that aren't ssh keys (Ed25519 device keys, WebAuthn/passkey credentials with their assertion format), so a platform can register its users' device keys;
  • the statement's exact bytes documented, so the platform signs the same thing chant verifies.

Done when: a test where an approval signed outside chant with a listed device key counts toward a signed-only gate, a wrong key or a different plan digest is refused, and the docs give the statement format.

Activity

  1. added
    enhancement
    area:lifecycle
    on Oct 28, 2026
  2. added a commit that references this issue on Oct 28, 2026
  3. added
    epic:arugula
    on Nov 1, 2026
  4. lex00 commented on Nov 1, 2026

    @lex00
    ContributorAuthor

    Tracked on Arugula's side in arugula-salad/arugula#1988 (epic: Arugula on chant), which lists every place Arugula waits on chant.

  5. added a commit that references this issue on Nov 6, 2026
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

    area:lifecycleenhancementepic:arugula

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions