[DOCS-6027] 3.1.x release notes for encryption use incorrect command Created: 13/Aug/15  Updated: 11/Jan/17  Resolved: 13/Aug/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Osmar Olivo Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 8 years, 26 weeks, 6 days ago

 Description   

The instructions for key-file encryption tell us to use the following command for keyfile creation

 openssl rand -base64 32 | head -c 32 > mongodb-keyfile 

This is incorrect as when you base64 encode something, original key length is not preserved, therefore we are truncating our keys with this command. What we actually want is

 openssl rand -base64 32 > mongodb-keyfile 

The exact issue can be found at http://docs.mongodb.org/manual/release-notes/3.1-dev-series-configure-encryption/#local-key-management



 Comments   
Comment by Githook User [ 13/Aug/15 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-6027 fix encryption key command
Branch: master
https://github.com/mongodb/docs/commit/b955fbdea65a80d69b87127bbe01103eb2b73772

Generated at Thu Feb 08 07:51:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.