I'm trying to sign a LibreOffice document blah blah... So, I created a key and signed my document, but when I reload it, LO insists that the "certificate is not yet valid", and apparently won't be for several hours.
Poking around in gpg, I see that the key's issue date is in fact... tomorrow. Specifically, it looks like it is in the future by my UTC offset. (For example, say it is 10-01 23:00 local time, 10-02 05:00 UTC time. The key shows 10-02 05:00 as the creation time... with no time zone. And at least LO appears to read that as local time, such that the key appears to have been created in the future by however many hours my local time is behind UTC. I can only assume someone from e.g. India would have the opposite problem, although a key being created in the past isn't nearly as problematic.)
Now... I could just wait, but I'd like to understand why this is happening and what I can do about it. Why is GPG creating keys in a manner that their issue date is in the future, and how do I fix it? (Note, this isn't a problem with my clock; my clock has the correct time.)
faketimeseems to be an effective work-around. Shout-out to superuser.com/questions/1045904.