Skip to content

0.2.0 DR12: key hosts come from approved listings #3005

Backlog

Description

@jparker2006

Parent

Ticket DR12 of spec #3027 (0.2.0). Size: L.

What to build

With the owner's yes: the key helper reads the kernel's registry plus the key-host entries of approved installed drivers; the fetcher shows the host's address with the confirmation and refuses an entry whose variable or keychain entry another host uses; the kit's key check can take a driver repository's own entry for its loopback run; driver v1's key rule names where the registry comes from. The write-driver skill's key-host section stops sending authors to OpenWiz.

Owned paths

  • kernel/driver-kit/hostkey.py
  • kernel/driver-kit/test_hostkey.py
  • kernel/driver-kit/kit.py (shared: the key check's registry option)
  • kernel/driver-kit/test_kit.py (shared: its key check tests)
  • kernel/driver-kit/README.md (shared: the Key hosts section)
  • kernel/driver.v1.md (shared: the N4 paragraph)
  • tools/install/drivers/ (shared: the key-host confirmation and refusal)
  • skills/write-driver/ in openwizdev/WizSkills (shared: the key-host section)

Relies on: contracts/driver-package.v1.md, contracts/driver-package.v1.schema.json, kernel/driver.v1.md

Links

Acceptance criteria

  • The helper reaches an approved installed host and refuses an unapproved one
  • A duplicate variable or keychain entry is refused at the yes
  • The kit's key check passes a fixture key-host driver from its own registry entry, and every existing key-check refusal still fails
  • Tests red first

Proof

Groundwork for the key-host moves: the helper and kit tests, red first. Review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions