2020-02-06 15:09:47 +00:00
|
|
|
# ogvt
|
|
|
|
|
|
|
|
A [pledge(2)](https://man.openbsd.org/pledge) and [unveil(2)](https://man.openbsd.org/unvile)'d tool for verifying GnuPG signatures.
|
|
|
|
|
2020-02-06 23:56:09 +00:00
|
|
|
[![builds.sr.ht status](https://builds.sr.ht/~qbit/ogvt.svg)](https://builds.sr.ht/~qbit/ogvt?)
|
2020-02-06 15:09:47 +00:00
|
|
|
|
|
|
|
## Success
|
|
|
|
```
|
2020-02-06 15:37:53 +00:00
|
|
|
./ogvt -file test/uptime.txt -sig test/uptime.txt.asc -pub test/adent.pub
|
2021-09-29 12:50:00 +00:00
|
|
|
"Arthur Dent <adent@in.space.time>" (85A37DE03BBE9A3019A7E3A43BC546AF2E6705B7)
|
2020-02-06 15:37:53 +00:00
|
|
|
Signature OK.
|
2020-02-06 15:09:47 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Failure
|
|
|
|
```
|
2020-02-06 15:37:53 +00:00
|
|
|
./ogvt -file test/uptime.txt.bad -sig test/uptime.txt.asc -pub test/adent.pub
|
|
|
|
openpgp: invalid signature: hash tag doesn't match
|
2020-02-06 15:09:47 +00:00
|
|
|
```
|