Skip to content

saxond/gpgencrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpgencrypt

This is a simple command line application that encrypts a file using a PGP public key. Many pgp utilities have you import public keys before using them which is cumbersome if you only want to encrypt one message. This tool can encrypt a file without requiring that the public key be saved to disk - the public key can be piped into the command.

Usage

To encrypt a file using a public key file, run

gpgencrypt public-keyfile file-to-encrypt

To encrypt a file using a public keyfile from the clipboard, run

pbpaste | gpgencrypt file-to-encrypt

This example works on MacOs. On Linux you can use xclip.

Building

go mod download golang.org/x/crypto
go build

Download

On MacOS, open the download archive, ctrl-click gpgencrypt and open the application to accept running the application. You can then use it from the command line.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages