Codex32 [combined summary]



Individual post summaries: Click here to read the original discussion on the bitcoin-dev mailing list

Published on: 2023-02-23T18:26:17+00:00


Summary:

The Codex32 project introduces innovative methods for verifying the integrity of shares and seeds while maintaining security. One approach is through 2 character quick checks, which accumulate BCH guarantees as they are performed. Following the prescribed order of these checks allows for quicker error detection. Additionally, a mod N = 0 checksum can be computed by hand to verify shares, and it is suggested that Shamir's secret sharing shards can share the same checksum. Worksheets are provided to evaluate checksums of different sizes.An email conversation discusses the possibility of using a "quick check" to independently verify shares without a computer, with a minimum size of 2 characters recommended. The difference between using an addition table/volvelle and a specific table/volvelle for 1 character quick checks is minimal. There is also consideration of creating a mod N = 0 checksum as a simpler approach. The project enables the verification of shares without a computer, and a specialized worksheet could facilitate the process. While small checksums are not foolproof, a relatively easy procedure with a low chance of error is preferred over a complex one.Codex32 is a protocol designed for paper recollection without electronics, ensuring the privacy and safety of shares. It does not support nested SSSS but allows for using one share as the secret for the next level. Storing version information for wallets using implicit BIP32 paths in metadata is recommended. It is also advised to store descriptor data alongside shares. Hardware wallets provide practical protection by isolating secrets. Codex32 addresses potential compromise vectors, reducing risk.A new proposal suggests a method for verifying individual shares without a computer. This involves using a mod N = 0 checksum or generating shares with small checksums, which can be verified manually. Updates to the draft text have been discussed in an email conversation, and individuals have been thanked for their feedback. A pull request for the new scheme was opened on February 15, 2023. Andrew Poelstra suggests the need for a MAC to prevent attacks on Bitcoin seed phrases.Overall, Codex32 offers innovative methods for verifying shares and seeds while maintaining security. The project provides options for quick checks, mod N = 0 checksums, and the use of Shamir's secret sharing shards. These verification methods can be performed manually, making them accessible to users without relying on computers. The protocol also addresses potential compromise vectors and provides practical protection through hardware wallets. Ongoing discussions and updates demonstrate the project's commitment to improving and refining its methods.Codex32 is a new seed-sharing scheme that allows for the backup and restoration of a hierarchical deterministic wallet's master seed using Shamir's secret sharing. It offers advantages over SLIP-0039, such as a longer checksum, more compact encoding, and readable metadata. The scheme uses the bech32 alphabet and is designed for hand computation. It supports splitting secret data into up to 31 shares, resembling Bech32 strings.One of the main benefits of Codex32 is the ability to independently verify the integrity of each share without a computer. This allows users to perform their recollection privately using pen and paper, ensuring the accuracy of their backup. Codex32 does not natively support nested SSSS or dummy wallets but does allow for version information storage.In a discussion about the new BIP proposal, concerns were raised about the potential for deliberate modification of a recovery code, leading to fraudulent activities. However, there is no way to prevent such an attack without compromising the properties of the code.The Codex32 format uses uppercase alphabets and numbers to reduce the size of QR codes. Lowercase letters are converted into a two-byte value, increasing QR code size. By using only uppercase alphabets and numbers, QR codes can be compressed and their efficiency improved. Superior QR codecs provided by Blockchain Commons or Nayuki.io can achieve even better results.The context mentions the discovery of a secret society called the Cult of the Bound Variable, which used sandstone "computers" with 32 glyphs for cryptographic computations. Their system, known as Codex32, may be of interest to the Bitcoin community.Overall, Codex32 offers an alternative method for backing up and restoring master seeds in hierarchical deterministic wallets. Its simplicity, error-correcting abilities, and support for independent share verification make it a compelling option for users seeking a secure and efficient seed-sharing scheme.


Updated on: 2023-08-02T09:01:23.468356+00:00