[DOCS-7100] Magic number Created: 05/Feb/16 Updated: 11/Jan/17 Resolved: 05/Feb/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Marius il?nas | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | authentication, keyFile, length, magic | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 7 years, 29 weeks ago |
| Description |
|
Tutorial on enabling Internal Authentication contains magic number Please change 741 to meaningful (IMHO) number 1024. |
| Comments |
| Comment by Emily Hall [ 27/Jul/16 ] |
|
Closed for housekeeping on 7/27/2016 by Emily Hall. |
| Comment by Marius il?nas [ 05/Feb/16 ] |
|
I got it. 741 is number of bytes to feed to base64 encoder. Encoder produces more characters than bytes fed. Close the ticket. |
| Comment by Marius il?nas [ 05/Feb/16 ] |
|
This is where the 741 was found https://docs.mongodb.org/manual/tutorial/enable-internal-authentication/. See text openssl rand -base64 741 > /srv/mongodb/mongodb-keyfile |