{"id":16778900,"url":"https://github.com/xtekky/simple-sig","last_synced_at":"2025-04-10T20:51:41.267Z","repository":{"id":104338697,"uuid":"562306251","full_name":"xtekky/Simple-Sig","owner":"xtekky","description":"Simple Signature to secure your website's traffic with backend validation api","archived":false,"fork":false,"pushed_at":"2022-11-06T01:22:11.000Z","size":766,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T18:21:20.946Z","etag":null,"topics":["http-signature","http-signatures","javascript","obfuscation","security","signature","signature-verification","web-security"],"latest_commit_sha":null,"homepage":"","language":null,"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/xtekky.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-05T23:20:40.000Z","updated_at":"2024-12-16T01:56:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"dae55480-78a2-4ce9-9413-883e1b0c1c70","html_url":"https://github.com/xtekky/Simple-Sig","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtekky%2FSimple-Sig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtekky%2FSimple-Sig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtekky%2FSimple-Sig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtekky%2FSimple-Sig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtekky","download_url":"https://codeload.github.com/xtekky/Simple-Sig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248296748,"owners_count":21080304,"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":["http-signature","http-signatures","javascript","obfuscation","security","signature","signature-verification","web-security"],"created_at":"2024-10-13T07:28:59.686Z","updated_at":"2025-04-10T20:51:41.258Z","avatar_url":"https://github.com/xtekky.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple-Sig\nSimple Signature to secure your website's traffic with backend validation api\n\n#### Usage example\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n    \u003cmeta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\"\u003e\n    \u003cscript src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"https://cdn.jsdelivr.net/gh/xtekky/Simple-Sig/src/sig.js\"\u003e\u003c/script\u003e\n    \u003ctitle\u003esig demo\u003c/title\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cbutton type=\"button\" id=\"test\"\u003etest\u003c/button\u003e\n    \u003cscript src=\"/assets/js/index.js\"\u003e\u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n```js\n$('#test').click(function() {\n    data = 'username=grgrg\u0026password=1234'\n\n    fetch(\"/test\", {\n        headers: {\n            ...x(data),\n        },\n        body   : data,\n        method : \"POST\",\n        mode   : \"cors\",\n  });\n});\n```\n#### Backend (verification api)\n```curl\ncurl -X POST -H 'Accept: */*' -H 'Accept-Encoding: gzip, deflate' -H 'Connection: keep-alive' -H 'Content-Length: 156' -H 'Content-Type: application/json' -H 'User-Agent: python-requests/2.28.1' -d '{\"x-kspx-00\": \"x-kspx-00 HEADER\", \"x-tx-00\": \"x-tx-00 HEADER\", \"data\": \"POST DATA\"}' https://sig.xtekky.repl.co/verify\n\n```\n- response :\n\n```json\n{\n  \"is_valid\": True/False,\n  \"tts\": time elapsed since sig creation (you can then define a limit so sig cant be used again)\n}\n\n```\n\n#### Heavy obfuscation - fast execution\n![image](https://user-images.githubusercontent.com/98614666/200146256-5c713947-2d26-43db-94ee-a028225c3193.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtekky%2Fsimple-sig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtekky%2Fsimple-sig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtekky%2Fsimple-sig/lists"}