47 Commits (aeb4b4c8a5a05d642d76c30be52a006afee8c7ed)

Author SHA1 Message Date
Daniel García 5ee04e31e5
Updated dependencies, removed some unnecessary clones and fixed some lints 6 years ago
Daniel García a744b9437a
Implemented multiple U2f keys, key names, and compromised checks 6 years ago
Daniel García 93805a5d7b
Fix Yubikeys deleted on error 6 years ago
Daniel García 8b4a6f2a64
Fixed some clippy lints and changed update_uuid_revision to only use one db query 6 years ago
Daniel García 86ed75bf7c
Config can now be serialized / deserialized 6 years ago
Daniel García a1dc47b826
Change config to thread-safe system, needed for a future config panel. 6 years ago
Daniel García d420992f8c
Update some function calls to use ? 6 years ago
Daniel García c259a0e3e2
Save recovery code when using yubikey and stop repeating headers.user everywhere 6 years ago
Daniel García f571df7367
Revert yubikey feature, not needed anymore 6 years ago
Daniel García 1d034749f7
Fix AArch64 build by disabling yubico 6 years ago
Daniel García 5f49ecd7f3
Updated dependencies to use u2f crate directly, and some style changes 6 years ago
Daniel García 30e768613b
Start using rustfmt and some style changes to make some lines shorter 6 years ago
Daniel García 6a99849a1e
Implemented proper error handling, now we can do `user.save($conn)?;` and it works. 6 years ago
Daniel García 738ad2127b
Fixed some clippy linting issues 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
Stepan Fedorko-Bartos f344dbaad4 Fixes NFC Response for Mobile Login 6 years ago
Stepan Fedorko-Bartos aba9c28226 Disable Yubikey 2FA if 0 Keys Provided 6 years ago
Stepan Fedorko-Bartos 82e2b8a8c0 Code style changes 6 years ago
Stepan Fedorko-Bartos 6d735806c0 Ensures Yubico Creds are set when opening Yubikey Modal 6 years ago
Stepan Fedorko-Bartos 2433d39df5 Allows Custom Yubico OTP Server 6 years ago
Stepan Fedorko-Bartos 9e0e4b13c5 Adds Yubikey OTP Support 6 years ago
Roman Hargrave 62bc58e145 Clean up after u2f endpoint split 6 years ago
Roman Hargrave 760e0ab805 Initial u2f fix 6 years ago
Daniel García c673370103
Updated bw_rs to Rocket version 0.4-rc1 6 years ago
janost e985221b50 User::save() should return QueryResult instead of bool 6 years ago
Miroslav Prasil d9457e929c Add continuation token when we return object list 6 years ago
Daniel García 8651df8c2a
Fixed some lint issues 7 years ago
Daniel García d3f357b708 Implemented PUT for u2f registration 7 years ago
Kumar Ankur 5f6d721c09 Implemented PUT for /two-factor/authenticator and /two-factor/disable 7 years ago
Daniel García 819622e310 Documented U2F, removed debug prints, and documented missing features 7 years ago
Daniel García 75615bb5c8 Ignore U2F challenge if not provided. Also checked that error_code has to be 0 for a successfull registration 7 years ago
Daniel García 6378d96d1a Add some extra debug prints 7 years ago
Daniel García dae92b9018 Implemented U2F, refactored Two Factor authentication, registering U2F device and authentication should work. Works on Chrome on MacOS with a virtual device. 7 years ago
Daniel García 483066b9a0 Some style changes, removed useless matches and formats 7 years ago
Daniel García b0ee5f6570 Improved two factor auth 7 years ago
Daniel García 5ec728683e Make sure the inputs are always in the same case (PascalCase, which is what upstream seems to prefer most of the time) 7 years ago
Daniel García 1a4b1a8254 Enabled unused variable warning again, fixed some possible bugs where we didn't check some parameters, and explicitly marked all unused parameters (mostly orgheaders) 7 years ago
Daniel García 2cf46e1a5f Make sure TOTP codes can be both Numbers or Strings, fixes #30 7 years ago
Daniel García dfefbf1f31 Fixed cipher import, created missing data structs instead of using generic Value, and fixed some warnings 7 years ago
Daniel García d6a1a9b274 Detect device type correctly and shorten return types of functions 7 years ago
Daniel García 84a75c871b Improved error messagees, implemented delete ciphers, attachments and account, implemented two factor recovery. 7 years ago
Daniel García 31bf2bc2b1 Solved some warnings 7 years ago
Daniel García b54684b677 Upload and download attachments, and added License file 7 years ago
Daniel García 5cd40c63ed First working version 7 years ago