{"id":13567153,"url":"https://github.com/matrix-org/python-signedjson","last_synced_at":"2026-03-10T13:32:32.716Z","repository":{"id":4902830,"uuid":"41305313","full_name":"matrix-org/python-signedjson","owner":"matrix-org","description":"Sign JSON objects with ED25519 signatures","archived":false,"fork":false,"pushed_at":"2022-09-23T15:01:50.000Z","size":52,"stargazers_count":12,"open_issues_count":6,"forks_count":10,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-12-11T15:23:42.503Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matrix-org.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2015-08-24T13:42:16.000Z","updated_at":"2024-09-20T15:17:27.000Z","dependencies_parsed_at":"2023-01-11T16:37:06.388Z","dependency_job_id":null,"html_url":"https://github.com/matrix-org/python-signedjson","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/matrix-org/python-signedjson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fpython-signedjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fpython-signedjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fpython-signedjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fpython-signedjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matrix-org","download_url":"https://codeload.github.com/matrix-org/python-signedjson/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fpython-signedjson/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30334653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-08-01T13:02:24.934Z","updated_at":"2026-03-10T13:32:32.695Z","avatar_url":"https://github.com/matrix-org.png","language":"Python","readme":"Signed JSON\n===========\n\n.. image:: https://img.shields.io/pypi/v/signedjson.svg\n    :target: https://pypi.python.org/pypi/signedjson/\n    :alt: Latest Version\n\n.. image:: https://img.shields.io/travis/matrix-org/python-signedjson.svg\n   :target: https://travis-ci.org/matrix-org/python-signedjson\n\n\nSigns JSON objects with ED25519 signatures.\n\n\nFeatures\n--------\n\n* More than one entity can sign the same object.\n* Each entity can sign the object with more than one key making it easier to\n  rotate keys\n* ED25519 can be replaced with a different algorithm.\n* Unprotected data can be added to the object under the ``\"unsigned\"`` key.\n\n\nInstalling\n----------\n\n.. code:: bash\n\n   pip install signedjson\n\nUsing\n-----\n\n.. code:: python\n\n    from signedjson.key import generate_signing_key, get_verify_key\n    from signedjson.sign import (\n        sign_json, verify_signed_json, SignatureVerifyException\n    )\n\n    signing_key = generate_signing_key('zxcvb')\n    signed_json = sign_json({'my_key': 'my_data'}, 'Alice', signing_key)\n\n    verify_key = get_verify_key(signing_key)\n\n    try:\n        verify_signed_json(signed_json, 'Alice', verify_key)\n        print 'Signature is valid'\n    except SignatureVerifyException:\n        print 'Signature is invalid'\n\nFormat\n------\n\n.. code:: json\n\n    {\n        \"\u003cprotected_name\u003e\": \"\u003cprotected_value\u003e\",\n        \"signatures\": {\n            \"\u003centity_name\u003e\": {\n                \"ed25519:\u003ckey_id\u003e\": \"\u003cunpadded_base64_signature\u003e\"\n            }\n        },\n        \"unsigned\": {\n            \"\u003cunprotected_name\u003e\": \"\u003cunprotected_value\u003e\",\n        }\n    }\n\n\n\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Fpython-signedjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrix-org%2Fpython-signedjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Fpython-signedjson/lists"}