rename to sig
This commit is contained in:
parent
75221e766d
commit
04ddb126c8
|
@ -0,0 +1,16 @@
|
||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEEZ1U/vaRrtxq9LgsLjkeh7DWhVR0FAl+t85AACgkQjkeh7DWh
|
||||||
|
VR1vrA//VhXO6PH8kpNQe/fLyrIuUf4M67/oW1/wGmOmFKU8iQ26qMCFP6CtnsNP
|
||||||
|
1mkkbUyhLeR17ktRlxR7s3Kqu1h83YTG8IpEGirGJApAbyxmB65D0iypZCxolYGy
|
||||||
|
9exiv3gOSPsvEgpskYnL4kYyoOf6z6EH/Zlhj9nfDC62n6ZfZUQSXZWhUKKfE2d9
|
||||||
|
OK2yEFxd3wd+If3JMnxV49+nItlymBD8avJcnSo209rXk0iHXjbK4yPvy/FoH3aR
|
||||||
|
bgUtzckF3rQ1hmCda487TOBXVnR6NdM7x/+gApqwuODuBYluYIVjW8kvv5FdpTes
|
||||||
|
veX5ISBitkRJuy8lvw6mbCbId2ulw7Ml/DLK/3QWWARxIN6hjRAns6wNrV9c7x3u
|
||||||
|
D4PWcgsbB7AOIK8Ia4+YWWGEy7gVKVRNDZSm4ZaK5TpYTUh8zXwKpy3qEQJjO7nl
|
||||||
|
Pfcf+15DT358MltcqAtYoBJCfnCtv/G4mnvLjeBopusY6letqW6TG7f7IJCEJRoO
|
||||||
|
bHiRtWHq+lwIXTDHOXCjYhFK3HrkViEl5vEXWMmdtcVvax9i3vl/jlHHjT3XsYJY
|
||||||
|
fV2COE7H1a1ETeUmL0E98YQdKe+3q5Y+kdRpdcxTtvH9e6yP31E0AeBX+Lbwb3Yp
|
||||||
|
kWvmZiA4SNahhakNqgoVyvL8nQw18kpCIIrZBkFkxaKOC7PmDNo=
|
||||||
|
=pv+J
|
||||||
|
-----END PGP SIGNATURE-----
|
|
@ -1,2 +1,2 @@
|
||||||
64263feac7b00952e9ec3b6c1fd11316faa58ff673c6bd085fac9f6f8d8389f6 .gitignore
|
64263feac7b00952e9ec3b6c1fd11316faa58ff673c6bd085fac9f6f8d8389f6 .gitignore
|
||||||
eff51ce6ec4b30295f8c559025241bd8320abd06c888c1253496f7930454925d siglog
|
f99e09f2f6ac5f6b37969e70b796c3bafa102bd9c6f79c77b98d27ed1bd74f97 sig
|
|
@ -1,16 +0,0 @@
|
||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCgAdFiEEZ1U/vaRrtxq9LgsLjkeh7DWhVR0FAl+t8Y8ACgkQjkeh7DWh
|
|
||||||
VR3yoA//fdkE74iqqxuKykzhkWhiNWJ0tXOV2//KUwUt0eEOatl6XiuyaT2mY+af
|
|
||||||
e57u1ZY1kVtvXF8kB4LvAMmaS6pnilu6KRuLQMMG7twwmwwuO4AotHlPn+m8w8dN
|
|
||||||
J3emsdsZCSwCC+afKggxNvOIiIq1Lon0RJmwdTm4rXVlj9qj7yHpfAcVxdKPvVlW
|
|
||||||
bgudpTulWn/K87fQ2pnSr8L3Q/NeHbjaAbQU9CcD2nG7+JBUcJAJZvtF+Cc1aukA
|
|
||||||
pwVr/3ZUFsrpoqeLOT7WZ9ZH8VVGlNH3K0U41pddCEEYBTx36iJkc5nOc0EDqIAh
|
|
||||||
TSlTrYcTmIeqW/9Aj0zMiOhFzPhGDnKphcmvSip/OGn+mko0q6/9CHYzYryS+GB8
|
|
||||||
ljD6BwL8HbroqVB1s1FBhvWLgKMQuS/JqyUoJIUv8OpyEdaLRRXZscoI5G3npPOv
|
|
||||||
XM1TB/DgkMRNqAaY0zIbReQ23rzinbQwGMiq/2nV64CpdIa+7oL2bu/Ei+BpcMwS
|
|
||||||
S+2oPbSoYnY/88wyePdHmUsc++KzN1eqhl6aCHRJD5Ej9GCyDHLPJ3mgc4ABBMgd
|
|
||||||
UH5vsRfLgMUl4hHPzOpQGl+6twXSl1hs9xd7BcV6xHjp441x4CpMS+V2yMcMJH71
|
|
||||||
WSv/qPKOgUiZTjrhFmF9MudjmqLXMjRbZG43jS/07ODGiQSXg8w=
|
|
||||||
=TEP0
|
|
||||||
-----END PGP SIGNATURE-----
|
|
14
siglog → sig
14
siglog → sig
|
@ -154,7 +154,7 @@ cmd_verify() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_sign(){
|
cmd_add(){
|
||||||
cmd_manifest
|
cmd_manifest
|
||||||
gpg --armor --detach-sig .${PROGRAM}/manifest.txt
|
gpg --armor --detach-sig .${PROGRAM}/manifest.txt
|
||||||
local fingerprint=$( \
|
local fingerprint=$( \
|
||||||
|
@ -168,11 +168,11 @@ cmd_sign(){
|
||||||
cmd_version() {
|
cmd_version() {
|
||||||
cat <<-_EOF
|
cat <<-_EOF
|
||||||
============================================
|
============================================
|
||||||
= siglog: simple multisig trust toolchain =
|
= sig: simple multisig trust toolchain =
|
||||||
= =
|
= =
|
||||||
= v0.0.1 =
|
= v0.0.1 =
|
||||||
= =
|
= =
|
||||||
= https://gitlab.com/pchq/siglog =
|
= https://gitlab.com/pchq/sig =
|
||||||
============================================
|
============================================
|
||||||
_EOF
|
_EOF
|
||||||
}
|
}
|
||||||
|
@ -183,7 +183,7 @@ cmd_usage() {
|
||||||
Usage:
|
Usage:
|
||||||
$PROGRAM verify
|
$PROGRAM verify
|
||||||
Verify all signing policies for this directory are met
|
Verify all signing policies for this directory are met
|
||||||
$PROGRAM sign
|
$PROGRAM add
|
||||||
Add signature to manifest for this directory
|
Add signature to manifest for this directory
|
||||||
$PROGRAM manifest
|
$PROGRAM manifest
|
||||||
Generate hash manifest for this directory
|
Generate hash manifest for this directory
|
||||||
|
@ -194,14 +194,14 @@ cmd_usage() {
|
||||||
_EOF
|
_EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_tools head cut find sort sed gpg openssl
|
||||||
|
|
||||||
PROGRAM="${0##*/}"
|
PROGRAM="${0##*/}"
|
||||||
COMMAND="$1"
|
COMMAND="$1"
|
||||||
|
|
||||||
check_tools head cut find sort sed gpg openssl
|
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
verify) shift; cmd_verify "$@" ;;
|
verify) shift; cmd_verify "$@" ;;
|
||||||
sign) shift; cmd_sign "$@" ;;
|
add) shift; cmd_add "$@" ;;
|
||||||
manifest) shift; cmd_manifest "$@" ;;
|
manifest) shift; cmd_manifest "$@" ;;
|
||||||
version|--version) shift; cmd_version "$@" ;;
|
version|--version) shift; cmd_version "$@" ;;
|
||||||
help|--help) shift; cmd_usage "$@" ;;
|
help|--help) shift; cmd_usage "$@" ;;
|
Loading…
Reference in New Issue