{"id":37029758,"url":"https://github.com/martinpaljak/capfile","last_synced_at":"2026-01-14T03:35:32.635Z","repository":{"id":33075988,"uuid":"138737693","full_name":"martinpaljak/capfile","owner":"martinpaljak","description":"Small library for JavaCard CAP file parsing and verification - MOVED to https://github.com/martinpaljak/ant-javacard","archived":true,"fork":false,"pushed_at":"2023-11-15T08:10:33.000Z","size":115,"stargazers_count":17,"open_issues_count":3,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-19T21:58:41.049Z","etag":null,"topics":["capfile","java","javacard"],"latest_commit_sha":null,"homepage":"https://github.com/martinpaljak/GlobalPlatformPro","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/martinpaljak.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":".github/CODEOWNERS","security":null,"support":null,"governance":null}},"created_at":"2018-06-26T12:51:55.000Z","updated_at":"2024-08-15T07:14:37.000Z","dependencies_parsed_at":"2023-11-15T09:27:18.167Z","dependency_job_id":"5122863a-229a-4ef0-8ff4-cf1210ec2d8e","html_url":"https://github.com/martinpaljak/capfile","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/martinpaljak/capfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinpaljak%2Fcapfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinpaljak%2Fcapfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinpaljak%2Fcapfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinpaljak%2Fcapfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinpaljak","download_url":"https://codeload.github.com/martinpaljak/capfile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinpaljak%2Fcapfile/sbom","scorecard":{"id":621916,"data":{"date":"2025-08-11","repo":{"name":"github.com/martinpaljak/capfile","commit":"eebade595c0896cc92186eff0b5c33107e14ce42"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/27 approved changesets -- score normalized to 0","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":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"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":"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":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml: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":"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/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/martinpaljak/capfile/release.yml/master?enable=pin","Info:   0 out of  11 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":"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: MIT License: 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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v21.04.05 not signed: https://api.github.com/repos/martinpaljak/capfile/releases/40934216","Warn: release artifact v21.03.07 not signed: https://api.github.com/repos/martinpaljak/capfile/releases/39393082","Warn: release artifact v20.08.12 not signed: https://api.github.com/repos/martinpaljak/capfile/releases/29591830","Warn: release artifact v20.02.19 not signed: https://api.github.com/repos/martinpaljak/capfile/releases/23795962","Warn: release artifact v20.02.17.1 not signed: https://api.github.com/repos/martinpaljak/capfile/releases/23726410","Warn: release artifact v21.04.05 does not have provenance: https://api.github.com/repos/martinpaljak/capfile/releases/40934216","Warn: release artifact v21.03.07 does not have provenance: https://api.github.com/repos/martinpaljak/capfile/releases/39393082","Warn: release artifact v20.08.12 does not have provenance: https://api.github.com/repos/martinpaljak/capfile/releases/29591830","Warn: release artifact v20.02.19 does not have provenance: https://api.github.com/repos/martinpaljak/capfile/releases/23795962","Warn: release artifact v20.02.17.1 does not have provenance: https://api.github.com/repos/martinpaljak/capfile/releases/23726410"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/martinpaljak/.github/SECURITY.md:1","Info: Found linked content: github.com/martinpaljak/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/martinpaljak/.github/SECURITY.md:1","Info: Found text in security policy: github.com/martinpaljak/.github/SECURITY.md:1"],"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":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 12 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"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-3mc7-4q67-w48m","Warn: Project is vulnerable to: GHSA-98wm-3w3q-mw94","Warn: Project is vulnerable to: GHSA-9w3m-gqgf-c4p9","Warn: Project is vulnerable to: GHSA-c4r9-r8fh-9vj2","Warn: Project is vulnerable to: GHSA-hhhw-99gj-p3c3","Warn: Project is vulnerable to: GHSA-mjmj-j48q-9wg2","Warn: Project is vulnerable to: GHSA-w37g-rhq8-7m4j"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T05:24:09.418Z","repository_id":33075988,"created_at":"2025-08-21T05:24:09.418Z","updated_at":"2025-08-21T05:24:09.418Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":["capfile","java","javacard"],"created_at":"2026-01-14T03:35:32.102Z","updated_at":"2026-01-14T03:35:32.621Z","avatar_url":"https://github.com/martinpaljak.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capfile · [![Build Status](https://github.com/martinpaljak/capfile/workflows/Continuous%20Integration/badge.svg?branch=master)](https://github.com/martinpaljak/capfile/actions) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/martinpaljak/capfile/blob/master/LICENSE)\n[![Release](https://img.shields.io/github/release/martinpaljak/capfile/all.svg)](https://github.com/martinpaljak/capfile/releases) [![Maven version](https://img.shields.io/maven-metadata/v?label=javacard.pro%20version\u0026metadataUrl=https%3A%2F%2Fjavacard.pro%2Fmaven%2Fcom%2Fgithub%2Fmartinpaljak%2Fcapfile%2Fmaven-metadata.xml)](https://gist.github.com/martinpaljak/c77d11d671260e24eef6c39123345cae) [![Maven Central](https://img.shields.io/maven-central/v/com.github.martinpaljak/capfile)](https://mvnrepository.com/artifact/com.github.martinpaljak/capfile) \n\n\u003e Handle JavaCard CAP files, from command line or Java project\n\n    java -jar capfile.jar \u003ccapfile\u003e\n\n## Off-card verification\n\n    java -jar capfile.jar -v \u003cpath to JavaCard SDK\u003e [\u003ctargetsdkpath\u003e] \u003ccapfile\u003e [\u003cexpfiles...\u003e]\n\n(SDK-s usable on Unix machines are conveniently available from https://github.com/martinpaljak/oracle_javacard_sdks/). EXP files can be plain EXP files or JAR files containing EXP files. Please use JavaCard 3.0.5u3 as the SDK and verify target SDK.\n\n## DAP signing\nUsable with [GlobalPlatformPro](https://github.com/martinpaljak/GlobalPlatformPro). At the moment, only PKCS#1 v1.5 SHA1 signature with 1024 bit RSA key is supported.\n\n    java -jar capfile.jar -s \u003ckeyfile.pem\u003e \u003ccapfile\u003e\n\nA sample flow would look along the lines of:\n\n```shell\nopenssl genrsa 1024 \u003e dap.pem                          # generate DAP key\ncapfile -s dap.pem applet.cap                          # sign CAP with DAP key\ngp -domain $SSD_AID -privs DAPVerification --allow-to  # create SSD with DAP\ngp -sdaid $SSD_AID -put-key dap.pem -key $SSD_SCP_KEY  # add DAP key to SSD\ngp -load applet.cap -to $SSD_AID                       # load signed CAP file to SSD\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinpaljak%2Fcapfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinpaljak%2Fcapfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinpaljak%2Fcapfile/lists"}