Skip to content

Implement safe Windows Dot USB storage control without capturing mounted devices #82

Backlog

Description

@Anheledir

Windows Dot storage control must not capture a mounted USB device just to query it. Source audit of libusb windows_usbdk.c shows libusb_open calls UsbDk_StartRedirect; UsbDk documents exclusive acquisition by detaching devices from Windows PnP/device drivers. Therefore #81 refuses Windows raw USB storage access before loading a backend. Mounted Windows firmware updates and the uncached Pro READ2ME channel remain implemented.

Design a Windows backend preserving mounted mass storage (firmware-supported composite/WinUSB interface or another verified endpoint-zero API), or an explicit, safely ejected capture workflow with correct identity mapping and restoration. Never replace the mass-storage driver silently, never use UsbDk as an invisible status-read implementation, and do not infer safety merely because application code never calls detach/reset.

Acceptance: native physical Dot tests with mounted/off storage, device removal, denied access, multiple devices and no capture on status. Related #11 #72 #78 #79.

Activity

  1. added
    enhancement
    P1
    on Nov 30, 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

    P1enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions