{"id":25633120,"url":"https://github.com/zkemail/dkim-registry","last_synced_at":"2026-06-19T19:02:47.251Z","repository":{"id":233125600,"uuid":"658972259","full_name":"zkemail/dkim-registry","owner":"zkemail","description":"DNS archival services do not archive DKIM, so this is our archival dkim registry. This repo runs a DNS scaper on a cron job and updates a local postgresql database, which is queryable by a simple website.","archived":false,"fork":false,"pushed_at":"2023-06-26T22:19:38.000Z","size":22438,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-14T02:13:12.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/zkemail.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":"2023-06-26T22:16:41.000Z","updated_at":"2024-04-14T02:13:18.810Z","dependencies_parsed_at":"2024-04-14T02:13:17.545Z","dependency_job_id":"a6438ebf-72a3-4add-99f7-3fef06a66827","html_url":"https://github.com/zkemail/dkim-registry","commit_stats":null,"previous_names":["zkemail/dkim-registry"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fdkim-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fdkim-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fdkim-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fdkim-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkemail","download_url":"https://codeload.github.com/zkemail/dkim-registry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240240285,"owners_count":19770275,"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":"2025-02-22T21:27:59.976Z","updated_at":"2026-06-15T19:30:20.408Z","avatar_url":"https://github.com/zkemail.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## To use with PostgreSQL (debian-based OS), run these commands first to prep the database:\n\nSet up PostgreSQL\n```\n$ sudo apt update\n$ sudo apt install postgresql postgresql-contrib\n$ sudo systemctl start postgresql.service\n$ sudo -u postgres psql\npostgres=# CREATE USER dkim password 'changeme'; # please use a better password\nCREATE ROLE\npostgres=#\n$ sudo -u postgres createdb dkim\n```\n\n\nTo set up python environment, run this:\n```\n$ python3 -m venv venv\n$ source ./venv/bin/activate\n$ pip install -r requirements.txt\n```\n\n\nTo begin (or resume) collection of data, run this:\n```\n(venv) $ ./main.py --collect # collect the data (may take some time)\n```\n\nTo browse the data, run this command, and view it from browser\n```\n(venv) $ ./main.py --webpage # launches web server on port 8001\n```\n\nYou can run the server in one process while leaving the collector running\nin a separate process.\n\nTo add additional sites to serve beyond the ones from alexa, add them\nto the file \"additional_sites.txt\".\n\nTo add more selectors to query on, add them to the `selectors.txt` file. Each\nadditional selector added will double the total number of queries made, so\nthe number of queries grows geometrically. But it will be faster in subsequent runs unless you specify the `rescan` flag for particular selectors.\n\n\n## Knobs (see `main.py`)\nDepending on resources available on the host running the collection, you\nmay choose to increase or decrease the number of simultaneous queries by\nchanging `chunk_size`.\n\n\n## Webpage\nBrowse to here to see the list of domains for which DKIM(s) were found in DNS:\nhttp://localhost:8001/\n\n\n## API\nTo query all records of a specific domain, e.g., arca.live:\n\nhttp://localhost:8001/api/dkim/?domain=arca.live\n\n\nTo query ALL the data (might be slow):\n\nhttp://localhost:8001/api/dkim/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkemail%2Fdkim-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkemail%2Fdkim-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkemail%2Fdkim-registry/lists"}