pomerium/internal/testutil
Joe Kralicky 33abea3ea6
ssh: improve 'whoami' format (#5714)
Old:
```
User ID:    xxx
Session ID: xxx
Expires at: 2025-07-10 08:39:40.64992461 +0000 UTC
Claims:
  aud: [xxx]
  email: [foo@bar.com]
  email_verified: [true]
  exp: [1.75212238e+09]
  family_name: [bar]
  given_name: [foo]
  iat: [1.75208638e+09]
  iss: [https://example.com]
  name: [Foo Bar]
  nickname: [foobar]
  picture: [https://example.com]
  sub: [xxx]
  updated_at: [2025-07-09T18:12:15.226Z]
```

New:
```
User ID:    xxx
Session ID: xxx
Expires at: 2025-07-10 11:23:27.641004885 +0000 UTC (in 13h59m57s)
Claims:
  aud: "xxx"
  email: "foo@bar.com"
  email_verified: true
  exp: 2025-07-10 07:23:27 +0000 UTC (in 9h59m56s)
  family_name: "bar"
  given_name: "foo"
  iat: 2025-07-09 21:23:27 +0000 UTC (4s ago)
  iss: "https://example.com"
  name: "Foo Bar"
  nickname: "foobar"
  picture: "https://example.com"
  sub: "xxx"
  updated_at: "2025-07-09T18:12:15.226Z"

```
2025-07-10 15:57:07 -04:00
..
mockidp ssh: improve 'whoami' format (#5714) 2025-07-10 15:57:07 -04:00
tracetest upgrade to go v1.24 (#5562) 2025-04-02 15:53:09 -06:00
context.go chore(deps): bump the go group with 24 updates (#5638) 2025-06-17 09:36:50 -07:00
grpc.go core/zero: add usage reporter (#5281) 2024-09-12 15:45:54 -06:00
log.go chore(deps): bump github.com/spf13/viper from 1.16.0 to 1.18.2 (#4861) 2023-12-27 16:16:38 -07:00
minio.go chore(deps): bump the go group with 39 updates (#5559) 2025-04-04 16:26:51 -07:00
postgres.go chore(deps): bump the go group with 39 updates (#5559) 2025-04-04 16:26:51 -07:00
testutil.go testutil: use cmp.Diff in protobuf json assertion (#5517) 2025-03-07 20:20:27 -05:00
tls.go cryptutil: add a function to normalize PEM files so that leaf certificates appear first (#5642) 2025-06-06 12:37:02 -06:00