{"id":17871224,"url":"https://github.com/stulzq/dotnetrsa","last_synced_at":"2025-06-17T11:38:42.710Z","repository":{"id":95704588,"uuid":"135551046","full_name":"stulzq/DotnetRSA","owner":"stulzq","description":"DotnetRSA is a .NET Core Global Tool.Dotnet RSA Tool can help you generate xml pkcs1, pkcs8 three kinds of format keys, and supports three types of mutual conversion.","archived":false,"fork":false,"pushed_at":"2019-12-04T02:40:30.000Z","size":54,"stargazers_count":30,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-10T01:23:29.420Z","etag":null,"topics":["dotnetcore-global-tool","rsa"],"latest_commit_sha":null,"homepage":"","language":"C#","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/stulzq.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-05-31T07:51:51.000Z","updated_at":"2024-10-14T14:53:55.000Z","dependencies_parsed_at":"2023-03-10T15:16:06.971Z","dependency_job_id":null,"html_url":"https://github.com/stulzq/DotnetRSA","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stulzq/DotnetRSA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stulzq%2FDotnetRSA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stulzq%2FDotnetRSA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stulzq%2FDotnetRSA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stulzq%2FDotnetRSA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stulzq","download_url":"https://codeload.github.com/stulzq/DotnetRSA/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stulzq%2FDotnetRSA/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260350391,"owners_count":22995745,"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":["dotnetcore-global-tool","rsa"],"created_at":"2024-10-28T10:27:40.816Z","updated_at":"2025-06-17T11:38:37.691Z","avatar_url":"https://github.com/stulzq.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DotnetRSA | [中文](README_zh-cn.md)\n\n[![NuGet][main-nuget-badge]][main-nuget]\n\n[main-nuget]: https://www.nuget.org/packages/dotnetrsa/\n[main-nuget-badge]: https://img.shields.io/nuget/v/dotnetrsa.svg?style=flat-square\u0026amp;amp;label=nuget\n\nDotnetRSA is a .NET Core Global Tool.Dotnet RSA Tool can help you generate xml pkcs1, pkcs8 three kinds of format keys, and supports three types of mutual conversion.\n\n\u003eMore https://github.com/natemcmaster/dotnet-tools\n\n## Install\n\nInstall dotnetrsa as a .NET Core Global tool using the following command:\n\n```\ndotnet tool install -g dotnetrsa\n```\n\nYou have it now available on your command line: \n\n```\ndotnetrsa --help\n```\n\n*Note: to use CLI tool command you must have .NET Core 2.1 or higher.* \n\n## Usage\n\n```\nUsage: dotnetrsa [options] [command]\n\nOptions:\n  -?|-h|--help  Show help information\n\nCommands:\n  convert       Convert you keys to xml pkcs1, pkcs8 format.\n  gen           Generate xml, pkcs1, pkcs8 keys.\n\nRun 'dotnetrsa [command] --help' for more information about a command.\n```\n### • `convert` command\n\nThis command can convert you keys to xml pkcs1, pkcs8 format.such as xml-\u003epkcs1, xml-\u003epkcs8.\n\n````\nConvert you keys to xml pkcs1, pkcs8 format.\n\nUsage: dotnetrsa convert [arguments] [options]\n\nArguments:\n  KeyFilePath         Required.Secret key file path.\n\nOptions:\n  -h|--help           Show help information\n  -f|--from \u003cformat\u003e  Required.Source format.The value must be xml, pkcs1,pkcs8.\n  -t|--to \u003cformat\u003e    Required.Target format.The value must be xml, pkcs1,pkcs8.\n  -k                  Required.Key type.The value must be pri, pub.'pub' represents the public key.\n  -o|--output \u003cpath\u003e  File output path.If you do not specify it will be output in the current directory.\n````\n\n### • `gen` command\n\nThis command can generate xml, pkcs1, pkcs8 keys.\n\n````\nGenerate xml, pkcs1, pkcs8 keys.\n\nUsage: dotnetrsa gen [options]\n\nOptions:\n  -h|--help           Show help information\n  -f|--format         Required.Gen keys's format.The value must be xml, pkcs1 ,pkcs8.\n  -s|--size \u003cint\u003e     Key Size.\n  --pem               Pem Format. true of false.\n  -o|--output \u003cpath\u003e  File output path.If you do not specify it will be output in the current directory.\n````\n\nThe DotnetRSA build and conversion key uses the open source project RSAUtil: https://github.com/stulzq/RSAUtil\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstulzq%2Fdotnetrsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstulzq%2Fdotnetrsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstulzq%2Fdotnetrsa/lists"}