{"id":37020936,"url":"https://github.com/cberes/john-hancock","last_synced_at":"2026-01-14T02:27:20.594Z","repository":{"id":57727173,"uuid":"103084218","full_name":"cberes/john-hancock","owner":"cberes","description":"Build images from several customer signature serializations","archived":false,"fork":false,"pushed_at":"2024-03-03T00:26:51.000Z","size":107,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-15T04:32:21.189Z","etag":null,"topics":["library"],"latest_commit_sha":null,"homepage":null,"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/cberes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-11T03:11:51.000Z","updated_at":"2024-03-03T00:02:47.000Z","dependencies_parsed_at":"2022-09-26T22:20:20.068Z","dependency_job_id":null,"html_url":"https://github.com/cberes/john-hancock","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cberes/john-hancock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cberes%2Fjohn-hancock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cberes%2Fjohn-hancock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cberes%2Fjohn-hancock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cberes%2Fjohn-hancock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cberes","download_url":"https://codeload.github.com/cberes/john-hancock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cberes%2Fjohn-hancock/sbom","scorecard":{"id":268491,"data":{"date":"2025-08-11","repo":{"name":"github.com/cberes/john-hancock","commit":"cfadfd5052dd40334d26b080e362173585dac999"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"Code-Review","score":0,"reason":"Found 0/30 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":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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.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":"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":"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/build.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/cberes/john-hancock/build.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/cberes/john-hancock/build.yaml/main?enable=pin","Info:   0 out of   2 GitHub-owned 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":"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":"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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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"}}]},"last_synced_at":"2025-08-17T12:46:43.398Z","repository_id":57727173,"created_at":"2025-08-17T12:46:43.398Z","updated_at":"2025-08-17T12:46:43.398Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408711,"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":["library"],"created_at":"2026-01-14T02:27:20.101Z","updated_at":"2026-01-14T02:27:20.585Z","avatar_url":"https://github.com/cberes.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# john-hancock\n\nBuilds images from common customer signature serialization formats\n\n![build workflow](https://github.com/cberes/john-hancock/actions/workflows/build.yaml/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/cberes/john-hancock/badge.svg?branch=main)](https://coveralls.io/github/cberes/john-hancock?branch=main)\n[![Maven Central](https://img.shields.io/maven-central/v/com.spinthechoice/john-hancock.svg)](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.spinthechoice%22%20AND%20a%3A%22john-hancock%22)\n\n## Supported formats\n\n### Worldpay (Vantiv)\n\n1. Points, big-endian\n2. Points, little-endian\n3. 3-byte ASCII\n\n### Cayan\n\n1. Vector text\n\n## Requirements\n\nRequires JDK 1.7 or greater\n\n## Installation\n\n`john-hancock` is available as a Maven artifact from Maven Central.\n\n### Gradle\n\n```groovy\ncompile 'com.spinthechoice:john-hancock:1.0.1'\n```\n\n### Maven\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.spinthechoice\u003c/groupId\u003e\n  \u003cartifactId\u003ejohn-hancock\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Example usage\n\n```java\nimport java.awt.image.RenderedImage;\nimport java.io.File;\nimport java.io.IOException;\nimport javax.imageio.ImageIO;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.spinthechoice.signature.Converter;\nimport com.spinthechoice.signature.Format;\n\npublic class Main {\n    static class Signature {\n        public byte[] data;\n    }\n\n    public static void main(final String[] args) throws IOException {\n        final String json = \"{\\\"data\\\":\\\"/////wAAAAAAAAAUAAoAFP////8AAAAAAAoAAP////8AAAAKAAcACv//\" +\n                \"//8AFAAAABQAFP////8AFAAAAB4AAAAeAAoAFAAK/////wAyAAAAKAAAACgACgAyAAoAMgAUACgAFP//\" +\n                \"//8AUAAAAFAAFP////8AWgAAAFoAFP////8AUAACAFoAEv////8AZAAAAGQAFABuABQAbgAA/////wB4\" +\n                \"AAAAeAAUAIIAFP////8AjAAAAIwAFACWABT/////\\\"}\";\n        final Signature signature = new ObjectMapper().readValue(json, Signature.class);\n        final Converter converter = new Converter();\n        final RenderedImage image = converter.convert(signature.data, Format.POINTS_BIG_ENDIAN);\n        ImageIO.write(image, \"png\", new File(\"example.png\"));\n    }\n}\n\n```\n\n## Configuration\n\n[Converter](src/main/java/net/seabears/signature/Converter.java) accepts a [Config](src/main/java/net/seabears/signature/Config.java) instance. This allows you to configure\n\n1. background color\n2. foreground color\n3. padding\n\n## More information\n\n- [3-byte ASCII](https://social.msdn.microsoft.com/Forums/vstudio/en-US/1dc7421a-56dc-4698-ac33-9c79e25fde36/saving-series-of-point-data-in-c)\n- [Worldpay/Vantiv points format](https://developer.vantiv.com/thread/1830)\n\n## License\n\nCopyright © 2017, 2019 Corey Beres\n\nDistributed under the MIT license\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcberes%2Fjohn-hancock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcberes%2Fjohn-hancock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcberes%2Fjohn-hancock/lists"}