Menu

#278 Unable to use the full password length in Volume Creation Wizard

1.0
open
nobody
None
2019-07-31
2019-07-31
Chris
No

In the Volume Creation Wizard, when I paste a complex password of 60 characters with unicode characters outside the standard alphabet like this:

DģŚIåè½ñľZŤďæÅêÏÅN;ÂĞsA;Y:IJäĐŇę`?WÄõûĞůùUżń!Kėů+rŜęşŗWãŽŹŴğś

it prevents me from doing so and tells me only 64 characters are supported. When I then reduce its length, it can be used at a length of 38 characters

DģŚIåè½ñľZŤďæÅêÏÅN;ÂĞsA;Y:IJäĐŇę?WÄõûĞ (works) DģŚIåè½ñľZŤďæÅêÏÅN;ÂĞsA;Y:IJäĐŇę?WÄõûĞů (works not anymore)
ģŚIåè½ñľZŤďæÅêÏÅN;ÂĞsA;Y:IJäĐŇę`?WÄõûĞů (works again)
aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeffffffffffgggg (works)

I guess that Windows Clipboard adds the unicode characters in a non-normalized way, so that the G with this thingi on top at the end e.g. is written as two letters instead of one (both is valid in unicode). My suggestion is, that in the OnChange event of the password fields the unicode normalization function (normalization form C) is called before the string is used, so that the compressed one letter version is used and a password of 64 unicode characters may be entered.

I used the Volume Creation Wizard on a Windows 7 x64 machine.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB