{"id":13930179,"url":"https://github.com/eaon/authorized-dns-keys","last_synced_at":"2025-07-19T12:31:50.252Z","repository":{"id":137058654,"uuid":"133748614","full_name":"eaon/authorized-dns-keys","owner":"eaon","description":"Queries and prints SSH public keys from Hesiod-esque DNS TXT records","archived":false,"fork":false,"pushed_at":"2018-10-02T22:28:51.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-08T18:26:41.169Z","etag":null,"topics":["dns","hesiod","openssh-server","rust"],"latest_commit_sha":null,"homepage":"https://codeberg.org/eaon/authorized-dns-keys","language":"Rust","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/eaon.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}},"created_at":"2018-05-17T02:36:45.000Z","updated_at":"2023-11-11T23:08:12.000Z","dependencies_parsed_at":"2023-03-21T11:03:14.607Z","dependency_job_id":null,"html_url":"https://github.com/eaon/authorized-dns-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/eaon%2Fauthorized-dns-keys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaon%2Fauthorized-dns-keys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaon%2Fauthorized-dns-keys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaon%2Fauthorized-dns-keys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eaon","download_url":"https://codeload.github.com/eaon/authorized-dns-keys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226607599,"owners_count":17658483,"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":["dns","hesiod","openssh-server","rust"],"created_at":"2024-08-07T18:05:03.953Z","updated_at":"2024-11-26T19:30:54.974Z","avatar_url":"https://github.com/eaon.png","language":"Rust","funding_links":[],"categories":["rust"],"sub_categories":[],"readme":"# authorized-dns-keys\n\nSmall helper tool primarily meant to be invoked by OpenSSH's\n`AuthorizedKeysCommand` in environments that already use\n[Hesiod](https://en.wikipedia.org/wiki/Hesiod_\\(name_service\\)). It queries,\nsorts, concatenates and eventually prints SSH public keys found in DNS TXT\nrecords.\n\nIt also does the inverse and can create BIND style DNS record entries. Records\nlive in `$user.ssh$lhs$rhs` and look like this:\n\n    user.ssh.ns.example.org. TXT \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCutHjcbooZDl+4jpsGMC7JewGXTgULjWuSMMzpM0hCKn4aIOaULkbDV020NiO+dfo0DTo2vXwZn6GqUu4xyZVk5dQa+yk6He3DAzgwsXxsLuwQYfGI0xVgGsaBFWPXqXjWIq6amKKG6o2Ll15HOw6Tj0MULGqQtC/j00VrKxNztNy2Lesa06KkKnFBFimA29ZhVlUjm8W/t7rwg0alulLnoOp\" \"ch9qbE/3yO3KOdNqCdDwNoRImAQk6KRlpWSr9ZHB4YnjQNNZCJ+yjC/KdqQ1awdKWTOMz2jfbhd/WHeH7XRY4iU2ZatVj6ZAcaqKvkaG8mWDYq2RNf6k88FgLdM33 user@host\"\n                             TXT \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHz4HTq0S77shqWG1tfc8EHSSMg+unYB+uUZaKiUcq1N user@host\"\n\nRequires a `/etc/hesiod.conf` configuration file.\n\n### Isn't this kind of pointless as the same can be achieved with `AuthorizedKeysCommand /usr/bin/hesinfo %u ssh`?\n\nYes, however I initially misremembered how TXT records work, and I wanted to\nlearn about Rust and this was a simple enough project to try, so 🤷‍♂️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feaon%2Fauthorized-dns-keys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feaon%2Fauthorized-dns-keys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feaon%2Fauthorized-dns-keys/lists"}