From e86ffbe36743c9be20a943383a3584cd376a926c Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 04:37:23 -0300 Subject: [PATCH 01/12] libs/codecs: the gitlink at one-verb (e3e0421) --- libs/codecs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/codecs b/libs/codecs index 80d90d0..e3e0421 160000 --- a/libs/codecs +++ b/libs/codecs @@ -1 +1 @@ -Subproject commit 80d90d0626a03acde5ecab984533b9ab68f2b68f +Subproject commit e3e0421af0587b582cfcbd96d7a7d54445101e36 From 5c726666303a7715fa0570401078725b066039de Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 04:37:23 -0300 Subject: [PATCH 02/12] libs/crypto: the gitlink at one-verb (155db5d) --- libs/crypto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/crypto b/libs/crypto index 6052c7c..155db5d 160000 --- a/libs/crypto +++ b/libs/crypto @@ -1 +1 @@ -Subproject commit 6052c7c8df4e14cfa4b53441dc5cf7d7b48ca6e2 +Subproject commit 155db5d4a391be27daee94500651c9d88bc346de From 803d1410b10459cb348f22e8cecde610b8021018 Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 04:59:35 -0300 Subject: [PATCH 03/12] CODING-GUIDELINES: crypto::encode and crypto::decode are removed, codecs' verbs read and write crypto's formats --- CODING-GUIDELINES.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CODING-GUIDELINES.md b/CODING-GUIDELINES.md index 16d6fa6..98c2cd6 100644 --- a/CODING-GUIDELINES.md +++ b/CODING-GUIDELINES.md @@ -9009,8 +9009,10 @@ superproject; built on codecs, not merged).** - **crypto's key formats are codecs formats: `crypto::formats::raw`, `spki`, `pkcs8`, `der` and `pem(spki)` or `pem(pkcs8)` (RFC 7468's armor over the DER), each with `codecs::value_codec` specializations in the curve's - `formats.hpp`, and the verbs `crypto::encode` and `crypto::decode` (and the - members `encode` and `T::decode`) that check the pair, then call codecs'.** A + `formats.hpp`, read and written by `codecs::encode` and `codecs::decode` + (and the members `encode` and `T::decode`) that check the pair, then call + codecs'; `crypto::encode` and `crypto::decode` were removed by the one-verb + change, with no alias.** A pair a type does not have stops the build with the type's list of formats; one list, `detail::all_formats`, feeds the checks, the tests and the page's table. The old names (`encode_spki`, `to_der`, `crypto::pem`, the pem defaults, the @@ -10135,8 +10137,8 @@ The owner's decisions: webcpp::hash's, `hash::formats::base58_with_checksum`, which is `basic_base58<100, bitcoin_alphabet, hash::checksums::double_sha256>` (decision 26 renames decision 7's `base58check`); crypto registers its key formats through - `value_codec` in a change of its own, and `crypto::encode` and `crypto::decode` - are that change's verbs over codecs'. Both follow-ups are built (crypto's + `value_codec` in a change of its own, read and written by codecs' own verbs (the + one-verb change removed `crypto::encode` and `crypto::decode`). Both follow-ups are built (crypto's `formats` change and hash's `base58-with-checksum`, chapter 17's crypto entry), and hash depends on codecs, never the reverse. Source: design.md owner decisions 7 and 26 (proposals); From d8c10a34c228e0dc02058428748e9a11fcaca05c Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 05:22:24 -0300 Subject: [PATCH 04/12] CODING-GUIDELINES: codecs' verbs check every pair through crypto's declaration; the two paragraphs rewrapped --- CODING-GUIDELINES.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/CODING-GUIDELINES.md b/CODING-GUIDELINES.md index 98c2cd6..9d81dbb 100644 --- a/CODING-GUIDELINES.md +++ b/CODING-GUIDELINES.md @@ -9009,17 +9009,17 @@ superproject; built on codecs, not merged).** - **crypto's key formats are codecs formats: `crypto::formats::raw`, `spki`, `pkcs8`, `der` and `pem(spki)` or `pem(pkcs8)` (RFC 7468's armor over the DER), each with `codecs::value_codec` specializations in the curve's - `formats.hpp`, read and written by `codecs::encode` and `codecs::decode` - (and the members `encode` and `T::decode`) that check the pair, then call - codecs'; `crypto::encode` and `crypto::decode` were removed by the one-verb - change, with no alias.** A - pair a type does not have stops the build with the type's list of formats; one - list, `detail::all_formats`, feeds the checks, the tests and the page's table. - The old names (`encode_spki`, `to_der`, `crypto::pem`, the pem defaults, the - `max_*_size` constants) are removed, each with its replacement in the guide's - migration table (`doc/formats.adoc`); no name stays as an alias. A program - that uses one curve's formats includes that curve's formats header and pulls - no other curve. + `formats.hpp`, read and written by codecs' verbs `codecs::encode` and + `codecs::decode` (and the members `encode` and `T::decode`), which check + every pair through crypto's declaration of the type to codecs; + `crypto::encode` and `crypto::decode` were removed by the one-verb change, + with no alias.** A pair a type does not have stops the build with the type's + list of formats; one list, `detail::all_formats`, feeds the checks, the tests + and the page's table. The old names (`encode_spki`, `to_der`, `crypto::pem`, + the pem defaults, the `max_*_size` constants) are removed, each with its + replacement in the guide's migration table (`doc/formats.adoc`); no name stays + as an alias. A program that uses one curve's formats includes that curve's + formats header and pulls no other curve. Source: `libraries/crypto/openspec/changes/formats/design.md` D1 to D8 (proposals); `doc/formats.adoc`, `doc/changelog.adoc` (libs/crypto). - **secp256k1's x-only key is a type, `curves::secp256k1::xonly_public_key`, @@ -10138,9 +10138,9 @@ The owner's decisions: `basic_base58<100, bitcoin_alphabet, hash::checksums::double_sha256>` (decision 26 renames decision 7's `base58check`); crypto registers its key formats through `value_codec` in a change of its own, read and written by codecs' own verbs (the - one-verb change removed `crypto::encode` and `crypto::decode`). Both follow-ups are built (crypto's - `formats` change and hash's `base58-with-checksum`, chapter 17's crypto - entry), and hash depends on codecs, never the reverse. + one-verb change removed `crypto::encode` and `crypto::decode`). Both follow-ups + are built (crypto's `formats` change and hash's `base58-with-checksum`, chapter + 17's crypto entry), and hash depends on codecs, never the reverse. Source: design.md owner decisions 7 and 26 (proposals); `test/messages/base58_with_checksum_unseen` (libs/codecs). - **Owner decision 8: the tests.** RFC 4648 section 10, BIP-173's and BIP-350's From d3c7020f1df0c0cc660d98a7c32200bb0376ba75 Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 05:47:18 -0300 Subject: [PATCH 05/12] libs/codecs: the gitlink at one-verb (5c84360) --- libs/codecs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/codecs b/libs/codecs index e3e0421..5c84360 160000 --- a/libs/codecs +++ b/libs/codecs @@ -1 +1 @@ -Subproject commit e3e0421af0587b582cfcbd96d7a7d54445101e36 +Subproject commit 5c84360f75b393145585e33cfd54b166d24c35b0 From f5d3cc86a5a3eadb6a20993a41e03336f48f5309 Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 05:47:18 -0300 Subject: [PATCH 06/12] libs/crypto: the gitlink at one-verb (e617347) --- libs/crypto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/crypto b/libs/crypto index 155db5d..e617347 160000 --- a/libs/crypto +++ b/libs/crypto @@ -1 +1 @@ -Subproject commit 155db5d4a391be27daee94500651c9d88bc346de +Subproject commit e617347a50309c03cd81b25ae30bc7e2cc66930d From 8ea9d00e551134ce7104b19a6e366048c89ad224 Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 06:44:02 -0300 Subject: [PATCH 07/12] libs/codecs: the gitlink at one-verb (886df9a) --- libs/codecs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/codecs b/libs/codecs index 5c84360..886df9a 160000 --- a/libs/codecs +++ b/libs/codecs @@ -1 +1 @@ -Subproject commit 5c84360f75b393145585e33cfd54b166d24c35b0 +Subproject commit 886df9a1280af49c669c21c98de722f2a36e8825 From 45144bfbc2564fb4de056d93fe4adacff42a135a Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 06:44:02 -0300 Subject: [PATCH 08/12] libs/crypto: the gitlink at one-verb (66bde7e) --- libs/crypto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/crypto b/libs/crypto index e617347..66bde7e 160000 --- a/libs/crypto +++ b/libs/crypto @@ -1 +1 @@ -Subproject commit e617347a50309c03cd81b25ae30bc7e2cc66930d +Subproject commit 66bde7e85bb4f571c7885d4dbfb20870d81d5916 From 3fcee3d0615e5ddfce4dee5a91b1d6b6547feff3 Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 06:45:23 -0300 Subject: [PATCH 09/12] libs/codecs: the gitlink at one-verb with main merged (4272f29) --- libs/codecs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/codecs b/libs/codecs index 886df9a..4272f29 160000 --- a/libs/codecs +++ b/libs/codecs @@ -1 +1 @@ -Subproject commit 886df9a1280af49c669c21c98de722f2a36e8825 +Subproject commit 4272f292f7ef9504ea2c01ef87accd906a6ebd9a From 2e8e30118aa38496f2de1f97dd7a731e997c2aac Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 06:45:23 -0300 Subject: [PATCH 10/12] libs/crypto: the gitlink at one-verb with main merged (6f26621) --- libs/crypto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/crypto b/libs/crypto index 66bde7e..6f26621 160000 --- a/libs/crypto +++ b/libs/crypto @@ -1 +1 @@ -Subproject commit 66bde7e85bb4f571c7885d4dbfb20870d81d5916 +Subproject commit 6f26621f836f98c681588551adc0afcdf9d9351d From 309e19f3fc0ae70fb0e3b4f52cd375aee2e797a6 Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 08:39:19 -0300 Subject: [PATCH 11/12] libs/codecs: the gitlink at the merge of codecs' one-verb (8535c31) --- libs/codecs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/codecs b/libs/codecs index 4272f29..8535c31 160000 --- a/libs/codecs +++ b/libs/codecs @@ -1 +1 @@ -Subproject commit 4272f292f7ef9504ea2c01ef87accd906a6ebd9a +Subproject commit 8535c31c9dc5456b5166b2a3738e1c7d752379d0 From 154426ad464b6f9f6889c2f47eb91f2fb0bf8d3a Mon Sep 17 00:00:00 2001 From: R Date: Thu, 3 Dec 2026 08:39:20 -0300 Subject: [PATCH 12/12] libs/crypto: the gitlink at the merge of crypto's one-verb (b19a26e) --- libs/crypto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/crypto b/libs/crypto index 6f26621..b19a26e 160000 --- a/libs/crypto +++ b/libs/crypto @@ -1 +1 @@ -Subproject commit 6f26621f836f98c681588551adc0afcdf9d9351d +Subproject commit b19a26ed957cdd0ba06954f33abf1ee5202aab14