browserutils / kooky

Go code to read cookies from browser cookie stores.
MIT License
210 stars 41 forks source link

Properly handle cookies that expire later than 2038 #84

Closed mousetail closed 3 months ago

mousetail commented 3 months ago

Checklist

Is your feature request related to a problem?

I have some cookies that expire late:

SELECT * FROM moz_cookies WHERE ...;

10473||xxxx|xxxxxx|vetgans.electude|/|32535129600|1720592566667000|1720421621298000|1|0|0|0|0|2|0

These seem to not be detected since the max age overflows 32 bit integer limit.

Is it possible to construct a solution with the existing API?

No

Describe the solution you'd like to see.

Increase the integer limit to u64