{"id":6254,"date":"2026-01-21T11:44:43","date_gmt":"2026-01-21T10:44:43","guid":{"rendered":"https:\/\/workboot.fr\/ciela\/?page_id=6254"},"modified":"2026-01-21T13:56:56","modified_gmt":"2026-01-21T12:56:56","slug":"fichier-luks","status":"publish","type":"page","link":"https:\/\/workboot.fr\/ciela\/fichier-luks\/","title":{"rendered":"Fichier LUKS"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Cr\u00e9ation du fichier chiffr\u00e9!<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">ici on va cr\u00e9er un fichier de 1G  et c&rsquo;est bien la le <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">d\u00e9faut <\/mark>! incompressible !<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bruno@elliott:~\/Secret$ dd if=\/dev\/urandom of=secret_vault.img bs=1M count=1024 status=progress\n809500672&nbsp;octets (810 MB, 772 MiB) copi\u00e9s, 3 s, 270 MB\/s\n1024+0&nbsp;enregistrements lus\n1024+0&nbsp;enregistrements \u00e9crits\n1073741824&nbsp;octets (1,1 GB, 1,0 GiB) copi\u00e9s, 3,95481 s, 272 MB\/s\nbruno@elliott:~\/Secret$ ls -l\ntotal 1048576\n-rw-r--r-- 1 bruno bruno 1073741824 21 janv. 11:39 secret_vault.img\nbruno@elliott:~\/Secret$ <\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># 10240 blocs de 1M = 10GB ici on a fait 1G ! d\u00e9ja bien<\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>bruno@elliott:~\/Secret$ sudo cryptsetup luksFormat secret_vault.img\n\nATTENTION&nbsp;!\n===========\nCette action \u00e9crasera d\u00e9finitivement les donn\u00e9es sur secret_vault.img.\n\n\u00cates-vous s\u00fbr&nbsp;? (Typez \u00ab&nbsp;yes&nbsp;\u00bb en majuscules)&nbsp;: YES\nSaisissez la phrase secr\u00e8te pour secret_vault.img&nbsp;: \nV\u00e9rifiez la phrase secr\u00e8te&nbsp;: \nbruno@elliott:~\/Secret$ \n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># Ouvrir le conteneur LUKS\nsudo cryptsetup open secret_vault.img secret_vault\n\n# Cr\u00e9er un syst\u00e8me de fichiers\nsudo mkfs.ext4 \/dev\/mapper\/secret_vault\n\n# Monter le volume\nsudo mkdir -p \/mnt\/secret_vault\nsudo mount \/dev\/mapper\/secret_vault \/mnt\/secret_vault\n\n# Donner les permissions \u00e0 votre utilisateur\nsudo chown -R $USER:$USER \/mnt\/secret_vault<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># Quand vous avez fini, d\u00e9monter\nsudo umount \/mnt\/secret_vault\nsudo cryptsetup close secret_vault<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Scripts pour utiliser facilement le fichier chiffr\u00e9.<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">secret_on.sh<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo cryptsetup open secret_vault.img secret_vault\nsudo mount \/dev\/mapper\/secret_vault \/mnt\/secret_vault\necho &quot;Montage disponible dans \/mnt\/secret_vault&quot;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">secret_off.sh<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo umount \/mnt\/secret_vault\nsudo cryptsetup close secret_vault\necho &quot;On verrouille le fichier ! \/mnt\/secret_vault &quot;\n\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Cr\u00e9ation du fichier chiffr\u00e9! ici on va cr\u00e9er un fichier de 1G et c&rsquo;est bien la le d\u00e9faut ! incompressible ! # 10240 blocs de 1M = 10GB ici on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-6254","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fichier LUKS - workboot<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/workboot.fr\/ciela\/fichier-luks\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fichier LUKS - workboot\" \/>\n<meta property=\"og:description\" content=\"Cr\u00e9ation du fichier chiffr\u00e9! ici on va cr\u00e9er un fichier de 1G et c&rsquo;est bien la le d\u00e9faut ! incompressible ! # 10240 blocs de 1M = 10GB ici on [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/workboot.fr\/ciela\/fichier-luks\/\" \/>\n<meta property=\"og:site_name\" content=\"workboot\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-21T12:56:56+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/fichier-luks\\\/\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/fichier-luks\\\/\",\"name\":\"Fichier LUKS - workboot\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#website\"},\"datePublished\":\"2026-01-21T10:44:43+00:00\",\"dateModified\":\"2026-01-21T12:56:56+00:00\",\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/workboot.fr\\\/ciela\\\/fichier-luks\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#website\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/\",\"name\":\"workboot\",\"description\":\"Open Source, Open Minds \",\"publisher\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#organization\",\"name\":\"workboot\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/logo_ciel-dorian-1.png\",\"contentUrl\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/logo_ciel-dorian-1.png\",\"width\":1024,\"height\":950,\"caption\":\"workboot\"},\"image\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fichier LUKS - workboot","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/workboot.fr\/ciela\/fichier-luks\/","og_locale":"fr_FR","og_type":"article","og_title":"Fichier LUKS - workboot","og_description":"Cr\u00e9ation du fichier chiffr\u00e9! ici on va cr\u00e9er un fichier de 1G et c&rsquo;est bien la le d\u00e9faut ! incompressible ! # 10240 blocs de 1M = 10GB ici on [&hellip;]","og_url":"https:\/\/workboot.fr\/ciela\/fichier-luks\/","og_site_name":"workboot","article_modified_time":"2026-01-21T12:56:56+00:00","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/workboot.fr\/ciela\/fichier-luks\/","url":"https:\/\/workboot.fr\/ciela\/fichier-luks\/","name":"Fichier LUKS - workboot","isPartOf":{"@id":"https:\/\/workboot.fr\/ciela\/#website"},"datePublished":"2026-01-21T10:44:43+00:00","dateModified":"2026-01-21T12:56:56+00:00","inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/workboot.fr\/ciela\/fichier-luks\/"]}]},{"@type":"WebSite","@id":"https:\/\/workboot.fr\/ciela\/#website","url":"https:\/\/workboot.fr\/ciela\/","name":"workboot","description":"Open Source, Open Minds ","publisher":{"@id":"https:\/\/workboot.fr\/ciela\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/workboot.fr\/ciela\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/workboot.fr\/ciela\/#organization","name":"workboot","url":"https:\/\/workboot.fr\/ciela\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/workboot.fr\/ciela\/#\/schema\/logo\/image\/","url":"https:\/\/workboot.fr\/ciela\/wp-content\/uploads\/2025\/05\/logo_ciel-dorian-1.png","contentUrl":"https:\/\/workboot.fr\/ciela\/wp-content\/uploads\/2025\/05\/logo_ciel-dorian-1.png","width":1024,"height":950,"caption":"workboot"},"image":{"@id":"https:\/\/workboot.fr\/ciela\/#\/schema\/logo\/image\/"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/workboot.fr\/ciela\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"Cr\u00e9ation du fichier chiffr\u00e9! ici on va cr\u00e9er un fichier de 1G et c&rsquo;est bien la le d\u00e9faut ! incompressible ! # 10240 blocs de 1M = 10GB ici on [&hellip;]","_links":{"self":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/6254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/comments?post=6254"}],"version-history":[{"count":11,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/6254\/revisions"}],"predecessor-version":[{"id":6270,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/6254\/revisions\/6270"}],"wp:attachment":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/media?parent=6254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}