Commit Graph

26 Commits

Author SHA1 Message Date
ViViDboarder
3a34f70385 Make ldap mutable to support new version 2021-12-10 10:25:12 -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
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
77919aa3d4 Improved error handling
Massive refactor of error handling to make messages easier to debug
2021-06-13 18:09:43 -07:00
Tobias Florek
8be4057e3b also log uid when email not found 2021-05-20 09:09:50 +02:00
ViViDboarder
a0bb9152ee Rebrand vaultwarden 2021-05-07 12:55:29 -07:00
Ian
402fff84fd Add support for starttls
Fixes #18
2020-12-27 11:15:53 -05:00
jerhat
f5b94ee792 renamed bitwarden_root_cert into bitwarden_root_cert_file
separate get_root_cert() function
formatting (rustfmt)
2020-07-10 11:14:12 +08:00
jerhat
78be951474 Added optional ldap_no_tls_verify config that allows bypassiung ldap ssl certification check 2020-07-09 14:24:36 +08:00
jerhat
9d7f226c8e Added optional bitwarden_root_cert config to trust an additional root certificate when connecting to the bitwarden_rs instance. This can be useful in corporate environments where certificates are issued by a local CA (or for self-signed certificates) 2020-07-09 14:02:10 +08:00
ViViDboarder
7f35c2a989 Make checking for existing users case insensitive
Email addresses are not case case sensitive, so when we check for an
existing user, we should make sure we do it in a way that is not
sensitive to case.

Fixes #8
2020-03-05 13:09:37 -08:00
ViViDboarder
42489d39e1 Fix a few compile warnings 2020-03-05 13:09:23 -08:00
Ian
c493366efd Fix invalid email field error
Instead of crashing with a cryptic message, instead we print an error
message.

Also, as a bonus, better testing instructions!

Fixes #3
Fixes #2
2019-10-02 15:04:32 -07:00
ViViDboarder
f94f5ae7e0 Fix disabled check 2019-04-15 09:58:19 -07:00
ViViDboarder
381544813b Fix warning 2019-04-12 16:45:23 -07:00
ViViDboarder
6ee352d35e Remove extra print 2019-04-12 16:42:31 -07:00
ViViDboarder
8171464c49 Update compose to mostly work
Untested since latest bitwarden_rs image doesn't have new endpoints
2019-04-12 16:42:07 -07:00
ViViDboarder
c06d23b836 Update to not query invites, but instead use new _Status field 2019-04-12 16:40:50 -07:00
ViViDboarder
d1b467a148 Add checking of both users and invites before sending new ones 2019-04-11 16:20:00 -07:00
ViViDboarder
57851489cb Add cli 2019-04-11 12:01:06 -07:00
ViViDboarder
cbdd7b8c5b WIP get users 2019-04-05 11:49:32 -07:00
ViViDboarder
1e849e445e Fix redirection on auth 2019-03-29 15:40:26 -07:00
ViViDboarder
ba1705c708 WIP: Add bw_rs client
For some reason, we're unable to get the cookies from the reqwest result.
2019-03-29 15:18:25 -07:00
ViViDboarder
6d79984a65 LDAP querying complete 2019-03-29 11:18:56 -07:00