Commit graph

16 commits

Author SHA1 Message Date
kekkon 3c3b843d72
Validate a TOTP code before saving it (#1055)
In order to do this, I had to remove the very old and unmaintainted
`otplib` and replace it with the well-maintained
[otpauth](https://www.npmjs.com/package/otpauth).

I kept the parameters the same, but if there is something only slightly
off between the two libraries, this could cause a major headache. I am
unsure on how to test this though, or if we can provide some sort of
migration for this.

The reason for the upgrade is two-fold:

1. As I said, the original library was unmaintained
2. It's verification mechanism relied on a Buffer class that, as far as
I can tell, can't work without some `require` statements that are
missing from the library's source files.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eugene <inbox@null.page>
2024-09-11 09:30:02 +02:00
Eugene 2cd3078d43
lint 2024-07-26 21:09:41 +02:00
Eugene Pankov 1842984b60
lint 2022-11-20 14:09:27 +01:00
Eugene Pankov 2e3f0f58d8
Update justfile 2022-11-19 21:45:59 +01:00
Eugene Pankov bfa2d262f3
fixed #456 - postgresql migrations 2022-11-04 20:20:27 +01:00
Eugene Pankov c236da5e5c
fixed #452 - native MySQL and Postgres support 2022-11-02 20:03:44 +01:00
Eugene Pankov 51df7083de
database config provider 2022-09-02 14:00:08 +02:00
Eugene f7bb12e44d
OIDC login support (#222) 2022-08-05 20:04:40 +02:00
Eugene Pankov 47e245f785
added proper connection instructions for tickets 2022-07-29 18:32:01 +02:00
Eugene Pankov 03db7b55fa
cleaned up TLS code, added certificate and key checks to warpgate check 2022-07-26 21:04:24 +02:00
Eugene Pankov 47518c6253
added cranky and removed all .unwrap() usages 2022-07-23 21:31:35 +02:00
Eugene Pankov 7682e17080
added MySQL support 2022-07-20 10:02:37 +02:00
Eugene 6342fcb3ed
HTTP targets support (fixes #116) 2022-06-26 20:50:04 +02:00
Eugene Pankov 892e0173ac
lint 2022-05-30 12:55:09 +02:00
Eugene a922a3fb49
Internal log store, log viewer & forwarding (#105) 2022-05-30 09:32:45 +02:00
Eugene Pankov 4ccf2b0437
import 2022-04-10 22:58:58 +02:00