{"id":17834610,"url":"https://github.com/basileioskal/canonizevulnerability","last_synced_at":"2025-04-02T13:12:39.240Z","repository":{"id":106901593,"uuid":"388433493","full_name":"BasileiosKal/CanonizeVulnerability","owner":"BasileiosKal","description":"URDNA2015 Algorithm Vulnerability Examples","archived":false,"fork":false,"pushed_at":"2021-08-04T16:01:00.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T04:21:44.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/BasileiosKal.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":"2021-07-22T11:11:19.000Z","updated_at":"2021-08-04T16:01:03.000Z","dependencies_parsed_at":"2023-04-26T23:01:10.099Z","dependency_job_id":null,"html_url":"https://github.com/BasileiosKal/CanonizeVulnerability","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/BasileiosKal%2FCanonizeVulnerability","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BasileiosKal%2FCanonizeVulnerability/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BasileiosKal%2FCanonizeVulnerability/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BasileiosKal%2FCanonizeVulnerability/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BasileiosKal","download_url":"https://codeload.github.com/BasileiosKal/CanonizeVulnerability/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246819788,"owners_count":20839095,"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-10-27T20:07:33.652Z","updated_at":"2025-04-02T13:12:39.206Z","avatar_url":"https://github.com/BasileiosKal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Canonicalization Vulnerability**\n\nThree examples of using the canonical blank node labels, produced by the URDNA2015 algorithm,\nto get information regarding the non-disclosed messages in a Verifiable Credential.  \n\nThe examples use a slightly reformed version of the [URDNA2015 algorithm](https://github.com/digitalbazaar/rdf-canonize), that also returns the\nreference sets of each blank node along with the final canonicalization result.\n\nTo sign, validate and derive a proof of knowledge for each credential, the \n[jsonld-signatures-bbs](https://github.com/mattrglobal/jsonld-signatures-bbs)\nlibrary is used implemented by [Mattr](https://github.com/mattrglobal).\n\n## Usage\nYou can run each example by either using the docker image, or by installing the \ndependencies locally with yarn.\n\n### **1. With Docker**\n\nFrom inside each example folder, first, build the docker image by running,\n\n`\u003e docker build --tag example . `\n\nTo run the example use,\n\n`\u003e docker run example`\n\nor\n\n`\u003e docker run --rm example`\n\nto automatically remove the created container afterwards.\n\n### **2. With Yarn**\nAgain from inside each example folder, install all dependencies with,\n\n`\u003e yarn install --frozen-lockfile`\n\n(Note: during the installation, node-pre-gyp package may throw an error. It is optional\ndependency, the code should run regardless)\n\nTo generate the derived credential (the one the Verifier will receive) \nusing selective disclosure, use,\n\n`\u003e yarn generate`\n\nThen, to read that credential and search the hidden values, run,\n\n`\u003e yarn search`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasileioskal%2Fcanonizevulnerability","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasileioskal%2Fcanonizevulnerability","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasileioskal%2Fcanonizevulnerability/lists"}