v0.4.3
Fixes
-
coop updateworks on the private/internaltrailofbits/cooprepo
(#70, #71) — Previously the in-binary update shelled out to bare
curl, which the GitHub API answers with 404 for unauthenticated
requests against private repos, surfacing ascurl exited with exit status: 22. The update path now authenticates the same way
install.shalready did: prefergh(when installed and authenticated
againstgithub.qkg1.top), fall back toGITHUB_TOKEN, then bare curl
(which works once the repo is public). -
GitHub token no longer appears on argv (#71) — Both
src/update.rs
andinstall.shnow feed theAuthorizationheader to curl on stdin
(curl -H @-) instead of as a command-line argument, so
$GITHUB_TOKENis no longer visible in/proc/<pid>/cmdlineor in
coop -v update's tracing debug log.
Documentation
- README and
docs/commands.mdnote thatcoop updaterequiresghor
GITHUB_TOKENwhile the repository is private (#71).