{"id":51199687,"url":"https://github.com/01alekseev/psc","last_synced_at":"2026-06-27T23:34:02.247Z","repository":{"id":305325334,"uuid":"1022588463","full_name":"01alekseev/PSC","owner":"01alekseev","description":"Petoron Seal Contracts (PSC) is a minimalistic cryptographic contract format. It doesn't execute. It verifies. Then it ends :))","archived":false,"fork":false,"pushed_at":"2025-07-28T06:24:51.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-27T23:34:01.012Z","etag":null,"topics":["binary","crypto-contracts","cryptography","digital-signature","minimal","petoron","psc","security","ttl"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/01alekseev.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-19T11:54:43.000Z","updated_at":"2025-07-28T06:24:18.000Z","dependencies_parsed_at":"2025-07-19T16:35:30.757Z","dependency_job_id":"d303b0c3-85ef-47c9-8086-9effefdd4f15","html_url":"https://github.com/01alekseev/PSC","commit_stats":null,"previous_names":["01alekseev/psc"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/01alekseev/PSC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/01alekseev%2FPSC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/01alekseev%2FPSC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/01alekseev%2FPSC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/01alekseev%2FPSC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/01alekseev","download_url":"https://codeload.github.com/01alekseev/PSC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/01alekseev%2FPSC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34872279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["binary","crypto-contracts","cryptography","digital-signature","minimal","petoron","psc","security","ttl"],"created_at":"2026-06-27T23:34:01.488Z","updated_at":"2026-06-27T23:34:02.242Z","avatar_url":"https://github.com/01alekseev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Petoron Seal Contracts (PSC)\n\nPSC is an irreversible, binary, offline system of digital agreements without code execution.  \nEach contract is a fixed cryptographic promise, signed by the participants and time limited (TTL).  \nPSC does not require a blockchain, API or internet. It works like a seal: once and. forever.\n\n---\n\nKey features\n\n- Binary format only (no JSON, YAML or text declarations)\n- TTL (time to live) is embedded in the file\n- Participant signatures (Ed25519)\n- executed - flag protects against reuse\n- Signatures are external (.sig), not embedded.\n- Support for manual deletion (burn)\n- Full compatibility with PTBC (ability to encrypt PSC)\n\n---\n\nCLI commands :))\n\nGenerate keys:\npython3 cli/psc_cli.py genkey --output userA\n\nCreate contract:\npython3 cli/psc_cli.py create contract.txt --pubkeys userA.pub --ttl 3600 --output contract.psc\n\nSign:\npython3 cli/psc_cli.py sign contract.psc --private userA.priv --output userA.sig\n\nVerify signature:\npython3 cli/psc_cli.py verify contract.psc --sig userA.sig --public userA.pub\n\nVerify all signatures: \npython3 cli/psc_cli.py verify-all contract.psc --sigs userA.sig --pubs userA.pub\n\nCheck status:\npython3 cli/psc_cli.py status contract.psc\n\nExecute contract:\npython3 cli/psc_cli.py execute contract.psc --sigs userA.sig --pubs userA.pub\n\nDelete contract:\npython3 cli/psc_cli.py burn contract.psc\n\n*PSC can be encrypted with the Petoron Time Burn Cipher for complete privacy:\npython3 python3 ptbc_cli.py encrypt contract.psc contract.ptbc --ttl 600 \n\nDependencies:\nPython 3.7+ \nPyNaCl (pip install pynacl)\n\nThat's kind of it, I give it to you :))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F01alekseev%2Fpsc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F01alekseev%2Fpsc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F01alekseev%2Fpsc/lists"}