Skip to content

Commit ab9d5b8

Browse files
BIP85: fix datetime string to align with UNIX Epoch time (#1967)
* Fix BIP85 human-readable datetime string and update the Changelog Genesis block time is correct in Unix time, but the human-readable datetime string is off by 10 minutes. Co-authored-by: Jon Atack <[email protected]>
1 parent 1cf4130 commit ab9d5b8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

bip-0085.mediawiki

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ Keys allocated for RSA-GPG purposes use the following scheme:
382382
383383
Note on timestamps:
384384

385-
The resulting RSA key can be used to create a GPG key where the creation date MUST be fixed to unix Epoch timestamp 1231006505 (the Bitcoin genesis block time <code>'2009-01-03 18:05:05'</code> UTC) because the key fingerprint is affected by the creation date (Epoch timestamp 0 was not chosen because of legacy behavior in GNUPG implementations for older keys). Additionally, when importing sub-keys under a key in GNUPG, the system time must be frozen to the same timestamp before importing (e.g. by use of <code>faketime</code>).
385+
The resulting RSA key can be used to create a GPG key where the creation date MUST be fixed to UNIX Epoch timestamp 1231006505 (the Bitcoin genesis block time <code>'2009-01-03 18:15:05'</code> UTC)<ref>The human-readable datetime string was incorrectly noted as '2009-01-03 18:05:05' prior to v2.0.0 of this BIP, so implementations that relied on it rather than UNIX Epoch timestamp 1231006505 will produce different key fingerprints.</ref> because the key fingerprint is affected by the creation date (Epoch timestamp 0 was not chosen because of legacy behavior in GNUPG implementations for older keys). Additionally, when importing sub-keys under a key in GNUPG, the system time must be frozen to the same timestamp before importing (e.g. by use of <code>faketime</code>).
386386

387387
Note on GPG key capabilities on smartcard/hardware devices:
388388

@@ -443,6 +443,12 @@ BIP32, BIP39
443443
444444
==Changelog==
445445

446+
===2.0.0 (2025-09-19)===
447+
448+
====Fixed====
449+
450+
* Fixed the human-readable datetime string for BIP85 GPG Keys that was incorrectly stated as '2009-01-03 18:05:05' rather than '2009-01-03 18:15:05'. Implementations that relied on the previously incorrect datetime string instead of UNIX Epoch timestamp 1231006505 will produce different key fingerprints.
451+
446452
===1.3.0 (2024-10-22)===
447453

448454
====Added====

0 commit comments

Comments
 (0)