From 6f54550080b47a718fe50d9515238e89ad36b888 Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Mon, 16 Nov 2020 04:43:14 -0800 Subject: [PATCH] add usage --- .sig/manifest.8E47A1EC35A1551D.asc | 26 +++++++++++++------------- .sig/manifest.txt | 2 +- README.md | 26 ++++++++++++++++++++++---- 3 files changed, 36 insertions(+), 18 deletions(-) diff --git a/.sig/manifest.8E47A1EC35A1551D.asc b/.sig/manifest.8E47A1EC35A1551D.asc index e6b59b5..44f927f 100644 --- a/.sig/manifest.8E47A1EC35A1551D.asc +++ b/.sig/manifest.8E47A1EC35A1551D.asc @@ -1,16 +1,16 @@ -----BEGIN PGP SIGNATURE----- -iQIzBAABCgAdFiEEZ1U/vaRrtxq9LgsLjkeh7DWhVR0FAl+ycikACgkQjkeh7DWh -VR2x4g/+Iuq/AC15pKnbXgY9dayv/+79ZV6e2okprWx9zOiDn6Oxi9z6lvk6kKKg -MiZfDbjfcEbvF4kd63eUbwvJgOJVhvraG0TyrnAtm2dymGorTmUZeDpf+HShl7Gm -ZkVYLmK2AGzXr1MRRx+Ll8qT0EErKNFlhNFT27a4pGwLtmmkLfKXARdNvzbMRVjY -DMrxbwXxJfY+EiLXKBIDos8665I96dmdUwZUYhn8515Y/mUp/Rk0fJoNl312X/Y+ -bRBDFTrfoka/Ux1ccB4w8ER85hS60eLmr1ImmdsqH+1TYf3BqsQ7WRqPkbcrVBbf -dc6/ZMXa0MB5D2hlTPCfcVAkQ3at94qq9Ed3j3YNjCLE2t+KksBa4JgtQb8wWLYP -j14alqgUNvtSwEm7urWfIl9lX5LftLteDBZcuDN56Oo6bLP3pbynOyp8xS5t8daq -IvJKcwJugiFmkkArOi9+TLDLk5/jtczdprmt0xIy8/s4s1vSGOYJE8ivgm3k/PAC -dJyxS6K3nbEByJbpwEkkzIViNl4NlaeJK1Ow0U7YNGWEc1jlgv1WZzt4+Kx8I7B/ -X6zo+wNuLHri2vs1aUJVCFmIQ0rTrVYXYjaboBrfZM671XyU7W3lvdBDUBpCkQnL -9GTw7+Zzq78u7nePUL3cL1eNn8RWWjNad0PIAuOjF7K0mFJHlxI= -=eFzX +iQIzBAABCgAdFiEEZ1U/vaRrtxq9LgsLjkeh7DWhVR0FAl+yc9sACgkQjkeh7DWh +VR3riQ/7BbseqBVSdgeNt4Yf9yRq6u72hCzwSTbpvVQsoh3qhdyYNK0duDxF0au1 +TJRJbD9OydbAAdgBBCfrUErbjz9BUmDlamp3sld0kfXrHZaQxnw5hXUHTWmPpqNm +PnMxJxu12rHLUBFnHUImQszYoNm6DH7g2Z3uPYciY+4HED3tIl3nxIw/ZEszBLC7 +jX0PevYB9JBKFoeZGe6KKv5+puhRb+075nPUCYJdXHAcbqfQQVqefrkUg79aJGWT +K2O4dTuYLpkvfe+aLKcwSiNFYIf6+x4f0CnJLfdxnCcCwcefgux35Qnmi2v8SSvZ +rOOsjdv40ZelIUMu1eBAIiUzIg5SuYuYNI9eq93G/iGTA/uCf3v6LM9HpdESREhP +MT0ilEmDfZlZUMBYyFgLzYRDupzefeSzBIHANFHe53hQpB88/rMKzdX4XunmtpRz +INCd+hB1W4s9fj1TvgtrTMohDhpy4tj6A0YsEzk2VOZAsyXSYcFx8AGtd66Sp5ON +w/tywXaueQpSdPUci2CMs41fm3EM9+/v5wk4Vnh9l6hHEZ1lOHNaYi/7ueQdNzhX ++qp4ani+7NmAENTjYzZ3sdqBq5qf+kvF/CVD8yA02xxtjDpQca3+MXJwbss8sZG+ +dil6PS0RCJAUc/6r9GKHU55OvSyyFKFMdmYZvqNF7PEYY6rueC0= +=eMj8 -----END PGP SIGNATURE----- diff --git a/.sig/manifest.txt b/.sig/manifest.txt index 5da06d2..7e06275 100644 --- a/.sig/manifest.txt +++ b/.sig/manifest.txt @@ -1,3 +1,3 @@ 64263feac7b00952e9ec3b6c1fd11316faa58ff673c6bd085fac9f6f8d8389f6 .gitignore -00b0e173649476d58154f0d078814cad9a6c8d5a3187fc615e3d0b3c76c2f8ca README.md +ae414c5dffea87bf056cba88b16fc56af8fa25d0e8bb8f352da130a151012668 README.md b470a31ed13fb1177a0ffae1872f3e24f9aa8292090f4d838ad2a4bc639f8404 sig diff --git a/README.md b/README.md index 1635bf4..c6b12da 100644 --- a/README.md +++ b/README.md @@ -87,25 +87,43 @@ defined gpg alias group. ## Usage -### Verify 1 signature via Detached and Git methods +#### sig verify [-g,--group=] [-t,--threshold=] [-m,--method= ] + Verify m-of-n signatures by given group are present for directory + +#### sig add + Add signature to manifest for this directory + +#### sig manifest + Generate hash manifest for this directory + +#### sig help + Show help text. + +#### sig version + Show version information. + + +## Examples + +#### Verify 1 signature via Detached and Git methods ``` sig verify ``` -### Verify 2 unique signatures via Detached and Git methods +#### Verify 2 unique signatures via Detached and Git methods ``` sig verify --threshold 2 ``` -### Verify 3 unique signatures from specified signing group via Git method +#### Verify 3 unique signatures from specified signing group via Git method ``` sig verify --threshold 2 --group myteam --method git ``` -### Add Detached Signature +#### Add Detached Signature ``` sig add