BIP 38 NFC normalisation issue



Summary:

During a discussion about BIP38 implementation, Andreas Schildbach found that the only problem with the original test case was that one cannot specify codepoints from the SMP using \u in Java. Andreas updated bitcoinj to fix this issue and proposed a new test vector. There were issues with null character and other weird issues lurking.Aaron Voisine recommended that instead of removing control characters from password, the spec require that passwords containing control characters are invalid. He also recommended disallowing any character below U+0020 (space) for UI compatibility across many platforms. There were concerns about JVM-based wallets not supporting Unicode NFC and therefore suggest limiting the spec to the subset of Unicode that all popular platforms can support. It was suggested to filter ISO control characters to solve the problem.Black Duck is offering a free copy of Code Sight, the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub. With this offer, users can index and search up to 200,000 lines of code in their enterprise. The Black Duck Open Hub is one of the biggest code search engines available and provides users with an easy way to access all the code in their enterprise. Users who want fast and easy access to their code can take advantage of this free offer. To try it out, interested parties can visit http://p.sf.net/sfu/bds.


Updated on: 2023-06-09T00:55:46.576363+00:00