{"id":20907380,"url":"https://github.com/tastytea/hashboot","last_synced_at":"2026-03-15T21:09:51.898Z","repository":{"id":122496146,"uuid":"67236289","full_name":"tastytea/hashboot","owner":"tastytea","description":"[mirror] Check integrity of files in /boot","archived":false,"fork":false,"pushed_at":"2019-11-20T03:45:47.000Z","size":142,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T18:56:03.593Z","etag":null,"topics":["backup","boot","checksum","mbr"],"latest_commit_sha":null,"homepage":"https://schlomp.space/tastytea/hashboot","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tastytea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-02T16:00:13.000Z","updated_at":"2024-06-25T04:18:31.000Z","dependencies_parsed_at":"2023-03-22T07:03:05.012Z","dependency_job_id":null,"html_url":"https://github.com/tastytea/hashboot","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tastytea%2Fhashboot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tastytea%2Fhashboot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tastytea%2Fhashboot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tastytea%2Fhashboot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tastytea","download_url":"https://codeload.github.com/tastytea/hashboot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253889805,"owners_count":21979697,"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":["backup","boot","checksum","mbr"],"created_at":"2024-11-18T13:38:08.355Z","updated_at":"2026-03-15T21:09:46.846Z","avatar_url":"https://github.com/tastytea.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"**hashboot** hashes all files in `/boot` and the MBR to check them during early\nboot. It is intended for when you have encrypted the root partition but not the\nboot partition. The checksums and a backup of the contents of `/boot` are stored\nin `/var/lib/hashboot` by default. If a checksum doesn't match, you have the\noption to restore the file from backup.\n\nIf there is a core- or libreboot BIOS and [flashrom](https://flashrom.org/)\ninstalled, **hashboot** can check the BIOS for modifications too.\n\nWe moved our code to\n[schlomp.space](https://schlomp.space/tastytea/hashboot) but we keep the\n[GitHub-repo](https://github.com/tastytea/hashboot) as a mirror.\n\n# Install\n\n## Packages\n\n### Void Linux\n\n``` shell\nxbps-install -S hashboot\n```\n\n### Gentoo Linux\n\nEbuilds are available via the\n[tastytea repository](https://schlomp.space/tastytea/overlay).\n\n``` shell\nemerge -a sys-apps/hashboot\nrc-update add hashboot boot\n```\n\n### Arch Linux\n\nUse the [package from AUR](https://aur.archlinux.org/packages/hashboot/).\n\n## Manual\n\n### Any distro\n\nThe releases on\n[schlomp.space](https://schlomp.space/tastytea/hashboot/releases) are\nPGP-signed. The key-ID is `F7301ADFC9ED262448C42B64242E5AC4DA587BF9`\n(`242E5AC4DA587BF9`). You can fetch it with `gpg --locate-key\nautosign@tastytea.de`.\n\n* Make hashboot executable\n* Place hashboot anywhere in ${PATH}\n* Install the appropriate init script\n* If applicable, copy `hooks/kernel-postinst` to /etc/kernel/post{inst,rm}.d/zzz-hashboot\n(make sure it is called after all other hooks)\n* To generate the manpage, install [asciidoc](http://asciidoc.org/) and run\n`build_manpage.sh`.\n\n# Usage\n\n* First run creates a configuration file. Select the desired checkroutines\n* Run `hashboot index` to generate checksums and a backup for /boot and MBR\n* Run `hashboot check` to check /boot and MBR\n* Run `hashboot recover` to replace corrupted files with the backup\n\n# Notes\n\n* You can't use the openrc/sysv init scripts with parallel boot.\n* The systemd and SysVinit init scripts have not been tested in a while, but\nwill probably work.\n\n# License\n\n```PLAIN\n\"THE HUG-WARE LICENSE\" (Revision 2):\nteldra \u003cteldra@rotce.de\u003e and tastytea \u003ctastytea@tastytea.de\u003e wrote this.\nAs long as you retain this notice you can do whatever you want with this.\nIf we meet some day, and you think this is nice, you can give us a hug.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftastytea%2Fhashboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftastytea%2Fhashboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftastytea%2Fhashboot/lists"}