You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Joe Tsai 9a0c8bdd20 util/deephash: make hash type opaque
The fact that Hash returns a [sha256.Size]byte leaks details about
the underlying hash implementation. This could very well be any other
hashing algorithm with a possible different block size.

Abstract this implementation detail away by declaring an opaque type
that is comparable. While we are changing the signature of UpdateHash,
rename it to just Update to reduce stutter (e.g., deephash.Update).

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
3 years ago
..
ipnlocal util/deephash: make hash type opaque 3 years ago
ipnserver staticcheck.conf: turn off noisy lint errors 3 years ago
ipnstate tailcfg: add DNSConfig.CertDomains 4 years ago
localapi ipn/localapi: fix inability to receive taildrop files w/ escaped names 3 years ago
policy ipn/policy: mark peerapi4 and peerapi6 as interesting services 4 years ago
backend.go ipnlocal: accept a new opts.UpdatePrefs field. 4 years ago
doc.go Move Linux client & common packages into a public repo. 5 years ago
fake_test.go ipn{,/ipnlocal}, cmd/tailscale/cli: don't check pref reverts on initial up 4 years ago
handle.go ipn: another controlplane synonym 3 years ago
message.go ipn: allow b to be nil in NewBackendServer 4 years ago
message_test.go ipn: allow b to be nil in NewBackendServer 4 years ago
prefs.go ipn: another controlplane synonym 3 years ago
prefs_clone.go Add prefs.LoggedOut to fix several state machine bugs. 4 years ago
prefs_test.go ipn, etc: use controlplane.tailscale.com 3 years ago
store.go ipn: remove an unnecessary lazy map init on read path 3 years ago
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 5 years ago