{"id":13648953,"url":"https://github.com/kstr0k/migrate-apt-keys","last_synced_at":"2025-04-22T11:33:27.040Z","repository":{"id":63160427,"uuid":"565490327","full_name":"kstr0k/migrate-apt-keys","owner":"kstr0k","description":"Migrates from \"apt-key\" managed keys to \"[signed-by=.../keyrings/...]\"","archived":false,"fork":false,"pushed_at":"2023-07-17T14:57:19.000Z","size":11,"stargazers_count":27,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-09T23:36:23.294Z","etag":null,"topics":["apt","apt-key","debian","gpg","security","shell-script","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kstr0k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-11-13T15:23:17.000Z","updated_at":"2024-09-14T06:09:31.000Z","dependencies_parsed_at":"2024-01-14T10:59:47.446Z","dependency_job_id":"fc67d7c0-641a-49f7-84cd-8d92079470ad","html_url":"https://github.com/kstr0k/migrate-apt-keys","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstr0k%2Fmigrate-apt-keys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstr0k%2Fmigrate-apt-keys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstr0k%2Fmigrate-apt-keys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstr0k%2Fmigrate-apt-keys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kstr0k","download_url":"https://codeload.github.com/kstr0k/migrate-apt-keys/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250232603,"owners_count":21396667,"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":["apt","apt-key","debian","gpg","security","shell-script","ubuntu"],"created_at":"2024-08-02T01:04:39.926Z","updated_at":"2025-04-22T11:33:26.736Z","avatar_url":"https://github.com/kstr0k.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# `migrate-apt-keys`\n\n## _Add signing info to `sources.list.d` Debian `apt` repos_\n\nThis script looks at each `deb[-src]` entry in the specified (or default) `SOURCE.list` files and\n- adds `[signed-by]` qualifiers if missing\n- downloads the corresponding `gpg` key into a designated folder\n\n## Background\n\nIn recent (~2022) Ubuntu / Debian's, `/etc/apt/sources.list.d/` repos signed by system-wide keys from `/etc/apt/trusted.gpg` trigger an `apt update` warning. Meanwhile, repos signed by individual `/etc/apt/trusted.gpg.d/*` keys don't; yet this is mostly security theatre, because the `trusted.gpg.d/*` keys still apply to all \"unsigned\" repos.\n\nThis script adds a `[signed-by]` qualifier to each `deb[-src] ...` entry within each `SOURCE.list` repo, and downloads all relevant keys into `/usr/local/share/keyrings/SOURCE-apt-keyring.gpg` (or a specified folder).\n\n## Usage\n\n```sh\nmigrate-apt-keys --help\nmigrate-apt-keys [ KEYRING_FOLDER [SOURCE.list]... ]\n```\n\n## Copyright\n\n[MIT license](LICENSE.txt): [`Jens Berthold \u003cjens@jebecs.de\u003e`](https://github.com/maxhq), [`Alin Mr. \u003calmr.oss@outlook.com\u003e`](https://github.com/mralusw)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkstr0k%2Fmigrate-apt-keys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkstr0k%2Fmigrate-apt-keys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkstr0k%2Fmigrate-apt-keys/lists"}