Skip to content

Commit 809ce4c

Browse files
committed
Added GPG signed installer & documentation.
1 parent 69ca2ab commit 809ce4c

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,28 @@ bash <(curl -S https://raw.github.com/DealerDirect/php-qa-tools/maste
113113

114114
That's it. This can be put in any instructions, such as a README or someone's blog, since the logic is in the shell
115115
script. Provided you download the script using https, the file has standard levels of authentication and encryption
116-
protecting it from manipulation.
116+
protecting it from manipulation. We also sign the install with a GPG key, this way you can check if the downloaded
117+
releases signature matches the public key of Dealerdirect.
118+
119+
```bash
120+
gpg --keyserver hkp://keys.gnupg.net --recv-keys C4133165DF5EB4BAEABDADCACF1E7823C5339B59
121+
curl -O https://raw.github.com/DealerDirect/php-qa-tools/master/bin/install.sh
122+
curl -O https://raw.github.com/DealerDirect/php-qa-tools/master/bin/install.sh.sig
123+
gpg --verify install.sh.sig
124+
bash install.sh
125+
```
117126

118127
This is obviously a shell script, if you're really concerned about the argument that it may contain nefarious
119128
activities within, you can easily review it before you run it.
120129

121130
```bash
122-
curl -o https://raw.github.com/DealerDirect/php-qa-tools/master/bin/install.sh
131+
curl -O https://raw.github.com/DealerDirect/php-qa-tools/master/bin/install.sh
123132
less install.sh
124133
bash instal.sh
125134
```
126135

136+
137+
127138
If you already have a global Composer setup, you could include the tools manually, without the need for running
128139
the shell script above.
129140

bin/install.sh.sig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-----BEGIN PGP SIGNATURE-----
2+
3+
iQIcBAABCgAGBQJYEe4zAAoJELY9nlxX4qkVWOgQAJ3X9wfOUgkBmXOzdNby/8sF
4+
L75nfahYKHgNpK0uoLDp18w3b9QhbNLDRZTAMpKKtykD8rXZ6zG/2GXvc9XObAf+
5+
QsTs4fEOsACy/PFHmHpnW2/L+loM7bRanRRWgR30NFQP2sj0DPRBQwNFK0321dem
6+
Cpvp6DKDU+kseAj6yP2qurAmDp8YzwG0qYN+n3dHhhl8XRd6b+hZFcHzqKTLGGpv
7+
tP13jPprOTC0fNDfGYAXiZrjbiC4f6OvcRZid/Kp8dG/H3aGO+JsDFiRqi4KlBYq
8+
fz8XrHKh0LztYBgX3x47qRPOeVpeg1N7aNcpJXnIpwP7vlwBidT50i7Vw354yq7n
9+
HlG0W67W4t3PIE+KoT5bpX3RiIwkyTl9hMVYny2ERmGdeGwiu6OBJb7MtDejElw7
10+
O6UehVgUqZaJaWV/+luQ/OMsJXHEgFVd64BiXEJT+YUpg/s9zFhmNXH8lKkYxuZz
11+
Plx46fIY3PCC1oQaYQ/olQtBIiBP4J8IZcR4ZuN+z5ihuR+51yzHLMGhaiRnzIku
12+
TZfKUkuGdhe4YHng4NIb1weOXzoRaMgYzQkhwCd3zWBli3yhX5atvEi+KD0Wq56Z
13+
shFO5SjSq6Lgmfv8V6SgAy+okxCN9C1KIyoJTEWh3ciUMuzeG2ehqEiMXs6CSHv8
14+
UuSQbq19lh2yFxKYkCmE
15+
=QjAG
16+
-----END PGP SIGNATURE-----

0 commit comments

Comments
 (0)