From e7a1f30076701d7bdb0f95b33637a7ad1ad85588 Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Fri, 20 Nov 2020 01:21:39 -0800 Subject: [PATCH] Cleanup makefile. Document fetch --- Makefile | 12 +++++++----- README.md | 2 ++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 659306d..523447e 100644 --- a/Makefile +++ b/Makefile @@ -23,11 +23,13 @@ verify: test-image --interactive \ --volume $(PWD)/:/home/test/sig \ local/sig-test /bin/bash -c " \ - cp -R sig /tmp/sig; \ - cd /tmp/sig; \ - ./sig fetch --group maintainers 6B61ECD76088748C70590D55E90A401336C8AAA9; \ - ./sig verify --threshold 1 --method=git --group maintainers; \ - ./sig verify --threshold 3 --method=detached --group maintainers; \ + cp -R sig /tmp/sig; \ + cd /tmp/sig; \ + ./sig fetch \ + --group maintainers \ + 6B61ECD76088748C70590D55E90A401336C8AAA9; \ + ./sig verify --threshold 1 --method=git --group maintainers; \ + ./sig verify --threshold 3 --method=detached --group maintainers; \ " .PHONY: test-image diff --git a/README.md b/README.md index 35282c8..51517e5 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,8 @@ The simple GPG signature toolchain for directories or git repos. * Add signature to manifest for this directory * sig manifest * Generate hash manifest for this directory +* sig fetch [-g,--group=] + * Fetch key by fingerprint. Optionally add to group. * sig help * Show help text. * sig version