kelvinmo/fernet-php

Support for 64-bit timestamps

kelvinmo opened this issue · 0 comments

The timestamp value in the Fernet spec is a 64 bit integer. Currently fernet-php assumes that the most significant 32 bits are zero to support 32-bit PHP (and its implementation of pack() and unpack()).

We should enable support for 64 bit timestamp in 64-bit PHP to avoid future overflow issues.