{"id":36419426,"url":"https://github.com/cryptimeleon/predenc","last_synced_at":"2026-01-11T17:04:53.040Z","repository":{"id":46860068,"uuid":"332699814","full_name":"cryptimeleon/predenc","owner":"cryptimeleon","description":"Predenc contains predicate encryption implementations as well as key encapsulation mechanisms based on such implementations, for example attribute-based encryption.","archived":false,"fork":false,"pushed_at":"2023-04-05T14:06:40.000Z","size":412,"stargazers_count":5,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-10-18T20:00:11.867Z","etag":null,"topics":["abe","abe-kem","ciphertext-policy","encryption","ibe","java","kem","key-policy","predicate-encryption"],"latest_commit_sha":null,"homepage":"","language":"Java","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/cryptimeleon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-25T09:49:59.000Z","updated_at":"2025-03-17T20:58:41.000Z","dependencies_parsed_at":"2025-09-10T04:54:35.991Z","dependency_job_id":"05276c3a-5433-4de0-837b-063c686b558c","html_url":"https://github.com/cryptimeleon/predenc","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cryptimeleon/predenc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptimeleon%2Fpredenc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptimeleon%2Fpredenc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptimeleon%2Fpredenc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptimeleon%2Fpredenc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptimeleon","download_url":"https://codeload.github.com/cryptimeleon/predenc/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptimeleon%2Fpredenc/sbom","scorecard":{"id":310121,"data":{"date":"2025-08-11","repo":{"name":"github.com/cryptimeleon/predenc","commit":"8043f384540f623eedc3457723c63d9c4b271a74"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":3,"reason":"Found 3/10 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/dev-ci.yaml:1","Warn: no topLevel permission defined: .github/workflows/main-ci.yaml:1","Warn: no topLevel permission defined: .github/workflows/tagged_release.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev-ci.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/cryptimeleon/predenc/dev-ci.yaml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dev-ci.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/cryptimeleon/predenc/dev-ci.yaml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main-ci.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/cryptimeleon/predenc/main-ci.yaml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main-ci.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/cryptimeleon/predenc/main-ci.yaml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tagged_release.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/cryptimeleon/predenc/tagged_release.yaml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tagged_release.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/cryptimeleon/predenc/tagged_release.yaml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tagged_release.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/cryptimeleon/predenc/tagged_release.yaml/develop?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.0.2 not signed: https://api.github.com/repos/cryptimeleon/predenc/releases/98195811","Warn: release artifact v2.0.1 not signed: https://api.github.com/repos/cryptimeleon/predenc/releases/98194246","Warn: release artifact v1.0.1 not signed: https://api.github.com/repos/cryptimeleon/predenc/releases/50059901","Warn: release artifact v1.0.0 not signed: https://api.github.com/repos/cryptimeleon/predenc/releases/39339418","Warn: release artifact v2.0.2 does not have provenance: https://api.github.com/repos/cryptimeleon/predenc/releases/98195811","Warn: release artifact v2.0.1 does not have provenance: https://api.github.com/repos/cryptimeleon/predenc/releases/98194246","Warn: release artifact v1.0.1 does not have provenance: https://api.github.com/repos/cryptimeleon/predenc/releases/50059901","Warn: release artifact v1.0.0 does not have provenance: https://api.github.com/repos/cryptimeleon/predenc/releases/39339418"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T23:01:28.471Z","repository_id":46860068,"created_at":"2025-08-17T23:01:28.471Z","updated_at":"2025-08-17T23:01:28.471Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28314263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"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":["abe","abe-kem","ciphertext-policy","encryption","ibe","java","kem","key-policy","predicate-encryption"],"created_at":"2026-01-11T17:04:52.544Z","updated_at":"2026-01-11T17:04:53.030Z","avatar_url":"https://github.com/cryptimeleon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build Status](https://github.com/cryptimeleon/predenc/workflows/Development%20Java%20CI/badge.svg)\n![Build Status](https://github.com/cryptimeleon/predenc/workflows/Main%20Java%20CI/badge.svg)\n![Build Status](https://github.com/cryptimeleon/predenc/workflows/Scheduled%20Main%20Java%20CI/badge.svg)\n# Predenc\n\nThe Cryptimeleon Predenc project contains various predicate encryption implementations such as attribute-based encryption or identity-based encryption.\nFurthermore, it contains key encapsulation mechanisms based on predicate encryption schemes.\n\n## Security Disclaimer\n**WARNING: This library is meant to be used for prototyping and as a research tool *only*. It has not been sufficiently vetted for use in security-critical production environments. All implementations are to be considered experimental.**\n\n## Implemented Schemes\n\n* **Encryption schemes**:\n    * Attribute-based:\n        * Waters' ciphertext-policy attribute-based encryption scheme [Wat11]\n        * Goyal et al.'s key-policy attribute-based encryption scheme [GPSW06]\n    * Identity-based:\n        * Fuzzy identity-based encryption [SW05]\n        * Identity based encryption from the Weil pairing [BF01]\n* **Key encapsulation mechanisms (KEM)**: We implement several KEMs based on the encryption schemes implemented in this library. Predenc provides KEMs for [Wat11], [GPSW06] and [SW05].\n\n## Quickstart\n\n### Installation With Maven\nTo add the newest Predenc version as a dependency, add this to your project's POM:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.cryptimeleon\u003c/groupId\u003e\n    \u003cartifactId\u003epredenc\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Installation With Gradle\n\nPredenc is published via Maven Central.\nTherefore, you need to add `mavenCentral()` to the `repositories` section of your project's `build.gradle` file.\nThen, add `implementation group: 'org.cryptimeleon', name: 'predenc', version: '1.0.1'` to the `dependencies` section of your `build.gradle` file.\n\nFor example:\n\n```groovy\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation group: 'org.cryptimeleon', name: 'predenc', version: '1.0.1'\n}\n```\n\n### Tutorials\n\nPredenc uses the mathematical facilities of our [Math library](https://github.com/cryptimeleon/math).\nTherefore, we recommend you go through our [short Math tutorial](https://cryptimeleon.github.io/getting-started/5-minute-tutorial.html) to get started.\n\n## Miscellaneous Information\n\n- Official Documentation can be found [here](https://cryptimeleon.github.io/).\n    - The *For Contributors* area includes information on how to contribute.\n- Predenc adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n- The changelog can be found [here](CHANGELOG.md).\n- Predenc is licensed under Apache License 2.0, see [LICENSE file](LICENSE).\n\n## Authors\nThe library was implemented at Paderborn University in the research group [\"Codes und Cryptography\"](https://cs.uni-paderborn.de/en/cuk/).\n\n## References\n\n[BF01] Dan Boneh and Matt Franklin. \"Identity-Based Encryption from the Weil Pairing\". In: Advances in Cryptology — CRYPTO 2001. CRYPTO 2001. Ed. by Joe Kilian. Vol. 2139. Lecture Notes in Computer Science.  Springer, Berlin, Heidelberg, August 2001, pp. 213-229.\n\n[SW05] Amit Sahai and Brent Waters. \"Fuzzy Identity-Based Encryption\". In: Advances in Cryptology – EUROCRYPT 2005 (pp. 457–473). Springer Berlin Heidelberg.\n\n[GPSW06] Vipul Goyal, Omkant Pandey, Amit Sahai, and Brent Waters. \"Attribute-based encryption for fine-grained access control of encrypted data\". In: ACM Conference on Computer and Communications Security. ACM, 2006, pages 89–98.\n\n[Wat11] Brent Waters. Ciphertext-policy attribute-based encryption: An\nexpressive, efficient, and provably secure realization. In Public Key\nCryptography. Springer, 2011, pp. 53–70.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptimeleon%2Fpredenc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptimeleon%2Fpredenc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptimeleon%2Fpredenc/lists"}