{"id":1050,"date":"2013-05-24T23:56:26","date_gmt":"2013-05-24T21:56:26","guid":{"rendered":"http:\/\/blog.nebule.org\/?p=1050"},"modified":"2016-03-29T19:02:52","modified_gmt":"2016-03-29T17:02:52","slug":"mise-a-jour-librairie-bash-de-reference-2","status":"publish","type":"post","link":"https:\/\/blog.nebule.org\/?p=1050","title":{"rendered":"Mise \u00e0 jour \u00e2\u20ac\u201c librairie bash de r\u00e9f\u00e9rence"},"content":{"rendered":"<p style=\"text-align: justify;\">L&rsquo;entit\u00e9 <a title=\"http:\/\/bachue.nebule.org\" href=\"http:\/\/bachue.nebule.org\" target=\"_blank\">bachue<\/a> diffuse depuis ce soir une nouvelle version de la librairie <em>bash<\/em> de r\u00e9f\u00e9rence. Elle est disponible ici :<\/p>\n<p style=\"text-align: center;\"><a title=\"0c2bd920ba6efa6fdb72718bd5d606cd56c95956d8e3e8c6e1f8562d56820853\" href=\"http:\/\/bachue.nebule.org\/l\/0c2bd920ba6efa6fdb72718bd5d606cd56c95956d8e3e8c6e1f8562d56820853\" target=\"_blank\">0c2bd920ba6efa6fdb72718bd5d606cd56c95956d8e3e8c6e1f8562d56820853<\/a> (<a title=\"http:\/\/bachue.nebule.org\/o\/0c2bd920ba6efa6fdb72718bd5d606cd56c95956d8e3e8c6e1f8562d56820853\" href=\"http:\/\/bachue.nebule.org\/o\/0c2bd920ba6efa6fdb72718bd5d606cd56c95956d8e3e8c6e1f8562d56820853\" target=\"_blank\">contenu<\/a>)<\/p>\n<p style=\"text-align: justify;\">Cette mise \u00e0 jour apporte la fonction de d\u00e9chiffrement compl\u00e8te <code>nebObjUnEnc<\/code> pour extraire un objet en clair d&rsquo;un autre objet chiffr\u00e9. Cela tient compte de la cl\u00e9 de session et de l&rsquo;entit\u00e9 destinataire, c&rsquo;est \u00e0 dire celle qui d\u00e9tient la cl\u00e9 priv\u00e9e (et son mot de passe).<\/p>\n<p style=\"text-align: justify;\">Cela donne par exemple (dans une console <em>bash<\/em>) pour la commande<\/p>\n<pre>nebObjUnEnc 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800 \/home\/steph\/temp\/<\/pre>\n<p style=\"text-align: justify;\">les logs :<\/p>\n<pre>2013-05-24T23:23:48+0200 2  -nebObjUnEnc REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800 \/home\/steph\/temp\/\n2013-05-24T23:23:48+0200 2  -nebObjUnEnc PATH \/home\/steph\/temp\/\n2013-05-24T23:23:48+0200 3  -nebReadObjLinks REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800\n2013-05-24T23:23:48+0200 4  _l_lsx REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800\n2013-05-24T23:23:48+0200 5  _l_ls1 REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800\n2013-05-24T23:23:48+0200 2  -nebObjUnEnc FOUND 2919ec018c34e16115b6edccd6cd8f5ba4fc43b2f81a74b05a6a6b2b7b10c1203495bc16302448e0f765f996b20dcfdaa603d498ca3677d1c4edc89d00ff78ee0b08afea86599b9dd7d3b906eabd03e95fcedb6a061a845880734dbd96ce\n2013-05-24T23:23:48+0200 2  -nebObjUnEnc SESSION KEY fd375403d263355facc8bfe0393c3182358675ee24826f11911a3e6a6040e9a0\n2013-05-24T23:23:48+0200 3  -nebReadObjLinks REQ fd375403d263355facc8bfe0393c3182358675ee24826f11911a3e6a6040e9a0\n2013-05-24T23:23:48+0200 4  _l_lsx REQ fd375403d263355facc8bfe0393c3182358675ee24826f11911a3e6a6040e9a0\n2013-05-24T23:23:48+0200 5  _l_ls1 REQ fd375403d263355facc8bfe0393c3182358675ee24826f11911a3e6a6040e9a0\n2013-05-24T23:23:48+0200 2  -nebObjUnEnc FOUND 8081c51cffa6f2e56f0f2b087cfaf0cf58eb04470e232d3051153d12e536b803a17dbb2d2d32d1816abfe405beac973193ce3ec4116a5588a03fe7a120170cf19160ccb6a2d131711c30d18eb120326972b147baddbd008837f271c401f5\n2013-05-24T23:23:48+0200 2  -nebObjUnEnc SESSION KEY ENC cf3ba5ec5c63e3fa3f2aaa4e4005f11134afe1bf1c10cf0b349c303adb3a0a4c\n2013-05-24T23:23:48+0200 3  -nebAsymUnEnc REQ cf3ba5ec5c63e3fa3f2aaa4e4005f11134afe1bf1c10cf0b349c303adb3a0a4c\n2013-05-24T23:23:48+0200 4  -nebReadObjTypeMime REQ cf3ba5ec5c63e3fa3f2aaa4e4005f11134afe1bf1c10cf0b349c303adb3a0a4c\n2013-05-24T23:23:48+0200 5  -nebFindObjType REQ cf3ba5ec5c63e3fa3f2aaa4e4005f11134afe1bf1c10cf0b349c303adb3a0a4c nebule\/objet\/type\n2013-05-24T23:23:48+0200 6  _l_lsx REQ cf3ba5ec5c63e3fa3f2aaa4e4005f11134afe1bf1c10cf0b349c303adb3a0a4c\n2013-05-24T23:23:48+0200 7  _l_ls1 REQ cf3ba5ec5c63e3fa3f2aaa4e4005f11134afe1bf1c10cf0b349c303adb3a0a4c\n2013-05-24T23:23:48+0200 5  -nebFindObjType TYPE f0fff2e398c34a5cde5006bd1d964226ddee18a7550e552a4e49536607792d7a\n2013-05-24T23:23:48+0200 4  -nebReadObjTypeMime FIND application\/x-encrypted\/rsa\n2013-05-24T23:23:48+0200 3  -nebAsymUnEnc OBJ TYPE application\/x-encrypted\/rsa\n2013-05-24T23:23:48+0200 3  -nebAsymUnEnc DECODE cf3ba5ec5c63e3fa3f2aaa4e4005f11134afe1bf1c10cf0b349c303adb3a0a4c 6a4b7f1100b87044b21f0300eb5c8b627e440e6c239b7dc64767dc16fab38719\n2013-05-24T23:23:48+0200 3  -nebAsymUnEnc DECODED cf3ba5ec5c63e3fa3f2aaa4e4005f11134afe1bf1c10cf0b349c303adb3a0a4c -&gt; fd375403d263355facc8bfe0393c3182358675ee24826f11911a3e6a6040e9a0\n2013-05-24T23:23:48+0200 3  -nebObjUnEnc DECODED KEY\n2013-05-24T23:23:48+0200 4  -nebSymUnEnc REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800 fd375403d263355facc8bfe0393c3182358675ee24826f11911a3e6a6040e9a0\n2013-05-24T23:23:48+0200 5  -nebReadObjTypeMime REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800\n2013-05-24T23:23:48+0200 6  -nebFindObjType REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800 nebule\/objet\/type\n2013-05-24T23:23:48+0200 7  _l_lsx REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800\n2013-05-24T23:23:48+0200 8  _l_ls1 REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800\n2013-05-24T23:23:48+0200 6  -nebFindObjType TYPE f67ae5bf11f82e1037ee44aa79fab49dd4d7c4f66e6efb3f9a157193b1e20f9a\n2013-05-24T23:23:48+0200 5  -nebReadObjTypeMime FIND application\/x-encrypted\/aes-256-cbc\n2013-05-24T23:23:48+0200 4  -nebSymUnEnc OBJ TYPE application\/x-encrypted\/aes-256-cbc\n2013-05-24T23:23:48+0200 4  -nebSymUnEnc ALGO aes-256-cbc\n2013-05-24T23:23:48+0200 5  -nebFindObjType REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800 nebule\/objet\/encode\/InitialVector\n2013-05-24T23:23:48+0200 6  _l_lsx REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800\n2013-05-24T23:23:48+0200 7  _l_ls1 REQ 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800\n2013-05-24T23:23:48+0200 5  -nebFindObjType TYPE 4dcabd9342f9d1da7703e050a8887c4d87b06dcea7426d9c0d099bacf763656e\n2013-05-24T23:23:48+0200 4  -nebSymUnEnc IV 4dcabd9342f9d1da7703e050a8887c4d87b06dcea7426d9c0d099bacf763656e\n2013-05-24T23:23:48+0200 4  -nebSymUnEnc DECODE aes-256-cbc 7c81a9adf7596b0ea7a7460e1676558a7d2148c0a619f57edff0dc748d744800 fd375403d263355facc8bfe0393c3182358675ee24826f11911a3e6a6040e9a0 IV=739c43201f51033e5826db9572bde317\n2013-05-24T23:23:48+0200 4  -nebSymUnEnc DECODED IN 0af75abec49fb5769b2431464657f419a2e9e28859b584a3c662c89ae87f1f1e\n2013-05-24T23:23:48+0200 4  -nebSymUnEnc MOVED TO PRIV\n2013-05-24T23:23:48+0200 4  -nebObjUnEnc DECODED OBJ\n2013-05-24T23:23:48+0200 5  -nebReadEntityFName REQ 0af75abec49fb5769b2431464657f419a2e9e28859b584a3c662c89ae87f1f1e\n2013-05-24T23:23:48+0200 6  -nebFindObjType REQ 0af75abec49fb5769b2431464657f419a2e9e28859b584a3c662c89ae87f1f1e nebule\/objet\/nom\n2013-05-24T23:23:48+0200 7  _l_lsx REQ 0af75abec49fb5769b2431464657f419a2e9e28859b584a3c662c89ae87f1f1e\n2013-05-24T23:23:48+0200 8  _l_ls1 REQ 0af75abec49fb5769b2431464657f419a2e9e28859b584a3c662c89ae87f1f1e\n2013-05-24T23:23:49+0200 6  -nebFindObjType TYPE f3ca40a0f58333a71523ebe390a71240432eaa5572f4a466d4ed8030b91f0e20\n2013-05-24T23:23:49+0200 5  -nebReadEntityFName FIND 201305201327.e837349285b6a040f41bc5371d58c0a7.www.tar\n2013-05-24T23:23:49+0200 5  -nebReadEntitySName REQ 0af75abec49fb5769b2431464657f419a2e9e28859b584a3c662c89ae87f1f1e\n2013-05-24T23:23:49+0200 6  -nebFindObjType REQ 0af75abec49fb5769b2431464657f419a2e9e28859b584a3c662c89ae87f1f1e nebule\/objet\/suffix\n2013-05-24T23:23:49+0200 7  _l_lsx REQ 0af75abec49fb5769b2431464657f419a2e9e28859b584a3c662c89ae87f1f1e\n2013-05-24T23:23:49+0200 8  _l_ls1 REQ 0af75abec49fb5769b2431464657f419a2e9e28859b584a3c662c89ae87f1f1e\n2013-05-24T23:23:49+0200 6  -nebFindObjType TYPE b06912c7bb9360d220e0a7a25449b9012b35f891f4d748cc0f3f0615c1ec48d7\n2013-05-24T23:23:49+0200 5  -nebReadEntitySName FIND bz2\n2013-05-24T23:23:49+0200 4  -nebObjUnEnc FILENAME 201305201327.e837349285b6a040f41bc5371d58c0a7.www.tar.bz2\n2013-05-24T23:23:49+0200 4  -nebObjUnEnc MOVED TO \/home\/steph\/temp\/<\/pre>\n<p>Et le fichier <code>\/home\/steph\/temp\/201305201327.e837349285b6a040f41bc5371d58c0a7.www.tar.bz2<\/code> est bien cr\u00e9\u00e9.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>L&rsquo;entit\u00e9 bachue diffuse depuis ce soir une nouvelle version de la librairie bash de r\u00e9f\u00e9rence. Elle est disponible ici : 0c2bd920ba6efa6fdb72718bd5d606cd56c95956d8e3e8c6e1f8562d56820853 (contenu) Cette mise \u00e0 jour apporte la fonction de d\u00e9chiffrement compl\u00e8te nebObjUnEnc pour extraire un objet en clair d&rsquo;un autre objet chiffr\u00e9. Cela tient compte de la cl\u00e9 de session et de l&rsquo;entit\u00e9 destinataire, &hellip; <a href=\"https:\/\/blog.nebule.org\/?p=1050\" class=\"more-link\">Continuer la lecture de <span class=\"screen-reader-text\">Mise \u00e0 jour \u00e2\u20ac\u201c librairie bash de r\u00e9f\u00e9rence<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58,62,64,3,88,7,40],"tags":[],"class_list":["post-1050","post","type-post","status-publish","format-standard","hentry","category-asymetrique","category-bachue","category-bash","category-cryptographie","category-fonctions","category-implementation","category-symetrique"],"_links":{"self":[{"href":"https:\/\/blog.nebule.org\/index.php?rest_route=\/wp\/v2\/posts\/1050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.nebule.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nebule.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nebule.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nebule.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1050"}],"version-history":[{"count":1,"href":"https:\/\/blog.nebule.org\/index.php?rest_route=\/wp\/v2\/posts\/1050\/revisions"}],"predecessor-version":[{"id":2260,"href":"https:\/\/blog.nebule.org\/index.php?rest_route=\/wp\/v2\/posts\/1050\/revisions\/2260"}],"wp:attachment":[{"href":"https:\/\/blog.nebule.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nebule.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nebule.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}