TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby cmarsover 12 years ago

1 comment

cmarsover 12 years ago
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?