diff options
author | Rasmus Dahlberg <rasmus@rgdd.se> | 2025-03-12 18:18:45 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@rgdd.se> | 2025-03-12 18:38:43 +0100 |
commit | d0545c3a22bc0d2ffebe85d8fd0188864f23ae2e (patch) | |
tree | 8880f897ce2f0a73ec870ccca681f83f206359b3 | |
parent | 21d0efb2e2551b41a20a28a9cba5fed281629938 (diff) |
chore: Set go module name rgdd.se/ct-sans
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | cmd_collect.go | 6 | ||||
-rw-r--r-- | cmd_snapshot.go | 2 | ||||
-rw-r--r-- | docs/operations.md | 9 | ||||
-rw-r--r-- | go.mod | 2 | ||||
-rw-r--r-- | main.go | 8 |
6 files changed, 19 insertions, 10 deletions
@@ -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. @@ -1,4 +1,4 @@ -module git.cs.kau.se/rasmoste/ct-sans +module rgdd.se/ct-sans go 1.22.0 @@ -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) |