Daniel García
621f607297
Update dependencies and fix some warnings
6 years ago
Daniel García
cfbeb56371
Implement user duo, initial version
...
TODO:
- At the moment each user needs to configure a DUO application and input the API keys, we need to check if multiple users can register with the same keys correctly and if so we could implement a global setting.
- Sometimes the Duo frame doesn't load correctly, but canceling, reloading the page and logging in again seems to fix it for me.
6 years ago
Daniel García
3bb46ce496
Make the syslog crate non-optional when available
6 years ago
Daniel García
c5832f2b30
With the latest fern, syslog can be a config option instead of a build flag
6 years ago
BlackDex
6b686c18f7
Fixed long e-mail message extending 1000 lines.
...
- Added quoted_printable crate to encode the e-mail messages.
- Change the way the e-mail gets build to use custom part headers.
6 years ago
Daniel García
349cb33fbd
Updated dependencies
6 years ago
Daniel García
084bc2aee3
Use final release of lettre and update dependencies
6 years ago
Daniel García
a25bfdd16d
Remove unused features from multipart (integration with other servers)
6 years ago
Daniel García
27872f476e
Update dependencies
6 years ago
Daniel García
10756b0920
Update dependencies and fix some lints
6 years ago
Daniel García
5ee04e31e5
Updated dependencies, removed some unnecessary clones and fixed some lints
6 years ago
Daniel García
274ea9a4f2
Use the latest fast_chemail crate directly, with the fix
6 years ago
Daniel García
ff2fbd322e
Update deps and fix email check
6 years ago
Daniel García
3db815b969
Implemented config form and fixed config priority
6 years ago
Daniel García
20d8d800f3
Updated dependencies
6 years ago
BlackDex
9657463717
Added better favicon downloader.
6 years ago
Daniel García
a1dc47b826
Change config to thread-safe system, needed for a future config panel.
...
Improved some two factor methods.
6 years ago
Daniel García
9d027b96d8
Update web-vault to fix U2F NotTrustedAnchor error
6 years ago
Daniel García
ce42b07a80
Update Diesel to 1.4 and other dependencies
6 years ago
Daniel García
e0aec8d373
Use new i64::to_be_bytes and remove byteorder dep
...
(https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_be_bytes )
6 years ago
Daniel García
19b6bb0fd6
Initial stab at templates
6 years ago
Daniel García
60f6a350be
Update yubico to fix OpenSSL error
6 years ago
Daniel García
f571df7367
Revert yubikey feature, not needed anymore
6 years ago
Daniel García
de51bc782e
Updated dependencies, removing need for yubico fork
6 years ago
Daniel García
1d034749f7
Fix AArch64 build by disabling yubico
6 years ago
Daniel García
1b11445bb2
Update dependencies and web vault
6 years ago
Daniel García
5f49ecd7f3
Updated dependencies to use u2f crate directly, and some style changes
6 years ago
Daniel García
72ed05c4a4
Add build script to get some Git info to later show in admin panel, and add some metadata to Cargo.toml
6 years ago
Daniel García
adb8052689
Updated Error to implement Display and Debug, instead of using custom methods
6 years ago
Daniel García
f2ab25085d
Updated dependencies, and dockerfiles to use NodeJS 10 LTS
6 years ago
Daniel García
94810c106a
Migrate to rust 2018 edition
6 years ago
Daniel García
2fde4e6933
Implemented proper logging, with support for file logging, timestamp and syslog (this last one is untested)
6 years ago
Daniel García
259a2f2982
Updated rocket to final release
6 years ago
Daniel García
8b5d97790f
Updated rocket to rc2 and rest of dependencies
6 years ago
Daniel García
e5af230315
Merge branch 'master' into rocket-0.4
...
# Conflicts:
# Cargo.toml
6 years ago
Daniel García
a1da82c868
Add online feature to yubico
6 years ago
Daniel García
a4550e51ea
Update dependencies and add /ciphers/create
6 years ago
Daniel García
5edbd0e952
Merge branch 'master' into rocket-0.4
...
# Conflicts:
# Cargo.lock
# Cargo.toml
# src/api/core/mod.rs
6 years ago
Stepan Fedorko-Bartos
5a8d5e426d
Switches to Downstream yubico with Optional libusb
6 years ago
Stepan Fedorko-Bartos
24a4478b5c
Adds yubico-rs library dep
6 years ago
Daniel García
c673370103
Updated bw_rs to Rocket version 0.4-rc1
6 years ago
Daniel García
7112c86471
Updated dependencies, removed valid mail check (now done by lettre), and updated global domains file
6 years ago
Daniel García
c169095128
Update dependencies to point to upstream lettre
6 years ago
Daniel García
3df31e3464
Temp fix for OpenSSL 1.1.1 compatibility
6 years ago
Daniel García
638a0fd3c3
Updated dependencies
6 years ago
Daniel García
928e2424c0
Updated dependencies and fixed errors
6 years ago
Daniel García
a01fee0b9f
Merge branch 'ws'
...
# Conflicts:
# Cargo.toml
# src/api/core/ciphers.rs
# src/main.rs
6 years ago
Daniel García
b63693aefb
Merge pull request #137 from stammw/master
...
SMTP implementation, along with password HINT email
6 years ago
Daniel García
d70864ac73
Initial version of websockets notification support.
...
For now only folder notifications are sent (create, rename, delete).
The notifications are only tested between two web-vault sessions in different browsers, mobile apps and browser extensions are untested.
The websocket server is exposed in port 3012, while the rocket server is exposed in another port (8000 by default). To make notifications work, both should be accessible in the same port, which requires a reverse proxy.
My testing is done with Caddy server, and the following config:
```
localhost {
# The negotiation endpoint is also proxied to Rocket
proxy /notifications/hub/negotiate 0.0.0.0:8000 {
transparent
}
# Notifications redirected to the websockets server
proxy /notifications/hub 0.0.0.0:3012 {
websocket
}
# Proxy the Root directory to Rocket
proxy / 0.0.0.0:8000 {
transparent
}
}
```
This exposes the service in port 2015.
6 years ago
Daniel García
39891e86a0
Updated dependencies, added Travis CI integration and some badges
6 years ago