From 970a36729ede20c1b689dafb1d2f9aa9b9f637f6 Mon Sep 17 00:00:00 2001 From: Pseudo Nymm <72524237+SkippyNet@users.noreply.github.com> Date: Sun, 8 Nov 2026 14:58:11 -0500 Subject: [PATCH] Launch-readiness docs: badges, boot menu, FAQ, credits, issue templates - README: CI/release/downloads/license badges, a boot menu section, FAQ (SmartScreen, missing drive, near-empty drive, Secure Boot, updating ISOs) and credits for every catalog project. - Issue forms for bug reports (version, OS, stage, activity log, --list-disks) and catalog requests (official download + published SHA-256); blank issues off, questions routed to Discussions and security to private reporting. - SECURITY.md: document CodeQL gating, secret scanning push protection and immutable releases. Co-Authored-By: Claude Opus 5.5 --- .github/ISSUE_TEMPLATE/bug_report.yml | 66 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/catalog_request.yml | 34 +++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ README.md | 48 ++++++++++++++++ SECURITY.md | 6 +- 5 files changed, 160 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/catalog_request.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..31b62a4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,66 @@ +name: Bug report +description: Something went wrong while building a drive, booting it, or updating the app. +labels: [bug] +body: + - type: markdown + attributes: + value: | + Thanks for reporting! For security problems, please use + [private vulnerability reporting](https://github.com/SkippyNet/usb-forge/security/advisories/new) instead. + - type: input + id: version + attributes: + label: USB Forge version + description: Shown at the top right of the app, or run `usb-forge --version`. + placeholder: "0.3.1" + validations: + required: true + - type: dropdown + id: os + attributes: + label: Operating system + options: + - Windows 11 + - Windows 10 + - Ubuntu + - Fedora + - Linux Mint + - Debian + - Arch + - Other Linux (say which below) + validations: + required: true + - type: dropdown + id: stage + attributes: + label: Where did it go wrong? + options: + - Finding my USB drive + - Looking up versions or downloading + - Formatting / installing the boot menu + - Copying or verifying ISOs + - Booting from the finished drive + - Self-update + - Something else + validations: + required: true + - type: textarea + id: what + attributes: + label: What happened, and what did you expect? + validations: + required: true + - type: textarea + id: activity + attributes: + label: Activity log + description: Copy the lines from the **Activity** panel on the build screen, if you got that far. + render: text + - type: textarea + id: disks + attributes: + label: Disk list + description: | + For drive-detection problems, paste the output of `usb-forge --list-disks`. + It only reads disk information and never writes to a disk. + render: text diff --git a/.github/ISSUE_TEMPLATE/catalog_request.yml b/.github/ISSUE_TEMPLATE/catalog_request.yml new file mode 100644 index 0000000..1083c88 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/catalog_request.yml @@ -0,0 +1,34 @@ +name: Catalog request +description: Suggest an operating system or tool to add to the catalog. +labels: [catalog] +body: + - type: markdown + attributes: + value: | + USB Forge only adds software that it can download from the **official project** and verify + against a **SHA-256 that project publishes**. Links to both make a request much easier to add. + - type: input + id: name + attributes: + label: Software name + validations: + required: true + - type: input + id: download + attributes: + label: Official download page + placeholder: https:// + validations: + required: true + - type: input + id: checksum + attributes: + label: Where the project publishes its SHA-256 + description: A checksum file (like `SHA256SUMS`), a release API, or the download page itself. + placeholder: https:// + validations: + required: true + - type: textarea + id: why + attributes: + label: Why it belongs on a rescue/install stick diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..ef677bb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Questions and ideas + url: https://github.com/SkippyNet/usb-forge/discussions + about: Ask how something works, share a setup, or suggest an idea. + - name: Report a security vulnerability + url: https://github.com/SkippyNet/usb-forge/security/advisories/new + about: Please report security problems privately, not as a public issue. diff --git a/README.md b/README.md index 977122b..679bc29 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,11 @@ # USB Forge +[![CI](https://github.com/SkippyNet/usb-forge/actions/workflows/ci.yml/badge.svg)](https://github.com/SkippyNet/usb-forge/actions/workflows/ci.yml) +[![Latest release](https://img.shields.io/github/v/release/SkippyNet/usb-forge)](https://github.com/SkippyNet/usb-forge/releases/latest) +[![Downloads](https://img.shields.io/github/downloads/SkippyNet/usb-forge/total)](https://github.com/SkippyNet/usb-forge/releases) +[![License: MIT](https://img.shields.io/github/license/SkippyNet/usb-forge)](LICENSE) + Build a multi-boot USB thumb drive in a few clicks. USB Forge sets up a boot menu on the drive, then adds the operating systems and tools you pick, each one downloaded from its official project and verified against that project's published SHA-256. @@ -69,6 +74,13 @@ as a guide. | GParted Live | gparted.org `CHECKSUMS.TXT` | | Memtest86+ | memtest.org `sha256sum.txt` | +## The boot menu + +Boot a PC from the finished drive (usually by pressing a key such as F12, F11, F9 or Esc at +power-on) and a USB Forge menu lists every ISO on the drive. Pick one and press Enter. To add +more later, copy any ISO onto the drive in Explorer or your file manager; it appears in the menu +on the next boot. + ## Saved downloads Every ISO is kept in a local downloads folder (`%LOCALAPPDATA%\UsbForge\cache` on Windows, @@ -85,6 +97,42 @@ Interrupted downloads resume where they stopped. The checksum still covers the w - The target disk is checked again right before formatting, and you have to type `ERASE`. - Each ISO is hashed again after it is copied to the drive. +## FAQ + +**Windows says "Windows protected your PC".** +SmartScreen warns about apps it hasn't seen often. Click **More info → Run anyway**. Every +release is signed with the project's own key (verified by the app's updater) and lists SHA-256 +checksums in `SHA256SUMS.txt` next to the downloads. + +**My USB drive isn't listed.** +Only USB disks that the running system doesn't use are shown. Run `usb-forge --list-disks` to see +every disk and why it was hidden, and include that output if you open an issue. + +**Why does my drive look almost empty in Explorer?** +You only see the data partition, which holds the ISOs and a small `ventoy` folder with the +boot menu settings. The boot menu itself lives in a second, small partition that Windows hides. + +**Can I still use the drive for files?** +Yes. Anything that isn't a bootable image is ignored by the boot menu. + +**A tool doesn't start and the PC mentions Secure Boot.** +See [docs/SECURE_BOOT.md](docs/SECURE_BOOT.md). + +**How do I update the ISOs on a drive?** +Build the drive again. Saved downloads that are still current are reused, so only new versions +are downloaded. + +## Credits + +USB Forge only downloads and arranges other people's work. Thanks to the projects in the catalog +for building it and for publishing checksums that make verified downloads possible: +[Ubuntu](https://ubuntu.com), [Fedora](https://fedoraproject.org), +[Linux Mint](https://linuxmint.com), [Debian](https://www.debian.org), +[Hiren's BootCD PE](https://www.hirensbootcd.org), [SystemRescue](https://www.system-rescue.org), +[Rescuezilla](https://rescuezilla.com), [Clonezilla](https://clonezilla.org), +[GParted](https://gparted.org) and [Memtest86+](https://memtest.org). If a tool saves your day, +consider supporting its project. + ## Building from source ```sh diff --git a/SECURITY.md b/SECURITY.md index ce31f21..1e3ece7 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -12,9 +12,11 @@ instead. We aim to reply within 7 days. | Layer | Protection | |---|---| -| Source | `main` only accepts changes through pull requests, which need code-owner approval, passing CI and resolved review threads. Force-pushes and branch deletion are blocked. | +| Source | `main` only accepts changes through pull requests, which need code-owner approval, passing CI, no high-severity CodeQL alerts and resolved review threads. Force-pushes and branch deletion are blocked. | +| Secrets | Secret scanning with push protection blocks commits that contain known credential formats. | | CI | Workflows run with a read-only token. PRs use `pull_request` (never `pull_request_target`), so fork code can't reach secrets. Workflow runs from outside contributors need approval. Actions are restricted to GitHub-owned ones and pinned to full commit SHAs. | | Tags | Only repository admins can create, move or delete `v*` tags. | +| Releases | Releases are immutable: once published, their files and tag can't be changed or replaced. | | Signing | The Ed25519 release key lives only in the protected `release` environment. That environment needs maintainer approval and only accepts deployments from `v*` tags. | | Updates | The app installs an update only if the binary's signature verifies against the public key **compiled into the app** (`keys/release-signing.pub`). The signature covers the version and asset name, so tampered binaries, replayed old releases and cross-platform swaps are all rejected, even if the GitHub repository itself is compromised. | | Downloads | Every ISO and the boot loader package are checked against the SHA-256 published by its own project before the drive is touched. | @@ -23,7 +25,7 @@ instead. We aim to reply within 7 days. ## Verifying a release manually ```sh -cargo run -p release-sign -- verify usb-forge-linux-x86_64 0.1.0 usb-forge-linux-x86_64 "$(cat keys/release-signing.pub)" +cargo run -p release-sign -- verify usb-forge-linux-x86_64 0.3.1 usb-forge-linux-x86_64 "$(cat keys/release-signing.pub)" ``` The `.sig` file must sit next to the binary.