{"id":19783670,"url":"https://github.com/intersectmbo/cardano-airgap","last_synced_at":"2025-06-10T11:33:32.764Z","repository":{"id":250025667,"uuid":"829671615","full_name":"IntersectMBO/cardano-airgap","owner":"IntersectMBO","description":"Builds an airgapped nixos boot image with credential-manager signing tools.","archived":false,"fork":false,"pushed_at":"2025-05-31T04:56:49.000Z","size":237,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-31T07:56:31.161Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IntersectMBO.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-16T22:22:44.000Z","updated_at":"2025-02-05T21:26:16.000Z","dependencies_parsed_at":"2025-01-11T02:47:19.542Z","dependency_job_id":"1cf15864-943a-46c0-8592-f090a2018403","html_url":"https://github.com/IntersectMBO/cardano-airgap","commit_stats":null,"previous_names":["intersectmbo/cardano-airgap"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntersectMBO%2Fcardano-airgap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntersectMBO%2Fcardano-airgap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntersectMBO%2Fcardano-airgap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntersectMBO%2Fcardano-airgap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IntersectMBO","download_url":"https://codeload.github.com/IntersectMBO/cardano-airgap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntersectMBO%2Fcardano-airgap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259066855,"owners_count":22800217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T06:08:57.021Z","updated_at":"2025-06-10T11:33:32.753Z","avatar_url":"https://github.com/IntersectMBO.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Build the airgap-boot disk image:\n```bash\n$ nix build .#iso\n```\n\n## Test the airgap-boot image:\n```bash\nqemu-run-iso\n```\n\n## Test the airgap-boot image with a host passed device:\n```bash\n# Find the device of interest, in this case a thumbdrive:\n❯ lsusb | grep -i sandisk\nBus 001 Device 030: ID 0781:5567 SanDisk Corp. Cruzer Blade\n\n# Pass the device to qemu based on vendor and product id:\nsudo qemu-run-iso -device nec-usb-xhci,id=xhci -device usb-host,vendorid=0x0781,productid=0x5567\n\n# Or, pass a bus and address to qemu:\nsudo qemu-run-iso -device nec-usb-xhci,id=xhci -device usb-host,hostbus=1,hostaddr=30\n```\n\n## Fomat the airgap-data device:\nWARNING -- BE ABSOLUTELY SURE YOU HAVE THE CORRECT DEVICE LISTED AS THIS DRIVE WILL BE WIPED!\n\nWARNING -- Do a dry first and review the output script if desired.\n\nWARNING -- The device should be at least 16 GB in size or the format may fail.\n\nBelow, `$YOUR_AIRGAP_DATA_DRIVE` is the path to the airgap data device,\nwhich may be something like: `/dev/sdb`.\n\n### From within the airgap boot image:\n```bash\nformat-airgap-data --dry-run --argstr device \"$YOUR_AIRGAP_DATA_DRIVE\"\n\n# If satisfied with the dry run script, proceed with the formatting:\nformat-airgap-data --argstr device \"$YOUR_AIRGAP_DATA_DRIVE\"\n```\n\n### From the flake devShell of a networked machine:\n```bash\ndisko -m destroy,format,mount --dry-run -f .#airgap-data --argstr device \"$YOUR_AIRGAP_DATA_DRIVE\"\n\n# If satisfied with the dry run script, proceed with the formatting:\nsudo disko -m destroy,format,mount -f .#airgap-data --argstr device \"$YOUR_AIRGAP_DATA_DRIVE\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintersectmbo%2Fcardano-airgap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintersectmbo%2Fcardano-airgap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintersectmbo%2Fcardano-airgap/lists"}