{"id":20942378,"url":"https://github.com/unfoldingword-dev/sigadd","last_synced_at":"2026-04-20T16:04:20.167Z","repository":{"id":28887767,"uuid":"32412412","full_name":"unfoldingWord-dev/sigadd","owner":"unfoldingWord-dev","description":"API to allow signatures to be added to api.unfoldingword.org","archived":false,"fork":false,"pushed_at":"2015-04-01T22:00:27.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-19T21:16:02.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unfoldingWord-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-17T18:31:08.000Z","updated_at":"2015-04-01T22:00:28.000Z","dependencies_parsed_at":"2022-09-03T07:41:04.734Z","dependency_job_id":null,"html_url":"https://github.com/unfoldingWord-dev/sigadd","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/unfoldingWord-dev%2Fsigadd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfoldingWord-dev%2Fsigadd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfoldingWord-dev%2Fsigadd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfoldingWord-dev%2Fsigadd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unfoldingWord-dev","download_url":"https://codeload.github.com/unfoldingWord-dev/sigadd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243335382,"owners_count":20274898,"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-18T23:26:35.151Z","updated_at":"2025-12-28T16:33:36.129Z","avatar_url":"https://github.com/unfoldingWord-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"SigAdd\n---\n\nThis script allows Signing Entities to submit content signatures for inclusion in the api\n\n###Requirements\n\n####OpenSSL\nThis tool requires the `SHA384` hash algorithm which is available in OpenSSL 1.0.1.e and newer.\nIf your version of OpenSSL does not support the correct hash algorithm you will likely receive an error message as shown below\n```\n$ Error Verifying Data\n$ 10308:error:0606C06E:digital envelope routines:EVP_VerifyFinal:wrong public key type:.\\crypto\\evp\\p_verify.c:85:\n```\nWhen debugging this tool always make sure you have the correct version of OpenSSL first.\n\n###Example\n\nFirst start up the script with your desired port\n```\n$ python index.py 88\n```\n\nThe service will now be listening at `127.0.0.1:88`\n\nGiven the following data below:\n```\n{\n  \"content\": \"https://api.unfoldingword.org/obs/txt/1/en/obs-en.json?date_modified=20150210\",\n  \"sig\": \"MGYCMQDN7R4lTqR579DwbEQjGa7gBDlQrqv84fv7EPJoTC7XwYK0H2ODQ3UQL5QaOiE2+h0CMQC0JPChVkm8FbX+OhFNFl8D1bp96dMpdE6XOchCE0j/tDACWIQGV/icjbD4m5yb2Vk=\",\n  \"slug\": \"uW\"\n}\n```\n\nPerform a post request to wherever the script is listening (127.0.0.1:88 in this example):\n```\n$ curl -X POST --data-urlencode \"data=\u003cdata above with quotes escaped and no newlines\u003e\" http://127.0.0.1:88\n```\n\ne.g.\n\n```\n$ curl -X POST --data-urlencode \"data={\\\"content\\\":\\\"https://api.unfoldingword.org/obs/txt/1/en/obs-en.json?date_modified=20150210\\\",\\\"sig\\\":\\\"MGYCMQDN7R4lTqR579DwbEQjGa7gBDlQrqv84fv7EPJoTC7XwYK0H2ODQ3UQL5QaOiE2+h0CMQC0JPChVkm8FbX+OhFNFl8D1bp96dMpdE6XOchCE0j/tDACWIQGV/icjbD4m5yb2Vk=\\\",\\\"slug\\\":\\\"uW\\\"}\" http://127.0.0.1:88\n```\n\n\u003e Note: in production this script will be located at https://api.unfoldingword.org/sigadd/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funfoldingword-dev%2Fsigadd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funfoldingword-dev%2Fsigadd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funfoldingword-dev%2Fsigadd/lists"}