mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-12-18 12:54:18 +01:00
Move package to software.sslmate.com/src/certspotter
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
package certspotter
|
package certspotter
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"src.agwa.name/certspotter/ct"
|
"software.sslmate.com/src/certspotter/ct"
|
||||||
"bytes"
|
"bytes"
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -18,9 +18,9 @@ import (
|
|||||||
|
|
||||||
"golang.org/x/net/idna"
|
"golang.org/x/net/idna"
|
||||||
|
|
||||||
"src.agwa.name/certspotter"
|
"software.sslmate.com/src/certspotter"
|
||||||
"src.agwa.name/certspotter/ct"
|
"software.sslmate.com/src/certspotter/ct"
|
||||||
"src.agwa.name/certspotter/cmd"
|
"software.sslmate.com/src/certspotter/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func DefaultStateDir () string {
|
func DefaultStateDir () string {
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"src.agwa.name/certspotter"
|
"software.sslmate.com/src/certspotter"
|
||||||
"src.agwa.name/certspotter/ct"
|
"software.sslmate.com/src/certspotter/ct"
|
||||||
)
|
)
|
||||||
|
|
||||||
var batchSize = flag.Int("batch_size", 1000, "Max number of entries to request at per call to get-entries")
|
var batchSize = flag.Int("batch_size", 1000, "Max number of entries to request at per call to get-entries")
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ import (
|
|||||||
"flag"
|
"flag"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"src.agwa.name/certspotter"
|
"software.sslmate.com/src/certspotter"
|
||||||
"src.agwa.name/certspotter/ct"
|
"software.sslmate.com/src/certspotter/ct"
|
||||||
"src.agwa.name/certspotter/cmd"
|
"software.sslmate.com/src/certspotter/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func DefaultStateDir () string {
|
func DefaultStateDir () string {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"src.agwa.name/certspotter/ct"
|
"software.sslmate.com/src/certspotter/ct"
|
||||||
"github.com/mreiferson/go-httpclient"
|
"github.com/mreiferson/go-httpclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import (
|
|||||||
"encoding/pem"
|
"encoding/pem"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"src.agwa.name/certspotter/ct"
|
"software.sslmate.com/src/certspotter/ct"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ReadSTHFile (path string) (*ct.SignedTreeHead, error) {
|
func ReadSTHFile (path string) (*ct.SignedTreeHead, error) {
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ import (
|
|||||||
"crypto"
|
"crypto"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"src.agwa.name/certspotter/ct"
|
"software.sslmate.com/src/certspotter/ct"
|
||||||
"src.agwa.name/certspotter/ct/client"
|
"software.sslmate.com/src/certspotter/ct/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ProcessCallback func(*Scanner, *ct.LogEntry)
|
type ProcessCallback func(*Scanner, *ct.LogEntry)
|
||||||
|
|||||||
Reference in New Issue
Block a user