{"id":13587176,"url":"https://github.com/jedisct1/rsign2","last_synced_at":"2025-04-06T05:17:20.822Z","repository":{"id":45181033,"uuid":"183896314","full_name":"jedisct1/rsign2","owner":"jedisct1","description":"A command-line tool to sign files and verify signatures in pure Rust.","archived":false,"fork":false,"pushed_at":"2023-09-17T11:54:40.000Z","size":46,"stargazers_count":122,"open_issues_count":1,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-09T15:51:54.539Z","etag":null,"topics":["cryptography","ed25519","minisign","rust","signatures"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/jedisct1.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}},"created_at":"2019-04-28T10:57:08.000Z","updated_at":"2024-04-13T02:34:36.000Z","dependencies_parsed_at":"2024-02-13T21:55:00.291Z","dependency_job_id":null,"html_url":"https://github.com/jedisct1/rsign2","commit_stats":{"total_commits":47,"total_committers":3,"mean_commits":"15.666666666666666","dds":0.06382978723404253,"last_synced_commit":"bd5c3f2c1077034f96333da2c6cfe84a588a0029"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frsign2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frsign2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frsign2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Frsign2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jedisct1","download_url":"https://codeload.github.com/jedisct1/rsign2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436290,"owners_count":20938533,"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":["cryptography","ed25519","minisign","rust","signatures"],"created_at":"2024-08-01T15:06:04.101Z","updated_at":"2025-04-06T05:17:20.800Z","avatar_url":"https://github.com/jedisct1.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# rsign2\n\nA Rust implementation of [Minisign](https://jedisct1.github.io/minisign/).\n\nAll signatures produced by `rsign` can be verified with `minisign` including trusted comments.\n\nAnd `minisign` is able to sign files with keys generated by `rsign2`.\n\nIn Rust, signatures can also be verified with the [minisign-verify](https://docs.rs/minisign-verify) crate.\n\n`rsign2` is a maintained fork of [`rsign`](https://docs.rs/crate/rsign/), originally written by Daniel Rangel.\n\nMain differences with rsign:\n\n- `rsign2` is written in pure Rust.\n- `rsign2` has way less dependencies.\n- `rsign2` includes bug fixes and improvements.\n- `rsign2` tries to be usable as a library, not just as a command-line tool.\n- `rsign2` supports WebAssembly.\n\n## API documentation\n\n`rsign2` is only a command-line interface. It relies on the Minisign crate, that can be embedded in any application:\n\n[API documentation on docs.rs](https://docs.rs/minisign)\n\n## Usage\n\n```sh\nrsign generate\n```\n\nGenerates a new key pair. The public key is printed in the screen and stored in `rsign.pub` by default. The secret key will be written at `~/.rsign/rsign.key`. You can change the default paths with `-p` and `-s` respectively.\n\n```sh\nrsign sign myfile.txt\n```\n\nSign `myfile.txt` with your secret key. You can add a signed trusted comment with:\n\n```sh\nrsign sign myfile.txt -t \"my trusted comment\"\n```\n\nIf you are signing files larger than 1Gb you must use `-H` to first hash the file and sign the hash after that:\n\n```sh\nrsign sign mylargefile.bin -H\n```\n\nAnd to verify the signature with a given public key you can use:\n\n```sh\nrsign verify myfile.txt -p rsign.pub\n```\n\nOr if you have saved the signature file with a custom name other than `myfile.txt.minisig` and want to use a public key string you can use:\n\n```sh\nrsign verify myfile.txt -P [PUBLIC KEY STRING] -x mysignature.file\n```\n\nYou can find more information using the help subcommand as in:\n\n```text\nrsign help [SUBCOMMAND]\n\nUSAGE:\n    rsign [SUBCOMMAND]\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nSUBCOMMANDS:\n    generate    Generate public and private keys\n    help        Prints this message or the help of the given subcommand(s)\n    sign        Sign a file with a given private key\n    verify      Verify a signed file with a given public key\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Frsign2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjedisct1%2Frsign2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Frsign2/lists"}