Skip to content

Commit 0681f78

Browse files
add omitempty to rest in ssh signature for schema
1 parent ae3aecf commit 0681f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ssh/certs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const (
6060
type Signature struct {
6161
Format string `json:"algorithm,omitempty"`
6262
Blob []byte `json:"value,omitempty"`
63-
Rest []byte `ssh:"rest"`
63+
Rest []byte `json:"rest,omitempty" ssh:"rest"`
6464
}
6565

6666
// CertTimeInfinity can be used for OpenSSHCertV01.ValidBefore to indicate that

0 commit comments

Comments
 (0)