Dmitry Petukhov [ARCHIVE] on Nostr: 📅 Original date posted:2021-02-05 📝 Original message:В Fri, 05 Feb 2021 ...
📅 Original date posted:2021-02-05
📝 Original message:В Fri, 05 Feb 2021 17:51:27 +0000
Dr Maxim Orlovsky via bitcoin-dev
<bitcoin-dev at lists.linuxfoundation.org> wrote:
> Testnet path is unhardened from this point & till the end of the
> derivation path: no need to prevent private key leak there,
> simplifies test software (hardened paths require private key access
> for derivation).
I believe this will reduce robustness and will add complexity to the
test software instead. If the derivation path is hardened in 'production
code' and is unhardened in 'test code', then: code paths that depend on
hardened derivation may not be tested; there will be unnecessary
code that will need to deal with 'un-hardening' the paths for test code.
It is much more robust to just change the 'purpose' part of the path,
and leave the rest unchanged.
It is OK to require privkey access to hardened paths in test
software, because the same behaviour is expected in 'production'.
Published at
2023-06-07 18:28:27Event JSON
{
"id": "b26ec5f4537811ab8445e7a0e18b1f91513e6f7cb4f686f0651fe5b869e3d239",
"pubkey": "78f5a82a0b64fb3c18bd33a69c53b1af612b3ac8dd81e12f74ba62f3793dac05",
"created_at": 1686162507,
"kind": 1,
"tags": [
[
"e",
"d2c8b65efdaee73f5c5fd62fe4b915d4fcf718277dfab7951f3a1bbc122c404e",
"",
"root"
],
[
"e",
"6fbbcb1cd5993b08604c3750c3a85f638def3fe854351435df9587a0cedd65c0",
"",
"reply"
],
[
"p",
"e9df2c6568740a6df3ce993eccd824db95dc136a0c2410be397e2fbb82270e0e"
]
],
"content": "📅 Original date posted:2021-02-05\n📝 Original message:В Fri, 05 Feb 2021 17:51:27 +0000\nDr Maxim Orlovsky via bitcoin-dev\n\u003cbitcoin-dev at lists.linuxfoundation.org\u003e wrote:\n\n\u003e Testnet path is unhardened from this point \u0026 till the end of the\n\u003e derivation path: no need to prevent private key leak there,\n\u003e simplifies test software (hardened paths require private key access\n\u003e for derivation).\n\nI believe this will reduce robustness and will add complexity to the\ntest software instead. If the derivation path is hardened in 'production\ncode' and is unhardened in 'test code', then: code paths that depend on\nhardened derivation may not be tested; there will be unnecessary\ncode that will need to deal with 'un-hardening' the paths for test code.\n\nIt is much more robust to just change the 'purpose' part of the path,\nand leave the rest unchanged.\n\nIt is OK to require privkey access to hardened paths in test\nsoftware, because the same behaviour is expected in 'production'.",
"sig": "ddd89ee604789b2676a260639d94f44aaa6bc3d9474ebcded9f0de574e07642e9ba9da5fb2c7217937057aa41b8547fb33c8f0abe1c99d7a33d569303df44fca"
}