{"id":14959450,"url":"https://github.com/transmute-industries/transmute","last_synced_at":"2025-04-19T11:52:03.240Z","repository":{"id":57145991,"uuid":"111481907","full_name":"transmute-industries/transmute","owner":"transmute-industries","description":"Transmute","archived":false,"fork":false,"pushed_at":"2024-08-27T20:49:53.000Z","size":52801,"stargazers_count":58,"open_issues_count":1,"forks_count":12,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-04-03T22:37:19.044Z","etag":null,"topics":["cryptography","decentralized-identifiers","github-actions","graph","ietf","jose","jsonld","jwe","jwk","jws","jwt","neo4j","rdf","supply-chain","transmute","verifiable-credentials","visulization","w3c"],"latest_commit_sha":null,"homepage":"https://transmute.industries","language":"TypeScript","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/transmute-industries.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}},"created_at":"2017-11-21T01:18:35.000Z","updated_at":"2024-08-27T20:49:57.000Z","dependencies_parsed_at":"2024-06-19T22:49:59.853Z","dependency_job_id":"1abb74f3-7a8e-4578-88ba-524385866988","html_url":"https://github.com/transmute-industries/transmute","commit_stats":{"total_commits":701,"total_committers":13,"mean_commits":53.92307692307692,"dds":0.5520684736091298,"last_synced_commit":"79d01913e6aab14fd871030baefd09d8efde9af5"},"previous_names":[],"tags_count":100,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmute-industries%2Ftransmute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmute-industries%2Ftransmute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmute-industries%2Ftransmute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmute-industries%2Ftransmute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transmute-industries","download_url":"https://codeload.github.com/transmute-industries/transmute/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248933338,"owners_count":21185460,"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":["cryptography","decentralized-identifiers","github-actions","graph","ietf","jose","jsonld","jwe","jwk","jws","jwt","neo4j","rdf","supply-chain","transmute","verifiable-credentials","visulization","w3c"],"created_at":"2024-09-24T13:19:45.680Z","updated_at":"2025-04-19T11:52:03.215Z","avatar_url":"https://github.com/transmute-industries.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003ca href=\"https://transmute.industries\"\u003eTransmute\u003c/a\u003e\n\n[![CI](https://github.com/transmute-industries/transmute/actions/workflows/ci.yml/badge.svg)](https://github.com/transmute-industries/transmute/actions/workflows/ci.yml)\n[![NPM](https://nodei.co/npm/@transmute/cli.png?mini=true)](https://npmjs.org/package/@transmute/cli)\n\n#### [Questions?](https://transmute.typeform.com/to/RshfIw?typeform-source=cli)\n\n## Usage\n\n### GitHub Action\n\n```yaml\nname: CI\non: [push]\njobs:\n  scitt:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Issue Statement\n        id: issue_statement\n        uses: transmute-industries/transmute@main\n        with:\n          transmute: |\n            scitt issue-statement ./tests/fixtures/private.sig.key.cbor \\\n            ./tests/fixtures/message.json \\\n            --output ./tests/fixtures/message.hash-envelope.cbor\n      - name: Verify Statement Hash\n        id: verify_message\n        uses: transmute-industries/transmute@main\n        with:\n          transmute: |\n            scitt verify-statement-hash ./tests/fixtures/public.sig.key.cbor \\\n            ./tests/fixtures/message.hash-envelope.cbor \\\n            3073d614f853aaec9a1146872c7bab75495ee678c8864ed3562f8787555c1e22\n      - name: Issue Receipt\n        id: issue_receipt\n        uses: transmute-industries/transmute@main\n        with:\n          transmute: |\n            scitt issue-receipt ./tests/fixtures/private.notary.key.cbor \\\n            ./tests/fixtures/message.hash-envelope.cbor \\\n            --log ./tests/fixtures/trans.json\n      - name: Verify Receipt Hash\n        id: verify_receipt\n        uses: transmute-industries/transmute@main\n        with:\n          transmute: |\n            scitt verify-receipt-hash ./tests/fixtures/public.notary.key.cbor \\\n            ./tests/fixtures/message.hash-envelope-with-receipt.cbor \\\n            3073d614f853aaec9a1146872c7bab75495ee678c8864ed3562f8787555c1e22\n```\n\nSee [CI](./.github/workflows/ci.yml) for more examples.\n\n### Nodejs CLI\n\nInstall as global binary:\n\n```sh\nnpm i -g @transmute/cli@latest\n```\n\n#### Getting Started\n\n```sh\n\necho '\"@context\":\n  - https://www.w3.org/ns/credentials/v2\n  - https://www.w3.org/ns/credentials/examples/v2\ntype:\n  - VerifiableCredential\n  - MyPrototypeCredential\ncredentialSubject:\n  !sd mySubjectProperty: mySubjectValue\n' \u003e ./tests/fixtures/issuer-disclosable-claims.yaml\n\necho '\"@context\":\n  - https://www.w3.org/ns/credentials/v2\n  - https://www.w3.org/ns/credentials/examples/v2\ntype:\n  - VerifiableCredential\n  - MyPrototypeCredential\ncredentialSubject:\n  mySubjectProperty: mySubjectValue\n' \u003e ./tests/fixtures/holder-disclosed-claims.yaml\n\ntransmute jose keygen --alg ES256 \\\n--output ./tests/fixtures/private.sig.jwk.json\n\ntransmute vcwg issue-credential ./tests/fixtures/private.sig.jwk.json \\\n ./tests/fixtures/issuer-disclosable-claims.yaml \\\n--credential-type application/vc-ld+sd-jwt \\\n--output ./tests/fixtures/issuer-disclosable-claims.sd-jwt\n```\n\nSee [scripts](./scripts/) for more examples.\n\n\u003cimg src=\"./docs/all.png\" alt=\"graph after ci runs\" /\u003e\n\nTODO: all command examples\n\n## Use Cases\n\n### Software Supply Chain\n\n#### In Search of Transparency\n\n##### Product Integrity\n\n```bash\n\nsbom-tool generate -b ./dist -bc ./ -pn transmute -ps transmute.industries \\\n-pv `jq -r .version package.json` -nsu `git rev-parse --verify HEAD`\n\ntransmute scitt issue-statement ./tests/fixtures/private.notary.key.cbor \\\n./dist/_manifest/spdx_2.2/manifest.spdx.json \\\n--iss https://software.vendor.example \\\n--sub `jq -r .documentNamespace ./dist/_manifest/spdx_2.2/manifest.spdx.json` \\\n--content-type application/spdx+json \\\n--location https://github.com/.../dist/_manifest/spdx_2.2/manifest.spdx.json \\\n--output ./dist/_manifest/spdx_2.2/manifest.spdx.scitt.cbor\n\ntransmute scitt issue-receipt ./tests/fixtures/private.notary.key.cbor \\\n./dist/_manifest/spdx_2.2/manifest.spdx.scitt.cbor \\\n--iss https://software.notary.example \\\n--sub `jq -r .documentNamespace ./dist/_manifest/spdx_2.2/manifest.spdx.json` \\\n--log ./tests/fixtures/trans.json \\\n--output ./dist/_manifest/spdx_2.2/manifest.spdx.scitt.cbor\n\ntransmute scitt verify-receipt-hash ./tests/fixtures/public.notary.key.cbor \\\n./dist/_manifest/spdx_2.2/manifest.spdx.scitt.cbor \\\n`cat ./dist/_manifest/spdx_2.2/manifest.spdx.json.sha256`\n\n```\n\n\u003cimg src=\"./docs/build.png\" alt=\"command line image of build script execution\" /\u003e\n\n##### Compliance Automation\n\n```yaml\nname: CI\non: [push]\njobs:\n  scitt:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Push Transparency\n        uses: transmute-industries/transmute@main\n        with:\n          neo4j-uri: ${{ secrets.NEO4J_URI }}\n          neo4j-user: ${{ secrets.NEO4J_USERNAME }}\n          neo4j-password: ${{ secrets.NEO4J_PASSWORD }}\n          transmute: |\n            graph assist ./dist/_manifest/spdx_2.2/manifest.spdx.scitt.cbor \\\n              --credential-type application/cose \\\n              --graph-type application/gql \\\n              --push\n```\n\n\u003cimg src=\"./docs/receipt.png\" alt=\"graph query results\" /\u003e\n\n\u003c!--\nMATCH (statement {\n    subject: 'https://spdx.org/spdxdocs/sbom-tool-2.2.7-66a07f86-0f12-4c6f-887b-9a1510b11d8a/transmute/0.9.2/2e57d4b2d9b45cccdd74dad91edbaabaa06074f9'\n})\nMATCH (receipt {\n    subject: statement.subject\n})\nRETURN statement, receipt\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransmute-industries%2Ftransmute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransmute-industries%2Ftransmute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransmute-industries%2Ftransmute/lists"}