)]}'
{"doc/source/api/quickstart/pkcs11keygeneration.rst":[{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"e1b25c5111ed6c6cee988396f1b612bed1b2d450","unresolved":false,"context_lines":[{"line_number":29,"context_line":"Usage"},{"line_number":30,"context_line":"#####"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Viewing the help page cna give some awareness to the structure of the script"},{"line_number":33,"context_line":"as well as inform you of any changes."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":".. code-block:: bash"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5afe65bd_89a45ea6","line":32,"updated":"2015-06-03 15:03:53.000000000","message":"s/cna/can/","commit_id":"04ecfc38a7deec551665a4ee2f035a40c5b2d36c"},{"author":{"_account_id":13914,"name":"Darren J Moffat","email":"darren.moffat@oracle.com","username":"darrenmoffat"},"change_message_id":"0fefac61f8ea42abb110df1874286652ae673cd5","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"  * Library Path"},{"line_number":20,"context_line":"  * Login Passphrase (Password to HSM)"},{"line_number":21,"context_line":"  * Slot ID (on HSM)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"The following will need to be provided to generate the HMAC and MKEK:"},{"line_number":24,"context_line":"  * MKEK Label"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5afe65bd_25bb4a29","line":21,"updated":"2015-06-03 15:24:50.000000000","message":"Slot IDs are not stable in PKCS#11 this should probably be the Slot Decsription from CK_SLOT_INFO instead of the slot number.","commit_id":"e057fe77064c8522847c13ee9b32c6f5d037b71a"},{"author":{"_account_id":16429,"name":"Nick Smith","email":"nick.a.smith@thales-esecurity.com","username":"nickrmc83"},"change_message_id":"ab9a16088ddba1781a7200019c8f5b8e45f0ea1a","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"  * Library Path"},{"line_number":20,"context_line":"  * Login Passphrase (Password to HSM)"},{"line_number":21,"context_line":"  * Slot ID (on HSM)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"The following will need to be provided to generate the HMAC and MKEK:"},{"line_number":24,"context_line":"  * MKEK Label"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5afe65bd_2b1f9960","line":21,"in_reply_to":"5afe65bd_25bb4a29","updated":"2015-06-03 15:58:05.000000000","message":"I agree with Darren however I would go a step further and say not to address a slot but to address a token as they can move across HSM restarts or upgrades.","commit_id":"e057fe77064c8522847c13ee9b32c6f5d037b71a"},{"author":{"_account_id":11970,"name":"Chelsea Winfree","email":"chelsea.winfree@gmail.com","username":"chellygel"},"change_message_id":"0c29fe0991d2e5685417fb44866fdb3fbbed8fff","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"  * Library Path"},{"line_number":20,"context_line":"  * Login Passphrase (Password to HSM)"},{"line_number":21,"context_line":"  * Slot ID (on HSM)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"The following will need to be provided to generate the HMAC and MKEK:"},{"line_number":24,"context_line":"  * MKEK Label"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5afe65bd_ffab75d4","line":21,"in_reply_to":"5afe65bd_2b1f9960","updated":"2015-06-03 19:58:11.000000000","message":"How would you feel about a password prompt after submitting the command?","commit_id":"e057fe77064c8522847c13ee9b32c6f5d037b71a"},{"author":{"_account_id":16429,"name":"Nick Smith","email":"nick.a.smith@thales-esecurity.com","username":"nickrmc83"},"change_message_id":"2a8955d98edcddd1eb677362576e5a07004c32d9","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":"  * Library Path"},{"line_number":20,"context_line":"  * Login Passphrase (Password to HSM)"},{"line_number":21,"context_line":"  * Slot ID (on HSM)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"The following will need to be provided to generate the HMAC and MKEK:"},{"line_number":24,"context_line":"  * MKEK Label"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5afe65bd_b5499062","line":21,"in_reply_to":"5afe65bd_ffab75d4","updated":"2015-06-04 07:08:27.000000000","message":"I think that would be sensible and would mirror how many other standard utilities work which users are used to.","commit_id":"e057fe77064c8522847c13ee9b32c6f5d037b71a"},{"author":{"_account_id":13914,"name":"Darren J Moffat","email":"darren.moffat@oracle.com","username":"darrenmoffat"},"change_message_id":"0fefac61f8ea42abb110df1874286652ae673cd5","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    $ python pkcs11-key-generation.py --help"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    usage: pkcs11-key-generation.py [-h] [--library-path LIBRARY_PATH]"},{"line_number":40,"context_line":"                                [--passphrase PASSPHRASE] [--slot-id SLOT_ID]"},{"line_number":41,"context_line":"                                {mkek,hmac} ..."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    Barbican MKEK \u0026 HMAC Generator"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5afe65bd_c5ed9626","line":40,"updated":"2015-06-03 15:24:50.000000000","message":"Ick! passphrases on the command line are visible by everyone on the machine in general.","commit_id":"e057fe77064c8522847c13ee9b32c6f5d037b71a"},{"author":{"_account_id":13914,"name":"Darren J Moffat","email":"darren.moffat@oracle.com","username":"darrenmoffat"},"change_message_id":"0fefac61f8ea42abb110df1874286652ae673cd5","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    $ python pkcs11-key-generation.py --library-path {library_path here}"},{"line_number":70,"context_line":"    --passphrase {HSM password here} --slot-id {HSM slot here} mkek --length 32"},{"line_number":71,"context_line":"    --label \u0027HMACLabelHere\u0027"},{"line_number":72,"context_line":"    MKEK successfully generated!"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5afe65bd_4548862d","line":71,"updated":"2015-06-03 15:24:50.000000000","message":"Might be a good use case for having it use the pkcs11 URI syntax RFC 7512","commit_id":"e057fe77064c8522847c13ee9b32c6f5d037b71a"}]}
