-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
postgres-deno
Discontinued A PostgreSQL extension for Deno: run Typescript in PostgreSQL functions and triggers.
The file you're pointing to is not the full extension, here it is:
https://github.com/pyramation/totp/blob/master/packages/totp...
This is very interesting if it was done for fun.
However, this is very likely not suitable for real world usage. A couple of issues I could see with a quick glance:
* The function random() used at line 121 is not a cryptographically secure random number generator.
* Using '=' for comparing TOTPs at line 111 is not safe from timing attacks.
By the way, a shameless plug: TOTP generation in Python is only 30 lines of code, thanks to its extensive standard library: https://github.com/susam/mintotp
> except if my backend is in JS, there's a cognitive cost to adding another language to the stack.
Agreed.
However, I don't see why not use one of the other mature "real" extension languages other than pl/pgSQL.
As for typescript, maybe there's (distant) hope:
https://github.com/supabase/postgres-deno