Commit graph

35 commits

Author SHA1 Message Date
Joel Williams
677875a59b
Corrected some typos
Made some corrections to grammar and deleted a repeated section. I hope this is helpful for you.
2019-10-30 00:25:24 +02:00
rhysd
04c8f18cca describe executable file name convention contained in assets 2019-07-25 18:37:40 +09:00
Bertus Steenberg
687eda561c
s/dpeneding/depending/ 2019-01-13 17:18:19 +02:00
rhysd
b179163923 tweak README [skip ci] 2018-11-10 12:52:51 +09:00
Linda_pp
a77177617a
Merge pull request #16 from tobiaskohlbau/addHashSignature
Add hash and signature validation
2018-11-09 20:00:26 +09:00
Tobias Kohlbau
116dfa144d Add hash and signature validation
Go-self-update lacks support for checking integrity of downloaded files.
For more advanced situation it's necessary to validate the hash or
verify against public signatures. This patch adds support for
SHA2 hash and ECDSA PublicKey signature validation.
SHA2 uses file with suffix `.sha256`, whereas ECDSA uses
`.sig` file endings. See `selfupdate/validate_test.go` for examples.

Signed-off-by: Tobias Kohlbau <t.kohlbau@myopenfactory.com>
2018-11-09 11:21:21 +01:00
rhysd
db4f96105a use os.Executable() and .LTE() for safety in example 2018-11-06 19:39:58 +09:00
Tobias Kohlbau
63988a901a
Fix bad go get within readme
Go get works with package names not with urls.
2018-10-18 11:04:52 +02:00
rhysd
ef42c4e258 fix typo 2018-04-19 17:58:07 +09:00
rhysd
6f1eb0320d [skip ci] add link to a deck at GoCon 2018 Spring 2018-04-17 21:51:40 +09:00
rhysd
4f7f22f940 revise introduction and add license notice of xz 2018-03-28 11:00:13 +09:00
rhysd
c93b65e513 github.Releases.DownloadReleaseAsset() was fixed 2018-03-27 15:42:23 +09:00
Linda_pp
d782c99504
fix typo 2018-03-22 08:55:31 +09:00
rhysd
74c96838ff add notice about https://github.com/google/go-github/issues/870 2018-03-22 05:09:28 +09:00
Jean-Baptiste Farez
a3573534f9
Add support to pass custom version to fetch from Github 2018-03-13 09:16:15 +01:00
rhysd
281445119d describe how to run tests and about CI 2018-02-11 23:36:50 +09:00
rhysd
56328bb821 more real-world examples 2018-02-06 15:48:03 +09:00
rhysd
f637165ab7 add description about Updater struct usage for GitHub Enterprise 2018-01-19 18:04:30 +09:00
Wayne Ashley Berry
2ef1f0d076
Update README.md
Fixes link to example project.
2018-01-01 11:21:01 +02:00
rhysd
1a3999baf4 describe xz support in doc 2017-12-31 12:14:17 +09:00
rhysd
684283e69c fix typo [ci skip] 2017-12-31 02:19:45 +09:00
rhysd
82b1ad49fc add documents for go-get-release 2017-12-30 17:40:59 +09:00
rhysd
597627d0b7 add detect-latest-release command 2017-12-30 16:14:06 +09:00
rhysd
07bc4f2027 add real world examples 2017-12-30 15:42:13 +09:00
rhysd
a2f4ef8e7e describe how to try an example 2017-12-30 14:27:31 +09:00
rhysd
dd5ef80683 add badges and links to CI and doc and coverage 2017-12-30 14:14:08 +09:00
rhysd
fd8fc6616a add an example to update with confirm 2017-12-30 13:12:56 +09:00
rhysd
dde1bc1c6c add license 2017-12-30 12:58:21 +09:00
rhysd
db4d3941f8 describe .exe is also available 2017-12-30 12:52:59 +09:00
rhysd
f1c1ec1871 add introduction to godoc 2017-12-30 12:31:07 +09:00
rhysd
fa237fa7bf describe differences from tj/go-update 2017-12-30 12:21:23 +09:00
rhysd
08f51f54ab revise README 2017-12-30 12:21:23 +09:00
rhysd
f0345e54e2 fix typo in README 2017-12-26 11:48:09 +09:00
rhysd
1124782254 implement logger and DetectLatest() 2017-12-26 11:46:52 +09:00
rhysd
36aa168a14 draft of README and an example command 2017-12-25 16:55:01 +09:00