Skip to content

Commit de8e198

Browse files
authored
NOISSUE - Update certs and smq versions (#544)
* Update dependencies and refactor certificate generation to include context - Updated `cloud.google.com/go/compute/metadata` from v0.8.0 to v0.9.0. - Updated `github.com/absmach/certs` from v0.18.0 to v0.18.2. - Updated `github.com/absmach/supermq` from v0.18.1 to v0.18.2. - Updated `github.com/go-logfmt/logfmt` from v0.6.0 to v0.6.1. - Updated `github.com/grpc-ecosystem/grpc-gateway/v2` from v2.27.2 to v2.27.3. - Updated `github.com/prometheus/common` from v0.66.1 to v0.67.1. - Updated `github.com/rogpeppe/go-internal` from v1.13.1 to v1.14.1. - Updated `github.com/segmentio/asm` from v1.2.0 to v1.2.1. - Updated `go.opentelemetry.io/auto/sdk` from v1.1.0 to v1.2.1. - Updated `go.opentelemetry.io/proto/otlp` from v1.7.1 to v1.8.0. - Updated `golang.org/x/net` from v0.45.0 to v0.46.0. - Updated `golang.org/x/oauth2` from v0.30.0 to v0.32.0. - Updated `google.golang.org/genproto/googleapis/api` and `google.golang.org/genproto/googleapis/rpc` to the latest versions. - Refactored `generateCASignedCertificate` method in `certificate_provider.go` to accept a context parameter. - Updated calls to `generateCASignedCertificate` in `GetCertificate` and `TestCASignedCertificateErrors` to pass the context. Signed-off-by: Sammy Oina <sammyoina@gmail.com> * Update mockSDK method signatures in certificate error tests to include additional parameters Signed-off-by: Sammy Oina <sammyoina@gmail.com> --------- Signed-off-by: Sammy Oina <sammyoina@gmail.com>
1 parent 3b1605d commit de8e198

File tree

4 files changed

+63
-77
lines changed

4 files changed

+63
-77
lines changed

go.mod

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/ultravioletrs/cocos
22

3-
go 1.25.0
3+
go 1.25.3
44

55
require (
66
github.com/caarlos0/env/v11 v11.3.1
@@ -23,7 +23,7 @@ require (
2323

2424
require (
2525
cloud.google.com/go/storage v1.57.0
26-
github.com/absmach/supermq v0.18.1
26+
github.com/absmach/supermq v0.18.2
2727
github.com/caarlos0/env/v10 v10.0.0
2828
github.com/go-chi/chi/v5 v5.2.3
2929
github.com/golang-jwt/jwt/v5 v5.3.0
@@ -35,7 +35,7 @@ require (
3535
cloud.google.com/go v0.121.6 // indirect
3636
cloud.google.com/go/auth v0.16.5 // indirect
3737
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
38-
cloud.google.com/go/compute/metadata v0.8.0 // indirect
38+
cloud.google.com/go/compute/metadata v0.9.0 // indirect
3939
cloud.google.com/go/iam v1.5.2 // indirect
4040
cloud.google.com/go/monitoring v1.24.2 // indirect
4141
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.29.0 // indirect
@@ -74,17 +74,16 @@ require (
7474
github.com/planetscale/vtprotobuf v0.6.1-0.20240917153116-6f2963f01587 // indirect
7575
github.com/spiffe/go-spiffe/v2 v2.5.0 // indirect
7676
github.com/zeebo/errs v1.4.0 // indirect
77-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
77+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
7878
go.opentelemetry.io/contrib/detectors/gcp v1.36.0 // indirect
7979
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 // indirect
8080
go.opentelemetry.io/otel v1.38.0 // indirect
8181
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.38.0 // indirect
8282
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.38.0 // indirect
8383
go.opentelemetry.io/otel/sdk v1.38.0 // indirect
8484
go.opentelemetry.io/otel/sdk/metric v1.38.0 // indirect
85-
go.yaml.in/yaml/v2 v2.4.2 // indirect
86-
golang.org/x/exp v0.0.0-20250606033433-dcc06ee1d476 // indirect
87-
golang.org/x/oauth2 v0.30.0 // indirect
85+
go.yaml.in/yaml/v2 v2.4.3 // indirect
86+
golang.org/x/oauth2 v0.32.0 // indirect
8887
golang.org/x/time v0.12.0 // indirect
8988
google.golang.org/api v0.247.0 // indirect
9089
google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect
@@ -93,39 +92,39 @@ require (
9392
)
9493

9594
require (
96-
github.com/absmach/certs v0.18.0
95+
github.com/absmach/certs v0.18.2
9796
github.com/beorn7/perks v1.0.1 // indirect
9897
github.com/cespare/xxhash/v2 v2.3.0 // indirect
9998
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
10099
github.com/docker/docker v28.5.1+incompatible
101100
github.com/edgelesssys/go-azguestattestation v0.0.0-20250408071817-8c4457b235ff
102101
github.com/go-kit/log v0.2.1 // indirect
103-
github.com/go-logfmt/logfmt v0.6.0 // indirect
102+
github.com/go-logfmt/logfmt v0.6.1 // indirect
104103
github.com/go-logr/logr v1.4.3 // indirect
105104
github.com/go-logr/stdr v1.2.2 // indirect
106105
github.com/google/go-configfs-tsm v0.3.3-0.20240919001351-b4b5b84fdcbc // indirect
107106
github.com/google/go-tpm v0.9.6
108107
github.com/google/go-tpm-tools v0.4.6
109108
github.com/google/logger v1.1.1
110109
github.com/google/uuid v1.6.0
111-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2 // indirect
110+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.3 // indirect
112111
github.com/inconshreveable/mousetrap v1.1.0 // indirect
113112
github.com/pkg/errors v0.9.1 // indirect
114113
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
115114
github.com/prometheus/client_golang v1.23.2
116115
github.com/prometheus/client_model v0.6.2 // indirect
117-
github.com/prometheus/common v0.66.1 // indirect
116+
github.com/prometheus/common v0.67.1 // indirect
118117
github.com/prometheus/procfs v0.17.0 // indirect
119-
github.com/stretchr/objx v0.5.2 // indirect
118+
github.com/stretchr/objx v0.5.3 // indirect
120119
go.opentelemetry.io/otel/metric v1.38.0 // indirect
121-
go.opentelemetry.io/proto/otlp v1.7.1 // indirect
120+
go.opentelemetry.io/proto/otlp v1.8.0 // indirect
122121
go.uber.org/multierr v1.11.0 // indirect
123-
golang.org/x/net v0.45.0 // indirect
122+
golang.org/x/net v0.46.0 // indirect
124123
golang.org/x/sys v0.37.0 // indirect
125124
golang.org/x/term v0.36.0
126125
golang.org/x/text v0.30.0 // indirect
127-
google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 // indirect
128-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 // indirect
126+
google.golang.org/genproto/googleapis/api v0.0.0-20251014184007-4626949a642f // indirect
127+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251014184007-4626949a642f // indirect
129128
gopkg.in/yaml.v3 v3.0.1 // indirect
130129
)
131130

0 commit comments

Comments
 (0)