pgp

command module
v0.0.0-...-57a86b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2022 License: MIT Imports: 10 Imported by: 0

README

OpenPGP client written in Go

A simple OpenPGP client written in Go which consists of multiple executables for usage within a Plan 9 environment, but maybe used elsewhere of course.

dec.go

Given private key, decrypts cipher text from stdin and writes it to stdout: pgp/dec <private key>

enc.go

Given one or more public keys, encrypts plain text from stdin and writes [armored] cipher text to stdout: pgp/enc [-a] <public keys>

gen.go

Generates a new public/private PGP key pair. For encryption/decryption and signing/verifying. Creates <keyname>.pub and <keyname>.priv in working directory. pgp/gen [-n <fullname>] [-c <comment>] [-m <mail address>] <keyname>

check.go

Given a signature and public key, verifies detached signature against stdin. pgp/check <sig file> <public key>

sign.go

Given a private key, writes [armored] detached signature to stdout. pgp/sign [-a] <private key>

TODO

Create mkfile

Write an mkfile with support for cross compilation which places binaries inside /$objtype/bin/pgp

Create man page

Write a decent man page in troff respecting the way they are written Plan 9.

Improve error handling

Less technical errors might be desirable.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL