Commit Graph

99 Commits

Author SHA1 Message Date
ViViDboarder a7fc1e9b98 Log some Vaultwarden API failures
For the invite call, which is made for every user, check if the error is
reported as being related to the request body. If so, we won't panic and
will instead log the result.
2022-09-21 21:28:34 -07:00
Ian ce6cb783d0
Merge pull request #82 from epsilon-0/master
add security features on OpenBSD
2022-06-08 21:51:43 -07:00
Aisha Tammy 97a64c7247 add security features on OpenBSD
Signed-off-by: Aisha Tammy <floss@bsd.ac>
2022-05-24 16:30:41 -04:00
Ian dd92cc509a
Merge pull request #54 from ViViDboarder/dependabot/cargo/serde-1.0.132
Bump serde from 1.0.131 to 1.0.132
2022-01-20 13:02:58 -08:00
Ian 8ab22b5788
Merge pull request #56 from ViViDboarder/dependabot/cargo/serde_json-1.0.73
Bump serde_json from 1.0.72 to 1.0.73
2022-01-20 13:02:42 -08:00
Ian 4d71304f91
Merge pull request #59 from ViViDboarder/dependabot/cargo/reqwest-0.11.9
Bump reqwest from 0.11.7 to 0.11.9
2022-01-20 13:02:17 -08:00
Ian 7514928afe
Merge pull request #55 from ViViDboarder/dependabot/cargo/anyhow-1.0.52
Bump anyhow from 1.0.51 to 1.0.52
2022-01-20 13:01:55 -08:00
dependabot[bot] ef52691c63
Bump reqwest from 0.11.7 to 0.11.9
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.7 to 0.11.9.
- [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.7...v0.11.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-20 20:59:16 +00:00
dependabot[bot] 8992de2e6b
Bump anyhow from 1.0.51 to 1.0.52
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.51...1.0.52)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-20 20:58:19 +00:00
ViViDboarder 5d41a1532f Update ca-certs for alpine 2022-01-20 12:52:59 -08:00
ViViDboarder 13760d7e6f Fix hadolint in github actions 2022-01-20 12:46:32 -08:00
ViViDboarder 71aa764522 Bump cargo versions in prep for release 2022-01-20 12:46:32 -08:00
ViViDboarder 653891102b Update pre-commit hooks 2022-01-20 12:32:10 -08:00
dependabot[bot] 2d5656bd22
Bump serde_json from 1.0.72 to 1.0.73
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.72...v1.0.73)

---
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-01-01 04:09:35 +00:00
dependabot[bot] b134df4653
Bump serde from 1.0.131 to 1.0.132
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 04:09:20 +00:00
dependabot[bot] f1b229ebc3
Merge pull request #45 from ViViDboarder/dependabot/cargo/reqwest-0.11.4 2021-12-11 01:49:36 +00:00
ViViDboarder 829ae70a9b Update reqwest usage for new version
Had to rebuild lock
2021-12-10 16:32:54 -08:00
dependabot[bot] fce9d3064c
Bump reqwest from 0.9.24 to 0.11.4
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.9.24 to 0.11.4.
- [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.9.24...v0.11.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 18:38:37 +00:00
dependabot[bot] 741ece568a
Merge pull request #44 from ViViDboarder/dependabot/cargo/ldap3-0.9.3 2021-12-10 18:37:18 +00:00
dependabot[bot] 4c4112cd82
Merge pull request #49 from ViViDboarder/dependabot/cargo/anyhow-1.0.51 2021-12-10 18:32:48 +00:00
ViViDboarder 3a34f70385 Make ldap mutable to support new version 2021-12-10 10:25:12 -08:00
dependabot[bot] 1c69bd6936
Bump anyhow from 1.0.42 to 1.0.51
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.42 to 1.0.51.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.42...1.0.51)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 18:16:09 +00:00
Ian 9e7f4a7820
Merge pull request #48 from ViViDboarder/dependabot/cargo/serde_json-1.0.72
Bump serde_json from 1.0.64 to 1.0.72
2021-12-10 10:15:38 -08:00
Ian 3c83cde044
Merge pull request #46 from ViViDboarder/dependabot/cargo/serde-1.0.131
Bump serde from 1.0.126 to 1.0.131
2021-12-10 10:15:22 -08:00
Ian 07b05844b3
Merge pull request #47 from ViViDboarder/dependabot/cargo/thiserror-1.0.30
Bump thiserror from 1.0.26 to 1.0.30
2021-12-10 10:14:53 -08:00
dependabot[bot] 0c2c2eae0d
Bump serde_json from 1.0.64 to 1.0.72
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.64 to 1.0.72.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.64...v1.0.72)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 18:09:13 +00:00
Ian bc390527bd
Merge pull request #43 from ViViDboarder/dependabot/github_actions/pre-commit/action-2.0.3
Bump pre-commit/action from 2.0.2 to 2.0.3
2021-12-10 10:09:13 -08:00
dependabot[bot] d9468b0105
Bump thiserror from 1.0.26 to 1.0.30
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.26 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.26...1.0.30)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 18:09:09 +00:00
dependabot[bot] d29d7ffb07
Bump serde from 1.0.126 to 1.0.131
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.126 to 1.0.131.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.131)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 18:09:07 +00:00
dependabot[bot] ade0192e11
Bump ldap3 from 0.6.1 to 0.9.3
Bumps [ldap3](https://github.com/inejge/ldap3) from 0.6.1 to 0.9.3.
- [Release notes](https://github.com/inejge/ldap3/releases)
- [Changelog](https://github.com/inejge/ldap3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/inejge/ldap3/compare/v0.6.1...v0.9.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 18:08:56 +00:00
dependabot[bot] 40113a71d4
Bump pre-commit/action from 2.0.2 to 2.0.3
Bumps [pre-commit/action](https://github.com/pre-commit/action) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pre-commit/action/releases)
- [Commits](https://github.com/pre-commit/action/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: pre-commit/action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 18:08:10 +00:00
Ian 55e3536c70
Merge pull request #42 from GoliathLabs/dependabot
Added: dependabot.yml
2021-12-10 10:07:51 -08:00
GoliathLabs d21c835411
Added: newline 2021-12-10 18:12:20 +01:00
GoliathLabs 0d49839189
Added: dependabot.yml 2021-12-10 18:10:47 +01:00
ViViDboarder 60699e6f5a Ignore consecutive run statement in hadolint 2021-11-29 10:47:33 -08:00
ViViDboarder 85511d8dc9 Update rust build to 1.56.1 and alpine rust version to 1.51.0 2021-11-29 10:22:52 -08:00
ViViDboarder db03a5299f Fix new linting error (thanks clippy!) 2021-09-20 17:01:52 -07:00
ViViDboarder 96d7483d31 More descriptive errors when failing to parse a config file 2021-09-20 17:01:27 -07:00
ViViDboarder 94d82a827f Bump version to v0.6.1 2021-07-23 15:53:23 -07:00
ViViDboarder 21a50a1ee0 Fix alpine build 2021-07-23 15:52:34 -07:00
ViViDboarder 5682eab8dc Update Readme to describe how to configure using env variables 2021-07-23 15:33:43 -07:00
ViViDboarder 556a8edbe7 Bump release v0.6.0 2021-07-23 15:29:49 -07:00
ViViDboarder 0ea5eadd71 Make running integration tests easier 2021-07-23 15:28:19 -07:00
ViViDboarder 5fd947f127 Clean up of env config PR 2021-07-23 15:27:45 -07:00
Tobias Florek f25278ea3c implement loading config from environment
This still has the bug, that envy conflicts with serde's
deny_unknown_fields option.

For the time being use e.g.
```
env -i VAULTWARDEN_URL=https://example.com vaultwarden_ldap
```
2021-07-23 15:09:30 -07:00
ViViDboarder 5238bc1b60 Slim final image
Using an intermediate image for building. Could possibly slim further by making the `RUN_TAG` a slim variant
2021-06-21 13:38:36 -07:00
ViViDboarder 08dcdd2bba Bump minor version 2021-06-13 20:22:30 -07:00
ViViDboarder a1a69617e3 Use correct image name 2021-06-13 20:00:15 -07:00
ViViDboarder 80a16664e8 Update Dockerfile.alpine to pass hadolint 2021-06-13 19:50:05 -07:00
ViViDboarder 13e0775d56 Add GitHub Actions
Using GHA for builds rather than Docker Hub
2021-06-13 19:07:02 -07:00