aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2025-03-12 18:18:45 +0100
committerRasmus Dahlberg <rasmus@rgdd.se>2025-03-12 18:38:43 +0100
commitd0545c3a22bc0d2ffebe85d8fd0188864f23ae2e (patch)
tree8880f897ce2f0a73ec870ccca681f83f206359b3
parent21d0efb2e2551b41a20a28a9cba5fed281629938 (diff)
chore: Set go module name rgdd.se/ct-sans
-rw-r--r--README.md2
-rw-r--r--cmd_collect.go6
-rw-r--r--cmd_snapshot.go2
-rw-r--r--docs/operations.md9
-rw-r--r--go.mod2
-rw-r--r--main.go8
6 files changed, 19 insertions, 10 deletions
diff --git a/README.md b/README.md
index 71aec2a..a6f67f1 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ You will need a [Go compiler][] and [GNU sort][] on the local system:
Install `ct-sans`:
- $ go install git.cs.kau.se/rasmoste/ct-sans@latest
+ $ go install rgdd.se/ct-sans@latest
$ which ct-sans >/dev/null || echo "ct-sans not in PATH"
List all options:
diff --git a/cmd_collect.go b/cmd_collect.go
index 79043a1..1855172 100644
--- a/cmd_collect.go
+++ b/cmd_collect.go
@@ -12,13 +12,13 @@ import (
"sync"
"time"
- "git.cs.kau.se/rasmoste/ct-sans/internal/chunk"
- "git.cs.kau.se/rasmoste/ct-sans/internal/merkle"
- "git.cs.kau.se/rasmoste/ct-sans/internal/x509"
"github.com/google/certificate-transparency-go/client"
"github.com/google/certificate-transparency-go/jsonclient"
"github.com/google/certificate-transparency-go/scanner"
"gitlab.torproject.org/rgdd/ct/pkg/metadata"
+ "rgdd.se/ct-sans/internal/chunk"
+ "rgdd.se/ct-sans/internal/merkle"
+ "rgdd.se/ct-sans/internal/x509"
)
func collect(opts options) error {
diff --git a/cmd_snapshot.go b/cmd_snapshot.go
index 464c684..9064a38 100644
--- a/cmd_snapshot.go
+++ b/cmd_snapshot.go
@@ -13,11 +13,11 @@ import (
"os"
"time"
- "git.cs.kau.se/rasmoste/ct-sans/internal/merkle"
ct "github.com/google/certificate-transparency-go"
"github.com/google/certificate-transparency-go/client"
"github.com/google/certificate-transparency-go/jsonclient"
"gitlab.torproject.org/rgdd/ct/pkg/metadata"
+ "rgdd.se/ct-sans/internal/merkle"
)
func snapshot(opts options) error {
diff --git a/docs/operations.md b/docs/operations.md
index 914f7b4..26fe96e 100644
--- a/docs/operations.md
+++ b/docs/operations.md
@@ -75,6 +75,7 @@ The versions of `git.cs.kau.se/rasmoste/ct-sans@VERSION` are listed below.
| 2024/02/10 | 09:10:20 | snapshot and start collect | still running v0.0.2 [6] |
| 2024/02/12 | 03:54:13 | abort collection | not needed for our paper contribs [7] |
| 2025/01/06 | | find rate-limit bug | [8] |
+| 2025/03/12 | | update Go module name | to reflect current code repo [9] |
## Notes
@@ -257,3 +258,11 @@ workers gave worse performance -- presumable because of too many status 429),
then we were probably not overshooting by a lot. But again, hard to say.
[manually]: https://git.rgdd.se/ct-sans/tree/utils_ct.go?h=v0.0.2#n42
+
+## 9
+
+Code is hosted at <https://git.rgdd.se/ct-sans>.
+
+The Go module name is `rgdd.se/ct-sans`, effective from v0.1.0 and forward. It
+is still possible to install older versions with the old `git.cs.kau.se` Go
+module name (thanks to Go's infrastructure), as shown earlier in the timeline.
diff --git a/go.mod b/go.mod
index 1e37f66..5d73a37 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module git.cs.kau.se/rasmoste/ct-sans
+module rgdd.se/ct-sans
go 1.22.0
diff --git a/main.go b/main.go
index 5c25fa4..ee73186 100644
--- a/main.go
+++ b/main.go
@@ -2,7 +2,7 @@
//
// Install:
//
-// go install git.cs.kau.se/rasmoste/ct-sans@latest
+// go install rgdd.se/ct-sans@latest
//
// Usage:
//
@@ -16,7 +16,7 @@ import (
"os"
"time"
- "git.cs.kau.se/rasmoste/ct-sans/internal/ctflag"
+ "rgdd.se/ct-sans/internal/ctflag"
)
const usage = `ct-sans collects SANs in CT-logged certificates
@@ -46,7 +46,7 @@ Collect options:
-w, --workers: Max number of parallel download workers per log (Default: 2).
-k, --batch-disk: Certificate batch size before persisting (Default: 256)
-q, --batch-req: Certificate batch size to use in request (Default: 128)
- -a, --http-agent: HTTP agent to use in all request (Default: "git.cs.kau.se/rasmoste/ct-sans")
+ -a, --http-agent: HTTP agent to use in all request (Default: "rgdd.se/ct-sans")
-m, --metrics: How often to emit metrics to stderr (Default: 16s)
Asemble options:
@@ -104,7 +104,7 @@ func main() {
ctflag.Uint64(&fs, &opts.WorkersPerLog, "workers", "w", 2)
ctflag.Uint64(&fs, &opts.PersistSize, "batch-disk", "k", 256)
ctflag.Uint64(&fs, &opts.BatchSize, "batch-req", "q", 128)
- ctflag.String(&fs, &opts.HTTPAgent, "http-agent", "a", "git.cs.kau.se/rasmoste/ct-sans")
+ ctflag.String(&fs, &opts.HTTPAgent, "http-agent", "a", "rgdd.se/ct-sans")
ctflag.Duration(&fs, &opts.MetricsInterval, "metrics", "m", 16*time.Second)
ctflag.Uint64(&fs, &opts.BufferSize, "buffer-size", "b", 1)