{"id":15750409,"url":"https://github.com/nwtgck/digestream","last_synced_at":"2026-01-20T19:32:09.168Z","repository":{"id":52420814,"uuid":"167953143","full_name":"nwtgck/digestream","owner":"nwtgck","description":"CLI for streaming message digest calculator - Insert into pipe, get the digest in tty","archived":false,"fork":false,"pushed_at":"2021-04-29T19:26:01.000Z","size":24,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-07T08:42:03.042Z","etag":null,"topics":["cli","digest","digest-calculation","golang","hash","message-digest","pipe","stream"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nwtgck.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":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-28T11:45:54.000Z","updated_at":"2020-03-30T11:47:54.000Z","dependencies_parsed_at":"2022-09-06T08:11:20.140Z","dependency_job_id":null,"html_url":"https://github.com/nwtgck/digestream","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nwtgck/digestream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fdigestream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fdigestream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fdigestream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fdigestream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/digestream/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fdigestream/sbom","scorecard":{"id":699540,"data":{"date":"2025-08-11","repo":{"name":"github.com/nwtgck/digestream","commit":"d9b0445a87e2d72fff904b192e89b3ad70083fa5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"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":"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/18 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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.1 not signed: https://api.github.com/repos/nwtgck/digestream/releases/17592364","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/nwtgck/digestream/releases/16056170","Warn: release artifact v0.1.1 does not have provenance: https://api.github.com/repos/nwtgck/digestream/releases/17592364","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/nwtgck/digestream/releases/16056170"],"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8"],"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-22T04:52:03.859Z","repository_id":52420814,"created_at":"2025-08-22T04:52:03.859Z","updated_at":"2025-08-22T04:52:03.859Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28610608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cli","digest","digest-calculation","golang","hash","message-digest","pipe","stream"],"created_at":"2024-10-04T06:40:39.678Z","updated_at":"2026-01-20T19:32:09.140Z","avatar_url":"https://github.com/nwtgck.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# digestream\n[![CircleCI](https://circleci.com/gh/nwtgck/digestream.svg?style=shield)](https://circleci.com/gh/nwtgck/digestream)\n\nStreaming message digest calculator: Insert digest calculation inside pipe\n\n## Installation\n\nGet executable binaries from [GitHub Releases](https://github.com/nwtgck/digestream/releases)\n\n## Usage\n\nHere is an example to use `digestream`. The command below allows you to download `ubuntu.iso` and calculate message digest at the same time.\n\n```bash\ncurl http://releases.ubuntu.com/18.04/ubuntu-18.04.1-desktop-amd64.iso | digestream \u003e ubuntu.iso\n```\n\nThen you will have a SHA-256 digest as follows in tty.\n```\n5748706937539418ee5707bd538c4f5eabae485d17aa49fb13ce2c9b70532433\n```\n\nNote that the message digest, `5748706937...433` is output to tty not to stdout.  \nThe command above is the same as `curl ... \u003e ubuntu.iso` except for digest calculation.\n\n## Motivation\n\nOne of the motivations of `digestream` is for [Piping Server](https://github.com/nwtgck/piping-server), which is a server to allow users to transfer data via HTTP.  \nYou can get more information in \u003chttps://github.com/nwtgck/piping-server\u003e.\n\nBy using `digestream`, users get more confident to send data correctly.\n\n```bash\n# Sender\nseq 1000 | digestream | curl -T - https://piping.glitch.me/myseq\n```\n\n```bash\n# Receiver\ncurl https://piping.glitch.me/myseq | digestream \u003e myseq.txt\n```\n\n## Algorithms\n\nHere is examples to use `md5`, `sham256` and `sha512`. In current implementation, `sham256` is the default algorithm. But the default algorithm may be changed in the future by technology improvement.\n\n```\necho \"hello, world\" | digestream md5\n```\n\n```\necho \"hello, world\" | digestream sha256\n```\n\n```\necho \"hello, world\" | digestream sha512\n```\n\n### Available algorithms\n\nYou can get all algorithms by `digestream -h`.\n\n```\nDige(st + St)ream\n\nUsage:\n  digestream [flags]\n  digestream [command]\n\nAvailable Commands:\n  help        Help about any command\n  md5         MD5\n  sha1        SHA-1\n  sha256      SHA-256\n  sha512      SHA-512\n\nFlags:\n  -h, --help   help for digestream\n\nUse \"digestream [command] --help\" for more information about a command.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fdigestream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fdigestream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fdigestream/lists"}