Skip to content

Commit

Permalink
replace module path
Browse files Browse the repository at this point in the history
  • Loading branch information
freigeistig committed Feb 13, 2024
1 parent 779dc2e commit cc6feff
Show file tree
Hide file tree
Showing 171 changed files with 559 additions and 561 deletions.
224 changes: 112 additions & 112 deletions CHANGELOG.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Certificate Transparency: Go Code

[![Go Report Card](https://goreportcard.com/badge/github.com/google/certificate-transparency-go)](https://goreportcard.com/report/github.com/google/certificate-transparency-go)
[![GoDoc](https://godoc.org/github.com/google/certificate-transparency-go?status.svg)](https://godoc.org/github.com/google/certificate-transparency-go)
![CodeQL workflow](https://github.com/google/certificate-transparency-go/actions/workflows/codeql.yml/badge.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/rarimo/certificate-transparency-go)](https://goreportcard.com/report/github.com/rarimo/certificate-transparency-go)
[![GoDoc](https://godoc.org/github.com/rarimo/certificate-transparency-go?status.svg)](https://godoc.org/github.com/rarimo/certificate-transparency-go)
![CodeQL workflow](https://github.com/rarimo/certificate-transparency-go/actions/workflows/codeql.yml/badge.svg)

This repository holds Go code related to
[Certificate Transparency](https://www.certificate-transparency.org/) (CT). The
Expand Down
2 changes: 1 addition & 1 deletion client/configpb/multilog.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ syntax = "proto3";

package configpb;

option go_package = "github.com/google/certificate-transparency-go/client/multilog/configpb";
option go_package = "github.com/rarimo/certificate-transparency-go/client/multilog/configpb";

import "google/protobuf/timestamp.proto";

Expand Down
2 changes: 1 addition & 1 deletion client/ctclient/cmd/bisect.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"sort"

ct "github.com/google/certificate-transparency-go"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/spf13/cobra"
"k8s.io/klog/v2"
)
Expand Down
2 changes: 1 addition & 1 deletion client/ctclient/cmd/get_consistency_proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"encoding/hex"
"fmt"

"github.com/google/certificate-transparency-go/client"
"github.com/rarimo/certificate-transparency-go/client"
"github.com/spf13/cobra"
"github.com/transparency-dev/merkle/proof"
"github.com/transparency-dev/merkle/rfc6962"
Expand Down
6 changes: 3 additions & 3 deletions client/ctclient/cmd/get_entries.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"fmt"
"os"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/x509"
"github.com/google/certificate-transparency-go/x509util"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/x509util"
"github.com/spf13/cobra"
"k8s.io/klog/v2"
)
Expand Down
6 changes: 3 additions & 3 deletions client/ctclient/cmd/get_inclusion_proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"strings"
"time"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/client"
"github.com/google/certificate-transparency-go/x509"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/client"
"github.com/rarimo/certificate-transparency-go/x509"
"github.com/spf13/cobra"
"github.com/transparency-dev/merkle/proof"
"github.com/transparency-dev/merkle/rfc6962"
Expand Down
2 changes: 1 addition & 1 deletion client/ctclient/cmd/get_sth.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"fmt"

ct "github.com/google/certificate-transparency-go"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions client/ctclient/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ import (
"strings"
"time"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/client"
"github.com/google/certificate-transparency-go/jsonclient"
"github.com/google/certificate-transparency-go/loglist3"
"github.com/google/certificate-transparency-go/x509util"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/client"
"github.com/rarimo/certificate-transparency-go/jsonclient"
"github.com/rarimo/certificate-transparency-go/loglist3"
"github.com/rarimo/certificate-transparency-go/x509util"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"k8s.io/klog/v2"
Expand Down
6 changes: 3 additions & 3 deletions client/ctclient/cmd/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
"fmt"
"time"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/x509"
"github.com/google/certificate-transparency-go/x509util"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/x509util"
"github.com/spf13/cobra"
"k8s.io/klog/v2"
)
Expand Down
2 changes: 1 addition & 1 deletion client/ctclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package main

import (
"github.com/google/certificate-transparency-go/client/ctclient/cmd"
"github.com/rarimo/certificate-transparency-go/client/ctclient/cmd"
"k8s.io/klog/v2"
)

Expand Down
4 changes: 2 additions & 2 deletions client/getentries.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"errors"
"strconv"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/x509"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/x509"
)

// GetRawEntries exposes the /ct/v1/get-entries result with only the JSON parsing done.
Expand Down
6 changes: 3 additions & 3 deletions client/logclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import (
"net/http"
"strconv"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/jsonclient"
"github.com/google/certificate-transparency-go/tls"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/jsonclient"
"github.com/rarimo/certificate-transparency-go/tls"
)

// LogClient represents a client for a given CT Log instance
Expand Down
14 changes: 7 additions & 7 deletions client/logclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ import (
"testing"
"time"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/client"
"github.com/google/certificate-transparency-go/jsonclient"
"github.com/google/certificate-transparency-go/testdata"
"github.com/google/certificate-transparency-go/tls"
"github.com/google/certificate-transparency-go/x509"
"github.com/google/certificate-transparency-go/x509util"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/client"
"github.com/rarimo/certificate-transparency-go/jsonclient"
"github.com/rarimo/certificate-transparency-go/testdata"
"github.com/rarimo/certificate-transparency-go/tls"
"github.com/rarimo/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/x509util"
)

func dh(s string) []byte {
Expand Down
8 changes: 4 additions & 4 deletions client/multilog.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (
"os"
"time"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/client/configpb"
"github.com/google/certificate-transparency-go/jsonclient"
"github.com/google/certificate-transparency-go/x509"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/client/configpb"
"github.com/rarimo/certificate-transparency-go/jsonclient"
"github.com/rarimo/certificate-transparency-go/x509"
"google.golang.org/protobuf/encoding/prototext"
"google.golang.org/protobuf/proto"
)
Expand Down
12 changes: 6 additions & 6 deletions client/multilog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ import (
"testing"
"time"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/client"
"github.com/google/certificate-transparency-go/client/configpb"
"github.com/google/certificate-transparency-go/testdata"
"github.com/google/certificate-transparency-go/x509"
"github.com/google/certificate-transparency-go/x509util"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/client"
"github.com/rarimo/certificate-transparency-go/client/configpb"
"github.com/rarimo/certificate-transparency-go/testdata"
"github.com/rarimo/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/x509util"
tspb "google.golang.org/protobuf/types/known/timestamppb"
)

Expand Down
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ options:
path: /go
env:
- GOPROXY=https://proxy.golang.org
- PROJECT_ROOT=github.com/google/certificate-transparency-go
- PROJECT_ROOT=github.com/rarimo/certificate-transparency-go
- GOPATH=/go

substitutions:
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild_master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ options:
path: /go
env:
- GOPROXY=https://proxy.golang.org
- PROJECT_ROOT=github.com/google/certificate-transparency-go
- PROJECT_ROOT=github.com/rarimo/certificate-transparency-go
- GOPATH=/go

substitutions:
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild_tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ options:
path: /go
env:
- GOPROXY=https://proxy.golang.org
- PROJECT_ROOT=github.com/google/certificate-transparency-go
- PROJECT_ROOT=github.com/rarimo/certificate-transparency-go
- GOPATH=/go

substitutions:
Expand Down
4 changes: 2 additions & 2 deletions ctpolicy/applepolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package ctpolicy

import (
"github.com/google/certificate-transparency-go/loglist3"
"github.com/google/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/loglist3"
"github.com/rarimo/certificate-transparency-go/x509"
)

// AppleCTPolicy implements logic for complying with Apple's CT log policy.
Expand Down
2 changes: 1 addition & 1 deletion ctpolicy/applepolicy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package ctpolicy
import (
"testing"

"github.com/google/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/x509"

"github.com/kylelemons/godebug/pretty"
)
Expand Down
4 changes: 2 additions & 2 deletions ctpolicy/chromepolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
package ctpolicy

import (
"github.com/google/certificate-transparency-go/loglist3"
"github.com/google/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/loglist3"
"github.com/rarimo/certificate-transparency-go/x509"
)

// ChromeCTPolicy implements logic for complying with Chrome's CT log policy
Expand Down
2 changes: 1 addition & 1 deletion ctpolicy/chromepolicy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package ctpolicy
import (
"testing"

"github.com/google/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/x509"

"github.com/kylelemons/godebug/pretty"
)
Expand Down
4 changes: 2 additions & 2 deletions ctpolicy/ctpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"fmt"
"sync"

"github.com/google/certificate-transparency-go/loglist3"
"github.com/google/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/loglist3"
"github.com/rarimo/certificate-transparency-go/x509"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions ctpolicy/ctpolicy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import (
"testing"
"time"

"github.com/google/certificate-transparency-go/loglist3"
"github.com/google/certificate-transparency-go/testdata"
"github.com/google/certificate-transparency-go/x509"
"github.com/google/certificate-transparency-go/x509util"
"github.com/rarimo/certificate-transparency-go/loglist3"
"github.com/rarimo/certificate-transparency-go/testdata"
"github.com/rarimo/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/x509util"
)

func getTestCertPEMShort() *x509.Certificate {
Expand Down
6 changes: 3 additions & 3 deletions ctutil/ctutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (
"errors"
"fmt"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/tls"
"github.com/google/certificate-transparency-go/x509"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/tls"
"github.com/rarimo/certificate-transparency-go/x509"
)

var emptyHash = [sha256.Size]byte{}
Expand Down
8 changes: 4 additions & 4 deletions ctutil/ctutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ import (
"encoding/base64"
"testing"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/testdata"
"github.com/google/certificate-transparency-go/tls"
"github.com/google/certificate-transparency-go/x509util"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/testdata"
"github.com/rarimo/certificate-transparency-go/tls"
"github.com/rarimo/certificate-transparency-go/x509util"
)

func TestLeafHash(t *testing.T) {
Expand Down
10 changes: 5 additions & 5 deletions ctutil/loginfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import (
"sync"
"time"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/client"
"github.com/google/certificate-transparency-go/jsonclient"
"github.com/google/certificate-transparency-go/loglist3"
"github.com/google/certificate-transparency-go/x509"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/client"
"github.com/rarimo/certificate-transparency-go/jsonclient"
"github.com/rarimo/certificate-transparency-go/loglist3"
"github.com/rarimo/certificate-transparency-go/x509"
"github.com/transparency-dev/merkle/proof"
"github.com/transparency-dev/merkle/rfc6962"
)
Expand Down
10 changes: 5 additions & 5 deletions ctutil/sctcheck/sctcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ import (
"strings"
"time"

"github.com/google/certificate-transparency-go/ctutil"
"github.com/google/certificate-transparency-go/loglist3"
"github.com/google/certificate-transparency-go/x509"
"github.com/google/certificate-transparency-go/x509util"
"github.com/rarimo/certificate-transparency-go/ctutil"
"github.com/rarimo/certificate-transparency-go/loglist3"
"github.com/rarimo/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/x509util"
"k8s.io/klog/v2"

ct "github.com/google/certificate-transparency-go"
ct "github.com/rarimo/certificate-transparency-go"
)

var (
Expand Down
16 changes: 8 additions & 8 deletions ctutil/sctscan/sctscan.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import (
"net/http"
"time"

ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/client"
"github.com/google/certificate-transparency-go/ctutil"
"github.com/google/certificate-transparency-go/jsonclient"
"github.com/google/certificate-transparency-go/loglist3"
"github.com/google/certificate-transparency-go/scanner"
"github.com/google/certificate-transparency-go/x509"
"github.com/google/certificate-transparency-go/x509util"
ct "github.com/rarimo/certificate-transparency-go"
"github.com/rarimo/certificate-transparency-go/client"
"github.com/rarimo/certificate-transparency-go/ctutil"
"github.com/rarimo/certificate-transparency-go/jsonclient"
"github.com/rarimo/certificate-transparency-go/loglist3"
"github.com/rarimo/certificate-transparency-go/scanner"
"github.com/rarimo/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/x509util"
"k8s.io/klog/v2"
)

Expand Down
8 changes: 4 additions & 4 deletions fixchain/chainfix/chainfix.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import (
"os"
"sync"

"github.com/google/certificate-transparency-go/client"
"github.com/google/certificate-transparency-go/fixchain"
"github.com/google/certificate-transparency-go/jsonclient"
"github.com/google/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/client"
"github.com/rarimo/certificate-transparency-go/fixchain"
"github.com/rarimo/certificate-transparency-go/jsonclient"
"github.com/rarimo/certificate-transparency-go/x509"
"golang.org/x/time/rate"
)

Expand Down
2 changes: 1 addition & 1 deletion fixchain/containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package fixchain
import (
"sync"

"github.com/google/certificate-transparency-go/x509"
"github.com/rarimo/certificate-transparency-go/x509"
)

type dedupedChain struct {
Expand Down
Loading

0 comments on commit cc6feff

Please sign in to comment.