File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -113,17 +113,28 @@ bash <(curl -S https://raw.githubusercontent.com/DealerDirect/php-qa-tools/maste
113113
114114That's it. This can be put in any instructions, such as a README or someone's blog, since the logic is in the shell
115115script. 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.githubusercontent.com/DealerDirect/php-qa-tools/master/bin/install.sh
122+ curl -O https://raw.githubusercontent.com/DealerDirect/php-qa-tools/master/bin/install.sh.sig
123+ gpg --verify install.sh.sig
124+ bash install.sh
125+ ```
117126
118127This is obviously a shell script, if you're really concerned about the argument that it may contain nefarious
119128activities within, you can easily review it before you run it.
120129
121130``` bash
122- curl -o https://raw.githubusercontent.com/DealerDirect/php-qa-tools/master/bin/install.sh
131+ curl -O https://raw.githubusercontent.com/DealerDirect/php-qa-tools/master/bin/install.sh
123132less install.sh
124133bash instal.sh
125134```
126135
136+
137+
127138If you already have a global Composer setup, you could include the tools manually, without the need for running
128139the shell script above.
129140
Original file line number Diff line number Diff line change 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-----
You can’t perform that action at this time.
0 commit comments