TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: konec: Public key crypto with OpenSSH RSA keys (Overnight project)

2 点作者 cmars超过 12 年前

1 comment

cmars超过 12 年前
konec allows you to perform general public key cryptography operations (encrypt/decrypt/sign/verify) with your OpenSSH RSA keys.<p>This is also possible to do with openssl rsautl, but I wanted a simplified interface, so I wrote one in Go. Build/installation instructions are here: <a href="https://launchpad.net/konec/+announcement/10904" rel="nofollow">https://launchpad.net/konec/+announcement/10904</a><p>So what's the point of konec? As I mention in the man page, encrypting with an OpenSSH key is probably most appropriate for publicly posting a nonce or expiring session key to a remote host, because you're using what is otherwise (in OpenSSH) an authentication/identity key. But what about signatures? Signing a message with an SSH host identity seems interesting from a trust perspective.<p>Edit: Right now the encryption is rather limited (I'm doing direct RSA-OAEP on the plaintext) so I'm considering adding a wrapped symmetric cipher. Or maybe this is a feature?<p>What do you think? What features should I add? How would you use konec?