{"repo":"ysmood/whisper","free":true,"listed":false,"github":"https://github.com/ysmood/whisper","clone":"git clone https://github.com/ysmood/whisper.git","description":"A simple lib and tool to encrypt, decrypt data with Public-key cryptography.","language":"Go","stars":53,"topics":["cli","ecc","encryption","cryptography","decryption","security","public-key-cryptography","rsa"],"license":"MIT","category":"security-tools","readme_excerpt":"Overview A simple lib to encrypt, decrypt data with Public-key cryptography. Now ED25519, ECDSA, and RSA are supported. Features: - Use the existing ssh key pairs and github public key url, no need to generate new key pair. - Auto find the right key to decrypt. - Encrypt data for multiple recipients. - ssh-agent like server to cache the private key passphrase. - Optional signing for integrity check. - Lower overhead and small wire format. - Streamlined design for large file encryption. CLI tool Installation Use it as lib or CLI tool. Go to the release page to download the CLI binary. If you have golang installed: Encrypt and decrypt with local keys Here is a simple example to encrypt and decrypt for yourself. The encrypted data can only be decrypted by your private key. Encrypt and decrypt with remote keys You can also use a url for a remote public key file. Here we use my public key on github to encrypt the data. Github generally exposes your public key file at @https://github.com/{YOUR ID}.keys . The input can also be file url. Batch encryption and decryption files Create a json file whisper.json with the content: Then run: It will encrypt the files in folder secrets/backend for Jack and encrypt file secrets/db.txt for Tom, they will be saved to folder vault . To decrypt in batch, run: Or you can decrypt a single file directly: If you have a lot of members to manage, the batch config file supports grouping, the $ prefix means a group name: Agent and cache The agent server i","default_branch":null,"files":null,"tree":[],"storefront":"/r/ysmood","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ysmood/whisper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}