{"id":24839106,"url":"https://github.com/winand/rsa-encrypt-test","last_synced_at":"2025-03-26T04:32:18.890Z","repository":{"id":215010907,"uuid":"737523007","full_name":"Winand/rsa-encrypt-test","owner":"Winand","description":"Experiments with RSA encryption","archived":false,"fork":false,"pushed_at":"2024-01-02T11:56:13.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T06:37:36.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Winand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-12-31T11:20:17.000Z","updated_at":"2023-12-31T11:21:19.000Z","dependencies_parsed_at":"2024-01-02T00:45:43.695Z","dependency_job_id":"2b46559f-dd59-4d7b-b145-aa1201a96780","html_url":"https://github.com/Winand/rsa-encrypt-test","commit_stats":null,"previous_names":["winand/rsa-encrypt-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winand%2Frsa-encrypt-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winand%2Frsa-encrypt-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winand%2Frsa-encrypt-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winand%2Frsa-encrypt-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Winand","download_url":"https://codeload.github.com/Winand/rsa-encrypt-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245589265,"owners_count":20640254,"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":"2025-01-31T06:36:45.144Z","updated_at":"2025-03-26T04:32:18.859Z","avatar_url":"https://github.com/Winand.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Key generation\n```bash\nrm -rf ./keys \u0026\u0026 mkdir -p ./keys/client ./keys/server\nssh-keygen -t rsa -q -N \"\" -f ./keys/client/ssh_key\nssh-keygen -t rsa -q -N \"\" -f ./keys/server/ssh_key\n```\n\n# Links\n- [Use Go to encrypt message with ssh-rsa public key \u003c...\u003e](https://stackoverflow.com/questions/71960918/use-go-to-encrypt-message-with-ssh-rsa-public-key-which-then-can-be-decrypted-us)\n- [Encrypting Data With SSH Keys and Golang](https://earthly.dev/blog/encrypting-data-with-ssh-keys-and-golang/)\n- [Encrypt/Decrypt a file using RSA public-private key pair](https://kulkarniamit.github.io/whatwhyhow/howto/encrypt-decrypt-file-using-rsa-public-private-keys.html)\n    - [Using -iter or -pbkdf2 would be better](https://unix.stackexchange.com/q/507131)\n    - [How to use ssh-rsa public key to encrypt a text?](https://superuser.com/a/576558)\n- [Create an OpenSSL signature](https://xn--verschlsselt-jlb.it/openssl-first-steps/#:~:text=Create%20an%20OpenSSL%20signature)\n\n# Notes\n- EdDSA [Ed25519](https://ru.wikipedia.org/wiki/EdDSA#Ed25519) is used for signing, not encrypting\n- [AES CBC can be decrypted with a different IV](https://security.stackexchange.com/q/270396) because IV affects only first block\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinand%2Frsa-encrypt-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinand%2Frsa-encrypt-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinand%2Frsa-encrypt-test/lists"}