mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-04 23:45:34 +00:00
7364c6beec
This library is intended for use during release to sign packages which are then served from pkgs.tailscale.com. The library is also then used by clients downloading packages for `tailscale update` where OS package managers / app stores aren't used. Updates https://github.com/tailscale/tailscale/issues/8760 Updates https://github.com/tailscale/tailscale/issues/6995 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
17 lines
291 B
Go
17 lines
291 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
package distsign
|
|
|
|
import "testing"
|
|
|
|
func TestParseRoots(t *testing.T) {
|
|
roots, err := parseRoots()
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
if len(roots) == 0 {
|
|
t.Error("parseRoots returned no root keys")
|
|
}
|
|
}
|