mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
4082512293
We were maintaining temporary dev forks of golang.org/x/crypto/{acme,ssh}
in https://github.com/tailscale/golang-x-crypto instead of using
this repo's tempfork directory as we do with other packages. The reason we were
doing that was because x/crypto/ssh depended on x/crypto/ssh/internal/poly1305
and I hadn't noticed there are forwarding wrappers already available
in x/crypto/poly1305. It also depended internal/bcrypt_pbkdf but we don't use that
so it's easy to just delete that calling code in our tempfork/ssh.
This means we don't need another repo, for better or worse. (better:
one repo, worse: slightly more annoying to rebase to upstream, but not
terrible)
The acme package is moved unmodified.
This copies the code from tailscale/golang-x-crypto at git rev
|
||
---|---|---|
.. | ||
builddir | ||
config.json | ||
README.md | ||
usr-dir.tar |
Tailscale Appliance
This is the definition of the Gokrazy Tailscale Appliance (tsapp) image. See the parent directory for context.
File contents
The config.json
is a Gokrazy config.
The usr-dir.tar
is a single symlink named bin
pointing to /user
. We write it to /usr/bin => /user
so the Busybox ash
shell's default $PATH
includes /user
, where the tailscale
CLI is.
The builddir
is the Gokrazy build environment, defining each program's go.mod
.