2018-03-09 06:10:20 +00:00
|
|
|
# go-pgp-tool
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
build code
|
|
|
|
```bash
|
|
|
|
$ go build -o go-pgp-tool main.go
|
|
|
|
```
|
|
|
|
show usage
|
|
|
|
```bash
|
|
|
|
$ ./go-pgp-tool -h
|
|
|
|
```
|
|
|
|
|
2018-03-12 10:15:14 +00:00
|
|
|
## test
|
|
|
|
```bash
|
|
|
|
$ go test -v ./...
|
|
|
|
```
|
|
|
|
|
2018-03-09 06:10:20 +00:00
|
|
|
### options
|
|
|
|
```
|
|
|
|
Usage options:
|
|
|
|
-h show usage
|
|
|
|
-d decrypt mode
|
|
|
|
-e encrypt mode
|
|
|
|
-y force override output file
|
|
|
|
-p password
|
|
|
|
private key password with decrypt usage
|
|
|
|
-i file path
|
|
|
|
source file path
|
2018-03-13 08:40:54 +00:00
|
|
|
-o [file path|-]
|
|
|
|
output file path or stdout
|
2018-03-09 06:10:20 +00:00
|
|
|
-k file path
|
|
|
|
key file path
|
|
|
|
```
|