Commit Graph

4229 Commits

Author SHA1 Message Date
Herman Slatman
ef1631b00d
Merge pull request #1762 from smallstep/herman/upgrade-pgx-v4.18.3
Upgrade `pgx` to `v4.18.3`
2024-03-12 15:28:38 +01:00
Herman Slatman
6204a1441e
Upgrade pgx to v4.18.3 2024-03-12 14:50:50 +01:00
github-actions[bot]
d03700b155
Merge pull request #1761 from smallstep/dependabot/go_modules/google.golang.org/grpc-1.62.1
Bump google.golang.org/grpc from 1.62.0 to 1.62.1
2024-03-12 14:38:04 +01:00
github-actions[bot]
1362d4dea6
Merge pull request #1759 from smallstep/dependabot/go_modules/go.step.sm/cli-utils-0.9.0
Bump go.step.sm/cli-utils from 0.8.0 to 0.9.0
2024-03-12 12:33:03 +01:00
dependabot[bot]
cc7ac97c51
Bump go.step.sm/cli-utils from 0.8.0 to 0.9.0
Bumps [go.step.sm/cli-utils](https://github.com/smallstep/cli-utils) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/smallstep/cli-utils/releases)
- [Commits](https://github.com/smallstep/cli-utils/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: go.step.sm/cli-utils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 09:37:08 +00:00
dependabot[bot]
22781b8460
Bump google.golang.org/grpc from 1.62.0 to 1.62.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.0 to 1.62.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.62.0...v1.62.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 09:36:15 +00:00
github-actions[bot]
9033120401
Merge pull request #1758 from smallstep/dependabot/go_modules/google.golang.org/api-0.169.0
Bump google.golang.org/api from 0.167.0 to 0.169.0
2024-03-12 10:33:55 +01:00
github-actions[bot]
87506d738c
Merge pull request #1760 from smallstep/dependabot/go_modules/golang.org/x/crypto-0.21.0
Bump golang.org/x/crypto from 0.19.0 to 0.21.0
2024-03-12 10:33:22 +01:00
dependabot[bot]
4940556234
Bump golang.org/x/crypto from 0.19.0 to 0.21.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.19.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.19.0...v0.21.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 15:46:38 +00:00
dependabot[bot]
299102955b
Bump google.golang.org/api from 0.167.0 to 0.169.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.167.0 to 0.169.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.167.0...v0.169.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 15:46:02 +00:00
Herman Slatman
5254702130
Merge pull request #1755 from smallstep/herman/export-requestid-middleware
Export `requestid` middleware
2024-03-08 14:36:28 +01:00
Herman Slatman
b7a6b93717
Add package comment 2024-03-08 14:30:07 +01:00
github-actions[bot]
9b1dfcf5d0
Merge pull request #1756 from smallstep/dependabot/go_modules/github.com/go-jose/go-jose/v3-3.0.3
Bump github.com/go-jose/go-jose/v3 from 3.0.2 to 3.0.3
2024-03-08 00:18:00 +01:00
dependabot[bot]
9327859f55
Bump github.com/go-jose/go-jose/v3 from 3.0.2 to 3.0.3
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Changelog](https://github.com/go-jose/go-jose/blob/v3.0.3/CHANGELOG.md)
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 23:07:36 +00:00
Carl Tashian
26b7761a9c
Merge pull request #1719 from smallstep/carl/fix-ra-install
Update RA installer step-ca package URL
2024-03-07 15:01:08 -08:00
Herman Slatman
b8510dd5b2
Make the requestid an exported middleware 2024-03-07 10:41:19 +01:00
Herman Slatman
4cae19f94f
Merge pull request #1753 from smallstep/fix-peak-typo
Fix `peak` -> `peek`
2024-03-07 10:18:11 +01:00
Herman Slatman
af76ebdc1d
Fix peak -> peek 2024-03-06 10:49:45 +01:00
github-actions[bot]
2e9c5bbc1a
Merge pull request #1747 from smallstep/dependabot/go_modules/github.com/go-chi/chi/v5-5.0.12
Bump github.com/go-chi/chi/v5 from 5.0.11 to 5.0.12
2024-03-06 10:38:58 +01:00
Herman Slatman
a7a4b47ead
Merge pull request #1751 from smallstep/herman/handle-server-startup-errors
Handle CA server startup errors
2024-03-06 10:32:29 +01:00
Herman Slatman
01de10d447
Merge pull request #1752 from smallstep/herman/upgrade-protobuf-v1.33.0
Upgrade `google.golang.org/protobuf` to `v1.33.0`
2024-03-06 10:31:07 +01:00
Herman Slatman
fa5117adaa
Upgrade google.golang.org/protobuf to v1.33.0 2024-03-05 23:33:50 +01:00
Herman Slatman
bbb80cde16
Add startup error shutdown message to log 2024-03-05 15:34:13 +01:00
Herman Slatman
f02d4546a9
Handle CA server startup errors 2024-03-05 11:08:24 +01:00
github-actions[bot]
ec223c1cc2
Merge pull request #1748 from smallstep/dependabot/go_modules/github.com/stretchr/testify-1.9.0
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
2024-03-05 00:08:25 +01:00
github-actions[bot]
b7e3e0be20
Merge pull request #1746 from smallstep/dependabot/go_modules/google.golang.org/api-0.167.0
Bump google.golang.org/api from 0.165.0 to 0.167.0
2024-03-04 16:17:50 +01:00
github-actions[bot]
022deaf610
Merge pull request #1749 from smallstep/dependabot/go_modules/github.com/prometheus/client_golang-1.19.0
Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0
2024-03-04 16:17:21 +01:00
dependabot[bot]
5853c73268
Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 15:10:09 +00:00
dependabot[bot]
cf0d6f8f5c
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 15:09:44 +00:00
dependabot[bot]
3656b458ea
Bump github.com/go-chi/chi/v5 from 5.0.11 to 5.0.12
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.11 to 5.0.12.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.0.11...v5.0.12)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 15:09:20 +00:00
dependabot[bot]
69c7ca9809
Bump google.golang.org/api from 0.165.0 to 0.167.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.165.0 to 0.167.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.165.0...v0.167.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 15:08:18 +00:00
Herman Slatman
10aa48c74a
Merge pull request #1743 from smallstep/herman/improve-request-id
Improve end-to-end request ID propagation
2024-03-04 13:58:21 +01:00
Herman Slatman
2a47644d31
Fix linting issue 2024-03-04 12:01:25 +01:00
Herman Slatman
d392c169fc
Improve functional coverage of request ID integration test 2024-03-04 12:00:08 +01:00
Herman Slatman
7fd524f70b
Default to generating request IDs using UUIDv4 format in CA 2024-03-01 01:04:50 +01:00
Herman Slatman
0898c6db97
Use UUIDv4 as automatically generated client request identifier 2024-03-01 01:04:31 +01:00
Carl Tashian
0d5c692b2c
Merge pull request #1744 from smallstep/carl/readme-updates
Updated README
2024-02-28 15:00:40 -08:00
Carl Tashian
cd3e91b198
Updated README 2024-02-28 14:36:25 -08:00
Herman Slatman
b9d6bfc1eb
Cleanup CA client tests by removing smallstep/assert 2024-02-28 14:39:38 +01:00
Herman Slatman
532b9df0a3
Improve CA client request ID handling 2024-02-28 13:57:37 +01:00
Herman Slatman
06696e6492
Move user ID handling to userid package 2024-02-28 13:37:51 +01:00
Herman Slatman
7e5f10927f
Decouple request ID middleware from logging middleware 2024-02-28 13:18:10 +01:00
Herman Slatman
535e2a96d5
Fix the e2e request ID test (again) 2024-02-28 11:24:03 +01:00
Herman Slatman
b83b8aa079
Make random TCP address reservation more contained 2024-02-28 11:09:40 +01:00
Herman Slatman
2255857b3a
Fix client shadowing and e2e request ID test case 2024-02-28 10:50:49 +01:00
Herman Slatman
5c2572c443
Add support for user provider X-Request-Id header value 2024-02-28 01:55:35 +01:00
Herman Slatman
cf8a50157f
Add a basic e2e test for X-Request-Id reflection 2024-02-28 01:05:38 +01:00
Panagiotis Siatras
fb4cd6fe81
fix: Webhook-related instruments
* fix: also instrument webhooks that do not reach the wire
* fix: register the webhook instrumentation
2024-02-27 22:43:45 +02:00
Herman Slatman
a58f5956e3
Add reflection of request ID in X-Request-Id response header 2024-02-27 20:48:56 +01:00
Herman Slatman
c798735f7e
Merge pull request #1542 from smallstep/herman/webhook-request-id
Propagate request ID when webhook requests are made
2024-02-27 20:07:37 +01:00