Details
-
Bug
-
Status: Closed
-
Trivial - P5
-
Resolution: Fixed
-
2.4.5
-
Fully Compatible
-
ALL
-
Description
setupSecurityKey performs a check to ensure that the input keyFile is less than or equal to 1024 bytes. While processing the file, it will strip out whitespace it encounters. However, this whitespace will still count towards the size limit.
I believe this is why Windows requires smaller Base64ed keys. Its CLRF encoded linebreaks take up more characters. This is documented at http://docs.mongodb.org/manual/tutorial/generate-key-file/
Attachments
Issue Links
- is depended on by
-
DOCS-1927 Document : setupSecurityKey should check character count after whitespace has been stripped
-
- Closed
-
- links to