puerta/internal/user
Roberto Hidalgo 038e09b202 lol, 64bit integer overflows are fun to debug
specially when running a multi-arch cluster and HA with poor observability. a `time.Duration` was being casted to an `int` (because I clearly have no clue of what I'm doing). All is well on 64-bit processors, but 32-bit processors choke on the very long micro-second precision int, overflow, and turn `7d`, around `604800` seconds into `-114753536` seconds, which the browser happily (and correctly) turns into a cookie sent to /dev/null. lol.
2023-02-11 12:01:16 -06:00
..
credential.go refactor and nice stuff 2023-01-03 22:21:49 -06:00
schedule.go refactor and nice stuff 2023-01-03 22:21:49 -06:00
ttl.go lol, 64bit integer overflows are fun to debug 2023-02-11 12:01:16 -06:00
ttl_test.go lol, 64bit integer overflows are fun to debug 2023-02-11 12:01:16 -06:00
user.go use different webauthn for the browser 2023-01-04 13:44:20 -06:00
utctime.go refactor and nice stuff 2023-01-03 22:21:49 -06:00