Fix Secret Key decode rejecting valid keys; verify build

The first base32 symbol carries 3 data bits (26 symbols = 130 bits, 2 spare),
but decode only accepted values 0-3, so ~half of generated keys failed to parse.
Adds an edge-case test, rustfmt config, Cargo.lock, and on-demand cross targets
instead of installing all seven in rust-toolchain.toml.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-15 21:14:15 +09:00
co-authored by Claude Opus 5.5
parent 462fbbc523
commit 4a152bde11
14 changed files with 1947 additions and 59 deletions
+1 -4
View File
@@ -1,7 +1,4 @@
[toolchain]
channel = "stable"
components = ["rustfmt", "clippy"]
targets = [
"aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-apple-darwin", "x86_64-apple-darwin",
"aarch64-linux-android", "armv7-linux-androideabi", "x86_64-linux-android",
]
# Cross targets are added on demand by scripts/build-apple.sh and scripts/build-android.sh.