GnuPG 1.4.23 for DOS (Announce)
> But why key creation dates jump randomly? This is not constant shift in
> date.
> I never saw such GPG behavior.
It was DJGPP's fault. GPG gets the key creation timestamp from time(2). On DJGPP, time(2) uses gettimeofday(2), which in turn uses mktime(3), which relies on the TZ environment variable in order to produce correct results. When the TZ variable is invalid or unset, time(2) intermittently gives incorrect results. I am not sure why it is intermittent. The timestamp may be correct, or it may be set weeks in the future. If i generated a key with a creation date weeks in the future, and then ran "gpg --list-keys" several times in a row, then any given time it might give a warning, and the next time it might not.
I found that i could work around this using:
SET TZ=DOS0
DOS0 is not a real time zone, but it is valid POSIX TZ extended format. The "DOS" part is just a name and the "0" part means zero hours offset from UTC. This assumes that the hardware clock is set to UTC. A normal DOS system has the hardware clock set to local time, not UTC. In my case i have:
SET TZ=PST8PDT
Complete thread:
- GnuPG 1.4.23 for DOS - bencollver, 08.05.2024, 07:03 (Announce)
- GnuPG 1.4.23 for DOS - rosegondon, 08.05.2024, 11:09
- GnuPG 1.4.23 for DOS - bencollver, 08.05.2024, 16:48
- GnuPG 1.4.23 for DOS - rosegondon, 08.05.2024, 18:20
- GnuPG 1.4.23 for DOS - bencollver, 08.05.2024, 22:19
- GnuPG 1.4.23 for DOS - bencollver, 09.05.2024, 05:18
- GnuPG 1.4.23 for DOS - rosegondon, 09.05.2024, 12:48
- GnuPG 1.4.23 for DOS - bencollver, 09.05.2024, 16:32
- GnuPG 1.4.23 for DOS - rosegondon, 09.05.2024, 17:11
- GnuPG 1.4.23 for DOS - bencollver, 09.05.2024, 19:30
- GnuPG 1.4.23 for DOS - rosegondon, 09.05.2024, 21:08
- GnuPG 1.4.23 for DOS - bencollver, 09.05.2024, 23:32
- GnuPG 1.4.23 for DOS - rosegondon, 10.05.2024, 19:10
- GnuPG 1.4.23 for DOS - RayeR, 14.05.2024, 20:49
- GnuPG 1.4.23 for DOS - bencollver, 14.05.2024, 22:36
- GnuPG 1.4.23 for DOS - RayeR, 14.05.2024, 23:55
- NSA is coming to get you (and your cat)! - Rugxulo, 15.05.2024, 06:21
- NSA is coming to get you (and your cat)! - rosegondon, 15.05.2024, 11:48
- NSA is coming to get you (and your cat)! - RayeR, 15.05.2024, 17:40
- NSA is coming to get you (and your cat)! - rosegondon, 15.05.2024, 11:48
- NSA is coming to get you (and your cat)! - Rugxulo, 15.05.2024, 06:21
- GnuPG 1.4.23 for DOS - RayeR, 14.05.2024, 23:55
- GnuPG 1.4.23 for DOS - bencollver, 14.05.2024, 22:36
- GnuPG 1.4.23 for DOS - RayeR, 14.05.2024, 20:49
- GnuPG 1.4.23 for DOS - rosegondon, 10.05.2024, 19:30
- GnuPG 1.4.23 for DOS - bencollver, 11.05.2024, 20:44
- GnuPG 1.4.23 for DOS - bencollver, 13.05.2024, 07:12
- GnuPG 1.4.23 for DOS - bencollver, 14.05.2024, 01:31
- GnuPG 1.4.23 for DOS - rosegondon, 14.05.2024, 09:53
- GnuPG 1.4.23 for DOS - bencollver, 14.05.2024, 17:04
- GnuPG 1.4.23 for DOS - rosegondon, 14.05.2024, 18:33
- GnuPG 1.4.23 for DOS - rosegondon, 15.05.2024, 11:43
- GnuPG 1.4.23 for DOS - bencollver, 15.05.2024, 17:00
- GnuPG 1.4.23 for DOS - rosegondon, 16.05.2024, 07:13
- GnuPG 1.4.23 for DOS - bencollver, 17.05.2024, 02:20
- GnuPG 1.4.23 for DOS - rosegondon, 17.05.2024, 07:31
- GnuPG 1.4.23 for DOS - bencollver, 17.05.2024, 16:14
- GnuPG 1.4.23 for DOS - rosegondon, 17.05.2024, 18:38
- GnuPG 1.4.23 for DOS - bencollver, 17.05.2024, 19:22
- GnuPG 1.4.23 for DOS - rosegondon, 17.05.2024, 22:03
- GnuPG 1.4.23 for DOS - rosegondon, 17.05.2024, 22:17
- GnuPG 1.4.23 for DOS - bencollver, 19.05.2024, 05:53
- GnuPG 1.4.23 for DOS - rosegondon, 17.05.2024, 22:31
- GnuPG 1.4.23 for DOS - bencollver, 19.05.2024, 05:10
- GnuPG 1.4.23 for DOS - rosegondon, 20.05.2024, 21:04
- GnuPG 1.4.23 for DOS - bencollver, 20.05.2024, 21:53
- GnuPG 1.4.23 for DOS - rosegondon, 20.05.2024, 21:04
- GnuPG 1.4.23 for DOS - bencollver, 19.05.2024, 05:10
- GnuPG 1.4.23 for DOS - bencollver, 17.05.2024, 19:22
- GnuPG 1.4.23 for DOS - rosegondon, 17.05.2024, 18:38
- GnuPG 1.4.23 for DOS - bencollver, 17.05.2024, 16:14
- GnuPG 1.4.23 for DOS - rosegondon, 17.05.2024, 07:31
- GnuPG 1.4.23 for DOS - bencollver, 17.05.2024, 02:20
- GnuPG 1.4.23 for DOS - bencollver, 14.05.2024, 17:04
- GnuPG 1.4.23 for DOS - rosegondon, 14.05.2024, 09:53
- GnuPG 1.4.23 for DOS - bencollver, 14.05.2024, 01:31
- GnuPG 1.4.23 for DOS - rosegondon, 10.05.2024, 19:10
- GnuPG 1.4.23 for DOS - bencollver, 09.05.2024, 23:32
- GnuPG 1.4.23 for DOS - rosegondon, 09.05.2024, 21:08
- GnuPG 1.4.23 for DOS - bencollver, 09.05.2024, 19:30
- GnuPG 1.4.23 for DOS - rosegondon, 09.05.2024, 17:11
- GnuPG 1.4.23 for DOS - bencollver, 09.05.2024, 16:32
- GnuPG 1.4.23 for DOS - rosegondon, 09.05.2024, 12:48
- GnuPG 1.4.23 for DOS - bencollver, 09.05.2024, 05:18
- GnuPG 1.4.23 for DOS - bencollver, 08.05.2024, 22:19
- GnuPG 1.4.23 for DOS - rosegondon, 08.05.2024, 18:20
- GnuPG 1.4.23 for DOS - bencollver, 08.05.2024, 16:48
- GnuPG 1.4.23 for DOS - bencollver, 31.05.2024, 00:17
- GnuPG 1.4.23 for DOS - bencollver, 31.05.2024, 02:04
- GnuPG 1.4.23 for DOS - rosegondon, 08.05.2024, 11:09