Question/Feature Request: Is Encryption/Description of text with SSH Key possible?
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 42/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- rust
- 领域
- cryptography
调研方向
首先检查 issue 中引用的现有 SSH 密钥签名和验证功能,然后将其支持的密钥格式与所示的 OpenSSL 转换和加密命令进行比较。确定公钥加密和私钥解密是否适合项目的 API,并定义往返加密和解密测试。支持的范围和行为均已记录并由测试覆盖,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I tried to find a possibility for encrypting and descripting text via an SSH key pair but only found functions to sign and verify text. Is ecryption/decryption implemented?
This would be the corresponding openssl function:
$ ssh-keygen -f path/to/id_rsa.pub -e -m PKCS8 > /tpm/ssh_key.pem
$ echo "some text" | openssl rsautl -encrypt -pubin -inkey /tmp/ssh_key.pem > encrypted.txt
$ openssl rsautl -decrypt -inkey ~/.ssh/id_rsa < encrypted.txt
- 主要语言
- Rust
- 星标
- 246
- 派生
- 65
- 平均合并
- 3 天 2 小时
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
RustCrypto/SSH 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 75/100
RustCrypto/SSH#596 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
RustCrypto/SSH#595 ·
-
难度 5/5 一周以上 新手友好度 35/100
RustCrypto/SSH#580 · 3 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
RustCrypto/SSH#475 · 10 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 35/100
RustCrypto/SSH#349 · 2 个 reaction ·
相似的 Issue
-
Custom hosts written as trailing-dot FQDNs (`host.local.`) aren't detected as local backends可能已有人在做 @roboomp 今天认领。 未关闭bug prio:p2 providers triaged
难度 2/5 1-3 小时 新手友好度 82/100
can1357/oh-my-pi#15798 · 3 条评论 ·
维护者通常 1 天内回复
-
requires-triage
难度 2/5 1-3 小时 新手友好度 68/100
apache/datafusion-comet#7001 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
Add a Storybook section to CONTRIBUTING.md可能已有人在做 @ChanakyaG2004 今天认领。 未关闭documentation good first issue
难度 2/5 1-3 小时 新手友好度 82/100
FlowwStar/FlowStar#995 · 2 条评论 ·
维护者通常 1 天内回复