diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-04-15 16:14:38 +0200 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-04-15 16:17:54 +0200 |
| commit | 1b58a960da7040d17fce1e374d05ffc14947afec (patch) | |
| tree | 048c59e3bee1db9153559702f397bac290fb87d7 /patches/monero/0001-polyseed.patch | |
| parent | 365e58bb9f1a489ec4b6bf86ac4159b89d53dc51 (diff) | |
polyseed fixv0.18.3.3-RC26
tobtoht:
Since only the composed languages are broken, it could also be that canonical composition is producing weird output. Try dumping whatever seed string is being fed to polyseed_decode to hex and we should be able to tell.
Or try removing UTF8PROC_LUMP from utf8_nfc
Diffstat (limited to 'patches/monero/0001-polyseed.patch')
| -rw-r--r-- | patches/monero/0001-polyseed.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/monero/0001-polyseed.patch b/patches/monero/0001-polyseed.patch index 855a2dc..9e3c061 100644 --- a/patches/monero/0001-polyseed.patch +++ b/patches/monero/0001-polyseed.patch @@ -1,8 +1,9 @@ From bf347a3c80f0e0647176752867a54ae9ecedb580 Mon Sep 17 00:00:00 2001 -From: Czarek Nakamoto <cyjan@mrcyjanek.net> +From: tobtoht <tob@featherwallet.org> Date: Tue, 12 Mar 2024 09:42:37 +0100 Subject: [PATCH 1/8] polyseed +Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net> --- .github/workflows/build.yml | 4 +- .gitmodules | 6 + @@ -533,7 +534,7 @@ index 000000000..b26f37574 + static size_t utf8_nfc(const char* str, polyseed_str norm) { + // Note: UTF8PROC_LUMP is used here to replace the ideographic space with a regular space for Japanese phrases + // to allow wallets to split on ' '. -+ return utf8_norm(str, norm, (utf8proc_option_t)(UTF8PROC_NULLTERM | UTF8PROC_STABLE | UTF8PROC_COMPOSE | UTF8PROC_STRIPNA | UTF8PROC_LUMP)); ++ return utf8_norm(str, norm, (utf8proc_option_t)(UTF8PROC_NULLTERM | UTF8PROC_STABLE | UTF8PROC_COMPOSE | UTF8PROC_STRIPNA)); + } + + static size_t utf8_nfkd(const char* str, polyseed_str norm) { |
