{"id":18553984,"url":"https://github.com/bodrovis-learning/brave_signer","last_synced_at":"2025-10-06T16:10:33.475Z","repository":{"id":238904937,"uuid":"797927328","full_name":"bodrovis-learning/brave_signer","owner":"bodrovis-learning","description":"Bravely generate key pairs, sign files, and check signatures.","archived":false,"fork":false,"pushed_at":"2025-04-29T17:39:55.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-29T18:31:28.483Z","etag":null,"topics":["aragon2","go","golang","rsa","signature-verification"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bodrovis-learning.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2024-05-08T18:47:09.000Z","updated_at":"2025-04-29T17:39:58.000Z","dependencies_parsed_at":"2024-05-08T19:56:33.204Z","dependency_job_id":"79823338-1d20-48d9-aaae-1ae8beafccad","html_url":"https://github.com/bodrovis-learning/brave_signer","commit_stats":null,"previous_names":["bodrovis-learning/brave_signer"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodrovis-learning%2Fbrave_signer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodrovis-learning%2Fbrave_signer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodrovis-learning%2Fbrave_signer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodrovis-learning%2Fbrave_signer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bodrovis-learning","download_url":"https://codeload.github.com/bodrovis-learning/brave_signer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254331233,"owners_count":22053136,"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":["aragon2","go","golang","rsa","signature-verification"],"created_at":"2024-11-06T21:19:08.825Z","updated_at":"2025-10-06T16:10:33.462Z","avatar_url":"https://github.com/bodrovis-learning.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BraveSigner\n\n\u003e Bravely generate key pairs, sign files, and check signatures.\n\nBraveSigner is a Go-powered CLI tool that lets you generate cryptographic key pairs, sign files, and verify digital signatures using [Ed25519](https://ed25519.cr.yp.to/). It prioritizes strong encryption practices, ease of use, and flexibility.\n\n**[Full command reference in `/docs/brave_signer.md`](./docs/brave_signer.md)**\n\n---\n\n## Usage\n\n```\nbrave_signer COMMAND FLAGS\n```\n\nAvailable commands:\n\n- `keys generate [--pub-key-path pub_key.pem] [--priv-key-path priv_key.pem]`  \n  Generate an Ed25519 key pair.  \n  The private key is encrypted with XChaCha20Poly1305 using a passphrase you enter, derived securely via Argon2.\n\n- `signatures signfile --file-path PATH_TO_FILE --signer-id SIGNER_NAME_OR_ID [--priv-key-path priv_key.pem]`  \n  Sign a file using your private key.  \n  A `.sig` file will be created next to the original file, containing the signature and signer ID (up to 65,535 characters).\n\n- `signatures verifyfile --file-path PATH_TO_FILE [--pub-key-path pub_key.pem]`  \n  Verify a file against its `.sig` using an Ed25519 public key.  \n  The `.sig` file should be named `\u003cfilename\u003e.sig` and stored alongside the original.\n\n---\n\n## Configuration\n\nAll command line arguments can also be specified inside a config file. By default the script searches for a `config.yaml` file inside the current directory but it can be adjusted with the following CLI arguments:\n\n* `--config-file-name` (defaults to `config`)\n* `--config-file-type` (defaults to `yaml`)\n* `--config-path` (defaults to `.`)\n\nFor example, to adjust the signer:\n\n```yaml\nsigner-id: John Doe\n```\n\nIn this case, you don't need to provide `--signer-id` when calling `signatures signfile`.\n\nNote that CLI flags have priority over the parameters provided in the config file.\n\n### Environment variables\n\nAll parameters can also be provided via environment variables. This is useful in CI/CD setups, containerized environments, or when you want to avoid hardcoding values in config files.\n\nEnvironment variables follow this format:\n\n```\nBRAVE_SIGNER_\u003cPARAMETER_NAME\u003e\n```\n\nHyphens (-) in parameter names are replaced with underscores (_). For example `--file-path` can be set with `BRAVE_SIGNER_FILE_PATH`.\n\n### Precedence order\n\nWhen resolving configuration values, the priority is as follows:\n\n1. Command-line arguments\n2. Environment variables\n3. Config file (config.yaml, etc.)\n4. Default values\n\n## License\n\n(c) [Ilya Krukowski](https://bodrovis.tech)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodrovis-learning%2Fbrave_signer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodrovis-learning%2Fbrave_signer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodrovis-learning%2Fbrave_signer/lists"}