{"id":34035719,"url":"https://github.com/rexs-io/blocksec2go-ethereum","last_synced_at":"2026-04-02T01:04:24.950Z","repository":{"id":44194818,"uuid":"243768314","full_name":"rexs-io/blocksec2go-ethereum","owner":"rexs-io","description":"Wrapper for blocksec2go allowing easy hardware-based signing of Ethereum transactions","archived":false,"fork":false,"pushed_at":"2023-02-08T00:44:40.000Z","size":21,"stargazers_count":12,"open_issues_count":5,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-03T20:24:46.452Z","etag":null,"topics":["blockchain","blocksec2go","ethereum","hardware-wallet","security"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rexs-io.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}},"created_at":"2020-02-28T13:26:35.000Z","updated_at":"2022-03-10T21:45:51.000Z","dependencies_parsed_at":"2023-01-24T08:30:18.167Z","dependency_job_id":null,"html_url":"https://github.com/rexs-io/blocksec2go-ethereum","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rexs-io/blocksec2go-ethereum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexs-io%2Fblocksec2go-ethereum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexs-io%2Fblocksec2go-ethereum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexs-io%2Fblocksec2go-ethereum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexs-io%2Fblocksec2go-ethereum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rexs-io","download_url":"https://codeload.github.com/rexs-io/blocksec2go-ethereum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexs-io%2Fblocksec2go-ethereum/sbom","scorecard":{"id":773036,"data":{"date":"2025-08-11","repo":{"name":"github.com/rexs-io/blocksec2go-ethereum","commit":"b968122ddab5ba06c8afbc9d1073734776191ba1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Code-Review","score":2,"reason":"Found 1/4 approved changesets -- score normalized to 2","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":"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":"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":"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":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":"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":"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: ISC 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.2.0 not signed: https://api.github.com/repos/rexs-io/blocksec2go-ethereum/releases/38064586","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/rexs-io/blocksec2go-ethereum/releases/24098991","Warn: release artifact v0.2.0 does not have provenance: https://api.github.com/repos/rexs-io/blocksec2go-ethereum/releases/38064586","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/rexs-io/blocksec2go-ethereum/releases/24098991"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["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":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: GHSA-3ww4-gg4f-jr7f","Warn: Project is vulnerable to: GHSA-5cpq-8wj7-hf2v","Warn: Project is vulnerable to: GHSA-9v9h-cgj8-h64p","Warn: Project is vulnerable to: PYSEC-2023-254 / GHSA-jfhm-5ghh-2f97","Warn: Project is vulnerable to: GHSA-jm77-qphf-c4w8","Warn: Project is vulnerable to: GHSA-v8gr-m533-ghj9","Warn: Project is vulnerable to: GHSA-w7pp-m8wf-vj6r","Warn: Project is vulnerable to: GHSA-x4qr-2fvf-3mr5","Warn: Project is vulnerable to: GHSA-wj6h-64fc-37mp","Warn: Project is vulnerable to: GHSA-3qwc-47jf-5rf7","Warn: Project is vulnerable to: GHSA-rqr8-pxh7-cq3g","Warn: Project is vulnerable to: GHSA-v65g-f3cj-fjp4","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: PYSEC-2022-48 / GHSA-77rm-9x9h-xj3g","Warn: Project is vulnerable to: GHSA-8gq9-2x98-w8hf","Warn: Project is vulnerable to: GHSA-8qvm-5x2c-j2w7","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: GHSA-j225-cvw7-qrx7","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"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-23T02:43:48.607Z","repository_id":44194818,"created_at":"2025-08-23T02:43:48.607Z","updated_at":"2025-08-23T02:43:48.607Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"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":["blockchain","blocksec2go","ethereum","hardware-wallet","security"],"created_at":"2025-12-13T20:03:32.955Z","updated_at":"2026-04-02T01:04:24.925Z","avatar_url":"https://github.com/rexs-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blocksec2Go-Ethereum\n\nThis repository contains the source code of `blocksec2go-ethereum` Python package which wraps the `blocksec2go` package to allow easier interaction with Ethereum blockchain.\n\n__Read more about rationale behind this package [on our blog post](https://link.medium.com/HPJLdyKpd7)__\n\nIf you're unsure what Blockchain Security 2 Go is, [you can find more info here](https://github.com/Infineon/Blockchain).\n\n## Installation\n\n```bash\npip install blocksec2go-ethereum\n```\n\n## Usage\n\nAfter creating an instance of `Blocksec2Go` you can use it to generate signatures for transaction dicts. When passed raw tx, `sign_transaction()` will return a hex string of RLP-encoded signed transaction that can be directly consumed by `web3.eth.sendRawTransaction()`.\n\nThe replay attack protection introduced with [EIP-155](https://eips.ethereum.org/EIPS/eip-155) is used by default. Set `chain_id=None` to force the legacy behaviour for backward compatibility.\n### Transfer Ether\n\nBelow you will find an example of signing a simple Ether transfer:\n\n```python\nfrom blocksec2go_ethereum import Blocksec2GoSigner\nfrom web3 import Web3\n\nWEB3_ENDPOINT = 'YOUR_ENDPOINT_HERE'\n\nweb3 = Web3(Web3.HTTPProvider(WEB3_ENDPOINT))\nchain_id = web3.eth.chainId\n\nsigner = Blocksec2GoSigner(chain_id=chain_id, key_id=1)\naddress = signer.get_address()\n\nnonce = web3.eth.getTransactionCount(address)\nraw_tx = {\n    'to': '0xBaBC446aee039E99d624058b0875E519190C6758',\n    'nonce': nonce,\n    'value': Web3.toWei(0.00005, 'ether'),\n    'gas': 21000,\n    'gasPrice': Web3.toWei(5, 'gwei'),\n}\nsigned_tx = signer.sign_transaction(raw_tx)\n\ntx_hash = web3.eth.sendRawTransaction(signed_tx)\nprint(f'Sent transaction with hash: {tx_hash.hex()}')\n```\n\n### Call a contract function\n\nYou can also sign any contract calls/creation transactions by leveraging `buildTransaction()`.\n\nPlease note that for some contracts `buildTransaction()` may require explicitly setting `from` field to properly estimate gas.\n\n```python\nimport json\n\nfrom blocksec2go_ethereum import Blocksec2GoSigner\nfrom web3 import Web3\n\nWEB3_ENDPOINT = 'YOUR_ENDPOINT_HERE'\n\nweb3 = Web3(Web3.HTTPProvider(WEB3_ENDPOINT))\nchain_id = web3.eth.chainId\n\nsigner = Blocksec2GoSigner(chain_id=chain_id, key_id=1)\naddress = signer.get_address()\n\nwith open('artifact.json', 'r') as artifact_file:\n    artifact = json.loads(artifact_file.read())\n    contract = web3.eth.contract(address=artifact['address'], abi=artifact['abi'])\n\nnonce = web3.eth.getTransactionCount(address)\nraw_tx = contract.functions.setValue(42).buildTransaction({'nonce': nonce, 'from': address})\nsigned_tx = signer.sign_transaction(raw_tx)\n\ntx_hash = web3.eth.sendRawTransaction(signed_tx)\nprint(f'Sent transaction with hash: {tx_hash.hex()}')\n``` \n\n## License\nISC © 2020 rexs.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frexs-io%2Fblocksec2go-ethereum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frexs-io%2Fblocksec2go-ethereum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frexs-io%2Fblocksec2go-ethereum/lists"}