Commit graph

196 commits

Author SHA1 Message Date
Eugene b0adb487ef
Update Cargo.lock 2024-07-18 16:36:47 +02:00
Eugene 0ed2104974
bumped russh to 0.44 2024-07-18 09:49:04 +02:00
Eugene ebb6956b82
re-save ed25519 keys to fix the encoding error 2024-07-16 22:01:07 +02:00
Eugene 571abb1cb1
bumped russh to 0.44.0-beta.4 2024-07-16 21:14:28 +02:00
Eugene f07b9246a8
switch to rustls 2024-07-16 12:56:42 +02:00
Eugene 4afa979de2
bump rust some more 2024-07-16 10:40:27 +02:00
Eugene 21e0008695
updated russh to 0.43 (#970) 2024-03-24 11:04:21 +01:00
Skyler Mansfield 916d51a4e8
Add support for role mappings on custom SSO providers. (#920)
This is done using the `role_mappings` property.
Roles to be mapped are gotten from the 'warp_groups` oidc claim:
```sso_providers: 
  - name: custom_sso
    label: Custom SSO
    provider:
      type: custom
      client_id: <client_id>
      client_secret: <client_secret>
      issuer_url: <issuer_url>
      scopes: ["email", "profile", "openid", "warp_groups"] #warp_groups is scope name to request for my demo case, which adds a "warpgate_groups" claim to the userinfo
      role_mappings: 
        - ["warpgate:admin", "warpgate:admin"]
```
This maps the `warpgate:admin` group from OIDC to the `warpgate:admin`
role.

This [video on YouTube](https://youtu.be/XCYSGGCgk9Q) demonstrates the
functionality

---------

Co-authored-by: Eugene <inbox@null.page>
2024-03-23 12:05:12 +01:00
Eugene 65f0056490
bumped russh (#958) 2024-03-04 10:19:41 +01:00
Eugene 2d6621f5c8
bumped rust 2024-01-23 12:05:59 +01:00
Eugene 12fdf628a5
bumped russh to fix CVE-2023-48795 2023-12-18 16:18:05 +01:00
Eugene 2bdb69e8d1
bumped russh 2023-12-12 21:47:05 +01:00
Eugene 74d4db9f3c
Update Cargo.lock 2023-11-23 19:42:55 +01:00
Eugene 80ec7444f9
Update Cargo.lock 2023-11-23 17:30:52 +01:00
Eugene a4df7f7a21
fixed GHSA-3cjp-w4cp-m9c8 - interpreting SSH public key offers as a successful authentication 2023-09-27 22:08:49 +02:00
Eugene Pankov 983d0ad49b
bumped russh 2023-08-17 22:02:14 +02:00
Eugene Pankov aca8d3d515 fixed #857 - fixed default ticket expiry on MySQL, bumped sea-orm 2023-08-08 21:06:01 +02:00
Eugene Pankov 0bc9ae1b1a fixed #854 - show session details during OOB auth 2023-08-07 22:28:15 +02:00
Eugene Pankov 2b6531c97b
Update Cargo.lock 2023-07-10 12:36:14 +02:00
Eugene Pankov 9b83658d6c
Update Cargo.lock 2023-04-23 21:44:34 -07:00
dependabot[bot] 707ab17c2c Bump reqwest from 0.11.11 to 0.11.16
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.11 to 0.11.16.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.11...v0.11.16)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 14:08:15 +02:00
Cléo REBERT 73d8b88cab
Update Cargo.lock
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
2023-04-19 11:06:02 +02:00
Cléo REBERT c633e71d9c
Merge branch 'main' of github.com:constantoine/warpgate 2023-04-19 11:05:25 +02:00
Cléo REBERT 86daf9f38e
Fix build after cargo update
* Fix project not building after `cargo update`

* Bump totp-rs from 3.x to 5.x

* Bump sea-orm to 0.10 to 0.11

* Remove `chrono` unused features to get rid of warning during `cargo audit`
2023-04-19 10:59:19 +02:00
Cléo REBERT 7b6b5d0acd
Fixed compilation
- Fixed compilation after `cargo update`
- Bumpped totp-rs from 3.x to 5.X

Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
2023-04-12 17:19:04 +02:00
Eugene Pankov 6b3b49a83a
bumped russh to fix CVE-2023-28113 2023-03-17 09:58:50 +01:00
dependabot[bot] 9d701a9d6f Bump rustls-pemfile from 1.0.1 to 1.0.2
Bumps [rustls-pemfile](https://github.com/rustls/pemfile) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/rustls/pemfile/releases)
- [Commits](https://github.com/rustls/pemfile/commits/v/1.0.2)

---
updated-dependencies:
- dependency-name: rustls-pemfile
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 13:02:24 +01:00
dependabot[bot] 01e69d5234 Bump sea-orm-migration from 0.10.5 to 0.10.6
Bumps [sea-orm-migration](https://github.com/SeaQL/sea-orm) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/SeaQL/sea-orm/releases)
- [Changelog](https://github.com/SeaQL/sea-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-orm/compare/0.10.5...0.10.6)

---
updated-dependencies:
- dependency-name: sea-orm-migration
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 13:01:28 +01:00
dependabot[bot] d58f0917a1 Bump thiserror from 1.0.31 to 1.0.38
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.31 to 1.0.38.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.31...1.0.38)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:34:30 +01:00
dependabot[bot] 3be3971bf7 Bump once_cell from 1.14.0 to 1.17.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.14.0 to 1.17.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.14.0...v1.17.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:34:02 +01:00
dependabot[bot] c8abd37f71 Bump serde from 1.0.144 to 1.0.152
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.144 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.152)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:33:49 +01:00
dependabot[bot] e4c7069a94 Bump sea-orm from 0.10.5 to 0.10.6
Bumps [sea-orm](https://github.com/SeaQL/sea-orm) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/SeaQL/sea-orm/releases)
- [Changelog](https://github.com/SeaQL/sea-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-orm/compare/0.10.5...0.10.6)

---
updated-dependencies:
- dependency-name: sea-orm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:33:37 +01:00
dependabot[bot] bb01422398 Bump console from 0.15.2 to 0.15.4
Bumps [console](https://github.com/console-rs/console) from 0.15.2 to 0.15.4.
- [Release notes](https://github.com/console-rs/console/releases)
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md)
- [Commits](https://github.com/console-rs/console/compare/0.15.2...0.15.4)

---
updated-dependencies:
- dependency-name: console
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:32:39 +01:00
dependabot[bot] cbac342861 Bump tokio from 1.20.2 to 1.20.3
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.2 to 1.20.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.2...tokio-1.20.3)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:32:28 +01:00
dependabot[bot] 4af74e4c4d Bump sea-orm-migration from 0.10.2 to 0.10.5
Bumps [sea-orm-migration](https://github.com/SeaQL/sea-orm) from 0.10.2 to 0.10.5.
- [Release notes](https://github.com/SeaQL/sea-orm/releases)
- [Changelog](https://github.com/SeaQL/sea-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-orm/compare/0.10.2...0.10.5)

---
updated-dependencies:
- dependency-name: sea-orm-migration
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:30:36 +01:00
dependabot[bot] 456dcc468d Bump anyhow from 1.0.62 to 1.0.68
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.62 to 1.0.68.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.62...1.0.68)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:30:29 +01:00
dependabot[bot] 427408d1c1 Bump cookie from 0.16.1 to 0.16.2
Bumps [cookie](https://github.com/SergioBenitez/cookie-rs) from 0.16.1 to 0.16.2.
- [Release notes](https://github.com/SergioBenitez/cookie-rs/releases)
- [Changelog](https://github.com/SergioBenitez/cookie-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SergioBenitez/cookie-rs/compare/0.16.1...0.16.2)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:30:16 +01:00
dependabot[bot] 52f32327b0 Bump data-encoding from 2.3.2 to 2.3.3
Bumps [data-encoding](https://github.com/ia0/data-encoding) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/ia0/data-encoding/releases)
- [Commits](https://github.com/ia0/data-encoding/commits)

---
updated-dependencies:
- dependency-name: data-encoding
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:30:08 +01:00
Eugene Pankov e852140f75
bumped poem-openapi 2023-01-09 21:29:37 +01:00
dependabot[bot] 9f44f618ae Bump async-trait from 0.1.56 to 0.1.61
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.56 to 0.1.61.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.61)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:26:02 +01:00
Eugene Pankov f4aeaf63a4
bumped russh 2023-01-08 20:37:15 +01:00
Eugene Pankov 56ffb22fca
Merge branch 'main' of https://github.com/warp-tech/warpgate 2022-12-14 22:22:34 +01:00
dependabot[bot] f9d73f996a Bump serde_json from 1.0.88 to 1.0.89
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.88...v1.0.89)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:17:49 +01:00
dependabot[bot] fb0223679b Bump bytes from 1.2.1 to 1.3.0
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/commits)

---
updated-dependencies:
- dependency-name: bytes
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:15:13 +01:00
dependabot[bot] 1234e6e26c Bump poem from 1.3.48 to 1.3.50
Bumps [poem](https://github.com/poem-web/poem) from 1.3.48 to 1.3.50.
- [Release notes](https://github.com/poem-web/poem/releases)
- [Commits](https://github.com/poem-web/poem/commits)

---
updated-dependencies:
- dependency-name: poem
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:14:39 +01:00
dependabot[bot] 8354643e3f Bump sea-orm from 0.10.3 to 0.10.5
Bumps [sea-orm](https://github.com/SeaQL/sea-orm) from 0.10.3 to 0.10.5.
- [Release notes](https://github.com/SeaQL/sea-orm/releases)
- [Changelog](https://github.com/SeaQL/sea-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-orm/compare/0.10.3...0.10.5)

---
updated-dependencies:
- dependency-name: sea-orm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:14:15 +01:00
dependabot[bot] ee5c973d44 Bump tokio from 1.20.1 to 1.20.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.1 to 1.20.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.1...tokio-1.20.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:12:35 +01:00
dependabot[bot] 794094ee3d Bump mysql_common from 0.29.0 to 0.29.2
Bumps [mysql_common](https://github.com/blackbeam/rust_mysql_common) from 0.29.0 to 0.29.2.
- [Release notes](https://github.com/blackbeam/rust_mysql_common/releases)
- [Commits](https://github.com/blackbeam/rust_mysql_common/compare/v0.29.0...v0.29.2)

---
updated-dependencies:
- dependency-name: mysql_common
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:12:15 +01:00
Eugene Pankov 94c5faf493
bumped russh 2022-12-14 22:05:15 +01:00
Eugene Pankov b3ba3e7dd9
Update Cargo.lock 2022-11-26 20:29:42 +01:00