{"id":37110392,"url":"https://github.com/levabd/blockchain-2fa-net","last_synced_at":"2026-01-14T13:06:44.241Z","repository":{"id":30952149,"uuid":"126477311","full_name":"levabd/blockchain-2fa-net","owner":"levabd","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-07T22:28:26.000Z","size":4741,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-10T21:34:37.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/levabd.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-23T11:41:52.000Z","updated_at":"2022-04-27T13:05:44.000Z","dependencies_parsed_at":"2024-06-19T17:16:13.822Z","dependency_job_id":"617b6beb-70bb-42c8-9691-c4e68ebe8ad0","html_url":"https://github.com/levabd/blockchain-2fa-net","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/levabd/blockchain-2fa-net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levabd%2Fblockchain-2fa-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levabd%2Fblockchain-2fa-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levabd%2Fblockchain-2fa-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levabd%2Fblockchain-2fa-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/levabd","download_url":"https://codeload.github.com/levabd/blockchain-2fa-net/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/levabd%2Fblockchain-2fa-net/sbom","scorecard":{"id":586072,"data":{"date":"2025-08-11","repo":{"name":"github.com/levabd/blockchain-2fa-net","commit":"0fe63ac274253bd880447f7275bc0ab425575105"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.4,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/26 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":"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":"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":"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":"Binary-Artifacts","score":8,"reason":"binaries present in source code","details":["Warn: binary detected: go/bin/tfa-service-client-tp-go:1","Warn: binary detected: go/bin/tfa-service-tp-go: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":"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":-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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: docker/Dockerfile:1: pin your Docker image by updating ubuntu:14.04 to ubuntu:14.04@sha256:64483f3496c1373bfd55348e88694d1c4d0c9b660dee6bfef5e12f43b9933b30","Warn: goCommand not pinned by hash: scripts/build_go_bin:14","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 goCommand 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 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":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-h755-8qp9-cq85","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-584q-6j8j-r5pm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-20T20:32:46.458Z","repository_id":30952149,"created_at":"2025-08-20T20:32:46.458Z","updated_at":"2025-08-20T20:32:46.458Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-14T13:06:43.524Z","updated_at":"2026-01-14T13:06:44.226Z","avatar_url":"https://github.com/levabd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Building Transaction Families \n\n## Инструкция для разработчика \n### Сборка Transaction Families\nBin файлы собраны и находятся в каталоге \n```\ngo/bin\n```\nВлучае изменения кода transaction family выполните слудующие шаги:\n\n#### 1 Шаг - Сборка docker image - сборщик Go программ\n```\n# Build:\ncd docker \\\n\u0026\u0026 docker build . -f sawtooth-dev-go -t sawtooth-dev-go \\ \n\u0026\u0026 cd ..\n\n``` \n#### 2 Шаг - Клонировать репозиторий sawtooth-core\nДля сборки проекта нам необходимо иметь sawtooth-core который содержит все sdk для работы с блокчейном\nВыполняется из корня проекта\n```\ngit clone --branch v1.0.2 https://github.com/hyperledger/sawtooth-core.git sawtooth-core\n```\n#### 3 Шаг - Сборка проекта Go программы\nВыполняется из корня проекта\n```\ncp $(pwd)/scripts/build_go_bin $(pwd)/sawtooth-core/bin\ndocker run -v $(pwd)/sawtooth-core:/project/sawtooth-core \\\n           -v $(pwd)/go:/project/tfa/go \\\n           sawtooth-dev-go\n```\n#### 3 Шаг - Сборка docker image - Transaction Families которые будут запукаться\nВыполняется из корня проекта\n```\n./scripts/build_go_images\n# залить в dockerhub\ndocker push 5478545378/sawtooth-tfa-s-tp-go\ndocker push 5478545378/sawtooth-tfa-sc-tp-go\n``` \n\n# Полезные команды\n## Golang переменные окружения \n```\nexport GOROOT=/usr/local/go\nexport GOPATH=$HOME/go:\u003cпуть к проекту\u003eblockchain-2fa-net/go\n```\n## Удалить сеть \n```\ndocker rm -f $(docker ps -aq) \u0026\u0026 yes | docker network prune\n```\n## Остановить все контейнеры\n```\ndocker stop $(docker ps -a -q)\n```\n## Удалить все none контейнеры\n```\ndocker rmi $(docker images -f \"dangling=true\" -q)\n```\n## Удалить образы по имени\n```\ndocker rmi $(docker images | awk '$1 ~ /fabric/ { print $3}')\n```\n## Запуск сети\n```\n# заполните переменные и выполните\nsource ./scripts/export_vars.sh \u0026\u0026 \\\nrm -rf networks/config/conf.d/* \u0026\u0026 \\\ndocker-compose -f networks/network-dev.yaml up -d\n-------------- START DEV NET -------------------\nsource ./tmp/export_vars.sh \u0026\u0026 \\\nrm -rf networks/config/conf.d/* \u0026\u0026 \\\ndocker-compose -f networks/network-dev.yaml up -d\n```\n## Запуск в фоне обработчиков транзакций - только для DEBUG-га\n```\nnohup go run go/src/tfa/service/main.go --connect=tcp://172.18.0.2:4004 --family=tfa --version=0.1 --verbose  \u003e /dev/null 2\u003e\u00261 \u0026\nnohup go run go/src/tfa/service_client/main.go --connect=tcp://172.18.0.2:4004 --family=kaztel --version=0.1 --verbose  \u003e /dev/null 2\u003e\u00261 \u0026\n```\n## Сборка proto файлов для go программы\n```\nprotoc --go_out=handler service_client.proto \nprotoc --go_out=handler service.proto \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevabd%2Fblockchain-2fa-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevabd%2Fblockchain-2fa-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevabd%2Fblockchain-2fa-net/lists"}