whiteowl3 / py-minisign

Missing python minisign library.
MIT License
0 stars 0 forks source link

timestamp length determinism method has drawbacks #2

Open whiteowl3 opened 2 years ago

whiteowl3 commented 2 years ago

it would be better to use a method which implicitly supports timedeltas. currently, recipients have to manually breakout the custom datetime string in order to do time comparisons. I'm not aware of a timestamp format that is both length-deterministic and supports timedeltas.

whiteowl3 commented 2 years ago

since dates outside 1966:2286 will reasonably never be valid, it is probably better to use unix time and simply reject timestamps that are not ten digits long