I have also built something similar, I knew of the existence of cipherhub, but my goal was to focus on the ease of use, with the browser (<a href="https:&#x2F;&#x2F;mailbeam.io" rel="nofollow">https:&#x2F;&#x2F;mailbeam.io</a> and <a href="https:&#x2F;&#x2F;github.com&#x2F;bobbywilson0&#x2F;gh-message" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bobbywilson0&#x2F;gh-message</a>). I do admit that my solution is not as easy as it should be yet.<p>You should consider with RSA keys have a limited size message that can be encrypted (e.g. for 2048 bit keys you are limited to 256 bytes in your message). My solution was to use the SSH key to encrypt the secret I used to encrypt the message with.