summaryrefslogtreecommitdiffhomepage
path: root/types/key
diff options
context:
space:
mode:
Diffstat (limited to 'types/key')
-rw-r--r--types/key/control.go2
-rw-r--r--types/key/control_test.go2
-rw-r--r--types/key/derp.go2
-rw-r--r--types/key/disco_test.go2
-rw-r--r--types/key/machine_test.go2
-rw-r--r--types/key/node_test.go2
6 files changed, 6 insertions, 6 deletions
diff --git a/types/key/control.go b/types/key/control.go
index 96021249b..970d91abb 100644
--- a/types/key/control.go
+++ b/types/key/control.go
@@ -3,7 +3,7 @@
package key
-import "encoding/json"
+import "github.com/go-json-experiment/json/v1"
// ControlPrivate is a Tailscale control plane private key.
//
diff --git a/types/key/control_test.go b/types/key/control_test.go
index a98a586f3..a40dfc37a 100644
--- a/types/key/control_test.go
+++ b/types/key/control_test.go
@@ -4,7 +4,7 @@
package key
import (
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"testing"
)
diff --git a/types/key/derp.go b/types/key/derp.go
index 1466b85bc..2c5d10100 100644
--- a/types/key/derp.go
+++ b/types/key/derp.go
@@ -6,7 +6,7 @@ package key
import (
"crypto/subtle"
"encoding/hex"
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"errors"
"fmt"
"strings"
diff --git a/types/key/disco_test.go b/types/key/disco_test.go
index c62c13cbf..be7b64d0e 100644
--- a/types/key/disco_test.go
+++ b/types/key/disco_test.go
@@ -5,7 +5,7 @@ package key
import (
"bytes"
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"testing"
)
diff --git a/types/key/machine_test.go b/types/key/machine_test.go
index 157df9e43..90dafef75 100644
--- a/types/key/machine_test.go
+++ b/types/key/machine_test.go
@@ -5,7 +5,7 @@ package key
import (
"bytes"
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"strings"
"testing"
)
diff --git a/types/key/node_test.go b/types/key/node_test.go
index 80a2dadf9..8ecd3afb5 100644
--- a/types/key/node_test.go
+++ b/types/key/node_test.go
@@ -6,7 +6,7 @@ package key
import (
"bufio"
"bytes"
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"strings"
"testing"
)