PageSourceSearch

https://osbuild.org/assets/js/b4747743.dbf40a5a.js

js osbuild.org collected 2026-10-04 00:31:18 UTC 3,418 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksaurus=self.webpackChunksaurus||[]).push([[9285],{37140:(e,s,o)=>{o.r(s),o.d(s,{assets:()=>l,contentTitle:()=>i,default:()=>a,frontMatter:()=>d,metadata:()=>r,toc:()=>u});const r=JSON.parse('{"id":"developer-guide/projects/osbuild/modules/stages/org.osbuild.luks2.remove-key","title":"org.osbuild.luks2.remove-key","description":"\x3c!--","source":"@site/docs/developer-guide/02-projects/osbuild/modules/stages/org.osbuild.luks2.remove-key.md","sourceDirName":"developer-guide/02-projects/osbuild/modules/stages","slug":"/developer-guide/projects/osbuild/modules/stages/org.osbuild.luks2.remove-key","permalink":"/docs/developer-guide/projects/osbuild/modules/stages/org.osbuild.luks2.remove-key","draft":false,"unlisted":false,"editUrl":"https://github.com/osbuild/osbuild/tree/main/stages/org.osbuild.luks2.remove-key.meta.json","tags":[],"version":"current","frontMatter":{"custom_edit_url":"https://github.com/osbuild/osbuild/tree/main/stages/org.osbuild.luks2.remove-key.meta.json"},"sidebar":"developer","previous":{"title":"org.osbuild.luks2.format","permalink":"/docs/developer-guide/projects/osbuild/modules/stages/org.osbuild.luks2.format"},"next":{"title":"org.osbuild.lvm2.create","permalink":"/docs/developer-guide/projects/osbuild/modules/stages/org.osbuild.lvm2.create"}}');var t=o(74848),n=o(28453);const d={custom_edit_url:"https://github.com/osbuild/osbuild/tree/main/stages/org.osbuild.luks2.remove-key.meta.json"},i="org.osbuild.luks2.remove-key",l={},u=[{value:"Schema 1",id:"schema-1",level:2},{value:"Schema 2",id:"schema-2",level:2}];function c(e){const s={code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.header,{children:(0,t.jsx)(s.h1,{id:"orgosbuildluks2remove-key",children:"org.osbuild.luks2.remove-key"})}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.strong,{children:"Removes the supplied passphrase from the LUKS device."})}),"\n",(0,t.jsxs)(s.p,{children:["Buildhost commands used: ",(0,t.jsx)(s.code,{children:"cryptsetup"}),"."]}),"\n",(0,t.jsx)(s.h2,{id:"schema-1",children:"Schema 1"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-json",children:"{}\n"})}),"\n",(0,t.jsx)(s.h2,{id:"schema-2",children:"Schema 2"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-json",children:'{\n  "devices": {\n    "type": "object",\n    "additionalProperties": true,\n    "required": [\n      "device"\n    ],\n    "properties": {\n      "device": {\n        "type": "object",\n        "additionalProperties": true\n      }\n    }\n  },\n  "options": {\n    "additionalProperties": false,\n    "required": [\n      "passphrase"\n    ],\n    "properties": {\n      "passphrase": {\n        "description": "Passphrase to remove",\n        "type": "string"\n      }\n    }\n  }\n}\n'})})]})}function a(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},28453:(e,s,o)=>{o.d(s,{R:()=>d,x:()=>i});var r=o(96540);const t={},n=r.createContext(t);function d(e){const s=r.useContext(n);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:d(e.components),r.createElement(n.Provider,{value:s},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.