←back to thread

637 points h1x | 3 comments | | HN request time: 0.531s | source
1. teekert ◴[] No.29209947[source]
Is it possible to encrypt something with an ssh pubkey and then decrypt with the corresponding privkey? GPG-style?
replies(2): >>29209956 #>>29211146 #
2. Gargyle ◴[] No.29209956[source]
That happens as part of the ssh handshake. And is the basis of this whole scheme. No idea if there is tooling to.do.that for arbitrary messages.
3. fanf2 ◴[] No.29211146[source]
Yes, with https://github.com/FiloSottile/age