Auto-connect request: raw-usb for restorekit and restorekit-cli

Requesting auto-connection of raw-usb for two snaps from the same publisher and codebase. Filling out the template for each:

restorekit-cli

  • name: restorekit-cli
  • description: DFU-restore Apple Silicon Macs from the command line
  • snapcraft: generated by goreleaser, config at restorekit/.goreleaser.yaml at main · fcjr/restorekit · GitHub
  • upstream: GitHub - fcjr/restorekit: Reformat an Apple Silicon mac from any platform. · GitHub
  • upstream-relation: I am the upstream author and publisher
  • raw-usb:
    • request-type: auto-connection
    • reasoning: restorekit restores and reformats Apple Silicon (T2/M series) Macs from another machine. It talks to the target Mac over USB while it’s in DFU or recovery mode, using libusb + libirecovery + usbmuxd (the libimobiledevice stack, statically linked). DFU-mode devices are raw USB devices with no kernel driver, so raw-usb is the only interface that covers them. USB access is the snap’s entire purpose: with raw-usb disconnected it can’t do anything at all, and every user currently has to run sudo snap connect restorekit-cli:raw-usb before their first restore.

restorekit

Other relevant info: the devices involved are Apple’s vendor ID 05ac in DFU, recovery, and restore mode (the same product ID ranges usbmuxd and libirecovery match). The udev rules our deb package ships for these devices are at restorekit/udev/51-restorekit.rules at main · fcjr/restorekit · GitHub

Happy to split this into two topics if that’s preferred.

This request has been added to the queue for review by the @reviewers team.

Hello @fcjr-snap,

This is a +1 from me for granting auto-connection for the raw-usb interface for both the restorekit and restorekit-cli snaps, no need for separate requests given their functional overlap. As a DFU tool, this is functionality central to and clearly expected of the application. What do other reviewers think?

Thanks!

Given the functionality, +1 from me as well to grant auto-connection of raw-usb interface to both of the snaps.

+2 votes for, 0 votes against, granting auto-connect of interface raw-usb to both requested snaps restorekit and restorekit-cli. This is now live.