{"id":18519100,"url":"https://github.com/blockchaincommons/seedtool-cli","last_synced_at":"2025-04-09T08:31:59.974Z","repository":{"id":37805611,"uuid":"252842493","full_name":"BlockchainCommons/seedtool-cli","owner":"BlockchainCommons","description":"Cryptographic Seed Tool for the command line","archived":false,"fork":false,"pushed_at":"2024-07-11T03:21:47.000Z","size":3956,"stargazers_count":33,"open_issues_count":6,"forks_count":17,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-24T04:02:56.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlockchainCommons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["BlockchainCommons","ChristopherA"],"custom":"https://btcpay.blockchaincommons.com"}},"created_at":"2020-04-03T21:10:22.000Z","updated_at":"2025-03-12T07:02:37.000Z","dependencies_parsed_at":"2023-12-02T12:31:37.307Z","dependency_job_id":"c1cff777-5e27-497b-8bcc-513ae7fd6b8c","html_url":"https://github.com/BlockchainCommons/seedtool-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"BlockchainCommons/secure-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockchainCommons%2Fseedtool-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockchainCommons%2Fseedtool-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockchainCommons%2Fseedtool-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockchainCommons%2Fseedtool-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlockchainCommons","download_url":"https://codeload.github.com/BlockchainCommons/seedtool-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248003230,"owners_count":21031753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-06T17:15:20.806Z","updated_at":"2025-04-09T08:31:59.095Z","avatar_url":"https://github.com/BlockchainCommons.png","language":"C++","funding_links":["https://github.com/sponsors/BlockchainCommons","https://github.com/sponsors/ChristopherA","https://btcpay.blockchaincommons.com"],"categories":[],"sub_categories":[],"readme":"# 🌱 Blockchain Commons seedtool-cli\n\n![macos](https://github.com/BlockchainCommons/seedtool-cli/workflows/macOS/badge.svg)\n![linux](https://github.com/BlockchainCommons/seedtool-cli/workflows/linux/badge.svg)\n![linter](https://github.com/BlockchainCommons/seedtool-cli/workflows/linter/badge.svg)\n\n### _by [Wolf McNally](https://www.github.com/wolfmcnally) and [Christopher Allen](https://www.github.com/ChristopherA)_\n\n* \u003cimg src=\"https://github.com/BlockchainCommons/crypto-commons/blob/master/images/logos/crypto-commons-super-simple.png\" width=16 valign=\"bottom\"\u003e\u0026nbsp;\u0026nbsp; ***part of the [crypto commons](https://github.com/BlockchainCommons/crypto-commons/blob/master/README.md) technology family***\n* \u003cimg src=\"https://github.com/BlockchainCommons/Gordian/blob/master/Images/logos/gordian-icon.png\" width=16 valign=\"bottom\"\u003e ***part of the [gordian](https://github.com/BlockchainCommons/gordian/blob/master/README.md) technology family***\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"640\" height=\"320\" src=\"images/logos/seedtool-screen.png\"\u003e\n\u003c/p\u003e\n\n## Deprecation of C++ SeedTool\n\nThis repo contains the original SeedTool written in C++, and is now deprecated. The [new SeedTool is written in Rust](https://github.com/BlockchainCommons/seedtool-cli-rust) and is a complete rewrite. The new SeedTool's inputs and outputs are compatible with the old SeedTool, and most of the same command line options are supported. The new SeedTool is more flexible and extensible, and is designed to support additional functionality.\n\n## Introduction\n\n`seedtool` is a command-line tool for creating and transforming cryptographic seeds of the sort commonly used by blockchain applications.\n\nIt exercises the various cryptographic C libraries created by Blockchain Commons, as described in the Dependencies section.\n\n## Status - Feature-Complete Beta\n\nSeedtool is now considered feature-complete and is entering beta-level testing.\n\n## Dependencies\n\nSeedtool exercises the following Blockchain Commons libraries:\n\n* [`bc-crypto-base`](https://github.com/blockchaincommons/bc-crypto-base)\n* [`bc-shamir`](https://github.com/blockchaincommons/bc-shamir)\n* [`bc-sskr`](https://github.com/blockchaincommons/bc-sskr)\n* [`bc-bip39`](https://github.com/blockchaincommons/bc-bip39)\n* [`bc-ur`](https://github.com/blockchaincommons/bc-ur)\n\nIt also requires the following additional programs:\n\n* [`GNU argp`](https://www.gnu.org/software/libc/manual/html_node/Argp.html)\n* [`CBOR Lite`](https://bitbucket.org/isode/cbor-lite)\n\n### Tool Dependencies\n\nTo build `seedtool` you'll need to use the following tools:\n\n- autotools - Gnu Build System from Free Software Foundation ([intro](https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html)).\n\n## Recommended Installation instructions\n\nThe dependencies will be automatically installed as submodules when you run the build script. This is the recommended way to install.\n\n### Build with Docker\n\n[Install docker](https://docs.docker.com/get-docker/) and run:\n\n```bash\n# Build the image\n$ docker build -t seedtool-cli .\n# Run the container\n$ docker run --rm -it seedtool-cli --help\n```\n\n### Build on MacOS\n\n```bash\n$ brew install autoconf automake libtool\n```\n\nYou must then download or clone this repo. Afterward, cd into the repo directory and:\n\n```bash\n$ ./build.sh\n$ sudo make install\n```\n\n### Build on Linux\n\nMake sure you have `llvm`/`clang`, `libc++` and `libc++abi` installed, all with\na minimum recommended version 10.\n\n#### Build on Ubuntu and Debian\n\n```bash\n$ sudo apt install build-essential\n\n$ wget https://apt.llvm.org/llvm.sh\n$ chmod +x llvm.sh\n$ sudo apt install lsb-release wget software-properties-common\n$ sudo ./llvm.sh 10  # version 10\n\n$ sudo apt-get install libc++-10-dev libc++abi-10-dev\n```\n\n```bash\n$ sudo apt-get install git\n$ git clone https://github.com/BlockchainCommons/seedtool-cli.git\n$ cd seedtool-cli/\n$ export CC=\"clang-10\" \u0026\u0026 export CXX=\"clang++-10\" \u0026\u0026 ./build.sh\n$ sudo make install\n```\n\n### Build on Windows\n\nSee [instructions here](Docs/Install-Windows.md).\n\n## Alternative Installation Instructions\n\nThe following sequence does *not* install the dependencies from submodules; instead they must be installed in the usual places on the build system, otherwise the `./configure` step below will fail.\n\n```bash\n$ ./configure\n$ make\n$ sudo make install\n```\n*Note:* On Linux the first step is `./configure CC=clang-10 CXX=clang++-10`\n\n## Incremental Build Instructions\n\nIf you wish to make changes to the source code and rebuild:\n\n```bash\n# Make source changes\n$ source set_build_paths.sh # sets shell variables used by make\n$ make clean # If you want a clean build\n$ make\n```\n\n## Usage Instructions\n\nSee [usage examples](Docs/Usage.md) for examples of using seedtool.\n\n## Full Documentation\n\nSee [`MANUAL.md`](Docs/MANUAL.md) for details, many more examples, and version history.\n\n## Notes for Maintainers\n\nBefore accepting a PR that can affect build or unit tests, make sure the following sequence of commands succeeds:\n\n```bash\n$ ./build.sh\n$ make lint\n$ make check\n$ make distclean\n```\n\n`make lint` uses [Cppcheck](https://en.wikipedia.org/wiki/Cppcheck) to perform static analysis on the code. All PRs should pass with no warnings.\n\n## Related Projects\n\n* [LetheKit](https://github.com/BlockchainCommons/bc-lethekit) is a parallel project that uses many of the same libraries, but in hardware.\n* [URKit](https://github.com/BlockchainCommons/URKit) is another example of our [bc-ur](https://github.com/BlockchainCommons/bc-ur) universal-reference library.\n\n## Origin, Authors, Copyright \u0026 Licenses\n\nUnless otherwise noted (either in this [/README.md](./README.md) or in the file's header comments) the contents of this repository are Copyright © 2020 by Blockchain Commons, LLC, and are [licensed](./LICENSE) under the [spdx:BSD-2-Clause Plus Patent License](https://spdx.org/licenses/BSD-2-Clause-Patent.html).\n\nIn most cases, the authors, copyright, and license for each file reside in header comments in the source code. When it does not we have attempted to attribute it accurately in the table below.\n\nThis table below also establishes provenance (repository of origin, permalink, and commit id) for files included from repositories that are outside of this repository. Contributors to these files are listed in the commit history for each repository, first with changes found in the commit history of this repo, then in changes in the commit history of their repo of their origin.\n\n| File      | From                                                         | Commit                                                       | Authors \u0026 Copyright (c)                                | License                                                     |\n| --------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------ | ----------------------------------------------------------- |\n| hkdf.c | [rustyrussell/ccan](https://github.com/rustyrussell/ccan/blob/master/ccan/crypto/hkdf_sha256/hkdf_sha256.c) | [d07f742](https://github.com/rustyrussell/ccan/commit/d07f742c5925b97ed558eb07aae285616f5df823) | 2016 [Rusty Russell](https://github.com/rustyrussell)\u003cbr/\u003e2020 Wolf McNally | [MIT](https://github.com/rustyrussell/ccan/blob/master/ccan/crypto/hkdf_sha256/LICENSE)\n| hkdf.h | [rustyrussell/ccan](https://github.com/rustyrussell/ccan/blob/master/ccan/crypto/hkdf_sha256/hkdf_sha256.h) | [d07f742](https://github.com/rustyrussell/ccan/commit/d07f742c5925b97ed558eb07aae285616f5df823) | 2016 [Rusty Russell](https://github.com/rustyrussell) | [MIT](https://github.com/rustyrussell/ccan/blob/master/ccan/crypto/hkdf_sha256/LICENSE)\n| randombytes.c | [dsprenkels/randombytes](https://github.com/dsprenkels/randombytes/blob/master/randombytes.c) | [6db39aa](https://github.com/dsprenkels/randombytes/commit/6db39aaae6bb9ab97beca00d81bcfe935c56c88d) | 2017-2019 [Daan Sprenkels](https://github.com/dsprenkels/) | [MIT](https://github.com/dsprenkels/randombytes/commit/73ae9b4fce2e62babdd6a480b53ad449dd745ed9) |\n| randombytes.h | [dsprenkels/randombytes](https://github.com/dsprenkels/randombytes/blob/master/randombytes.h) | [19fd002](https://github.com/dsprenkels/randombytes/commit/19fd002d9b7b001b333a671186a91231b60d821b) | 2017-2019 [Daan Sprenkels](https://github.com/dsprenkels/) | [MIT](https://github.com/dsprenkels/randombytes/commit/73ae9b4fce2e62babdd6a480b53ad449dd745ed9) |\n\n### Tool Dependencies\n\nTo build `seedtool` you'll need to use the following tools:\n\n- autotools - Gnu Build System from Free Software Foundation ([intro](https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html)).\n\n## Financial Support\n\nSeedtool is a project of [Blockchain Commons](https://www.blockchaincommons.com/). We are proudly a \"not-for-profit\" social benefit corporation committed to open source \u0026 open development. Our work is funded entirely by donations and collaborative partnerships with people like you. Every contribution will be spent on building open tools, technologies, and techniques that sustain and advance blockchain and internet security infrastructure and promote an open web.\n\nTo financially support further development of Seedtool and other projects, please consider becoming a Patron of Blockchain Commons through ongoing monthly patronage as a [GitHub Sponsor](https://github.com/sponsors/BlockchainCommons). You can also support Blockchain Commons with bitcoins at our [BTCPay Server](https://btcpay.blockchaincommons.com/).\n\n## Contributing\n\nWe encourage public contributions through issues and pull-requests! Please review [CONTRIBUTING.md](./CONTRIBUTING.md) for details on our development process. All contributions to this repository require a GPG signed [Contributor License Agreement](./CLA.md).\n\n### Discussions\n\nThe best place to talk about Blockchain Commons and its projects is in our GitHub Discussions areas.\n\n[**Gordian User Community**](https://github.com/BlockchainCommons/Gordian/discussions). For users of the Gordian reference apps, including [Gordian Coordinator](https://github.com/BlockchainCommons/iOS-GordianCoordinator), [Gordian Seed Tool](https://github.com/BlockchainCommons/GordianSeedTool-iOS), [Gordian Server](https://github.com/BlockchainCommons/GordianServer-macOS), [Gordian Wallet](https://github.com/BlockchainCommons/GordianWallet-iOS), and [SpotBit](https://github.com/BlockchainCommons/spotbit) as well as our whole series of [CLI apps](https://github.com/BlockchainCommons/Gordian/blob/master/Docs/Overview-Apps.md#cli-apps). This is a place to talk about bug reports and feature requests as well as to explore how our reference apps embody the [Gordian Principles](https://github.com/BlockchainCommons/Gordian#gordian-principles).\n\n[**Blockchain Commons Discussions**](https://github.com/BlockchainCommons/Community/discussions). For developers, interns, and patrons of Blockchain Commons, please use the discussions area of the [Community repo](https://github.com/BlockchainCommons/Community) to talk about general Blockchain Commons issues, the intern program, or topics other than those covered by the [Gordian Developer Community](https://github.com/BlockchainCommons/Gordian-Developer-Community/discussions) or the\n[Gordian User Community](https://github.com/BlockchainCommons/Gordian/discussions).\n\n### Other Questions \u0026 Problems\n\nAs an open-source, open-development community, Blockchain Commons does not have the resources to provide direct support of our projects. Please consider the discussions area as a locale where you might get answers to questions. Alternatively, please use this repository's [issues](./issues) feature. Unfortunately, we can not make any promises on response time.\n\nIf your company requires support to use our projects, please feel free to contact us directly about options. We may be able to offer you a contract for support from one of our contributors, or we might be able to point you to another entity who can offer the contractual support that you need.\n\n### Credits\n\nThe following people directly contributed to this repository. You can add your name here by getting involved — the first step is to learn how to contribute from our [CONTRIBUTING.md](./CONTRIBUTING.md) documentation.\n\n| Name              | Role                | Github                                            | Email                                 | GPG Fingerprint                                    |\n| ----------------- | ------------------- | ------------------------------------------------- | ------------------------------------- | -------------------------------------------------- |\n| Christopher Allen | Principal Architect | [@ChristopherA](https://github.com/ChristopherA) | \\\u003cChristopherA@LifeWithAlacrity.com\\\u003e | FDFE 14A5 4ECB 30FC 5D22  74EF F8D3 6C91 3574 05ED |\n| Wolf McNally      | Project Lead        | [@WolfMcNally](https://github.com/wolfmcnally)    | \\\u003cWolf@WolfMcNally.com\\\u003e              | 9436 52EE 3844 1760 C3DC  3536 4B6C 2FCF 8947 80AE |\n\n## Responsible Disclosure\n\nWe want to keep all our software safe for everyone. If you have discovered a security vulnerability, we appreciate your help in disclosing it to us in a responsible manner. We are unfortunately not able to offer bug bounties at this time.\n\nWe do ask that you offer us good faith and use best efforts not to leak information or harm any user, their data, or our developer community. Please give us a reasonable amount of time to fix the issue before you publish it. Do not defraud our users or us in the process of discovery. We promise not to bring legal action against researchers who point out a problem provided they do their best to follow the these guidelines.\n\n## Reporting a Vulnerability\n\nPlease report suspected security vulnerabilities in private via email to ChristopherA@BlockchainCommons.com (do not use this email for support). Please do NOT create publicly viewable issues for suspected security vulnerabilities.\n\nThe following keys may be used to communicate sensitive information to developers:\n\n| Name              | Fingerprint                                        |\n| ----------------- | -------------------------------------------------- |\n| Christopher Allen | FDFE 14A5 4ECB 30FC 5D22  74EF F8D3 6C91 3574 05ED |\n\nYou can import a key by running the following command with that individual’s fingerprint: `gpg --recv-keys \"\u003cfingerprint\u003e\"` Ensure that you put quotes around fingerprints that contain spaces.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockchaincommons%2Fseedtool-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockchaincommons%2Fseedtool-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockchaincommons%2Fseedtool-cli/lists"}