Re: [PATCH 0/2] Bitlocker: Support clearkey

Kfir Ka <[email protected]> Sat, 4 Oct 2025 22:28:57 +0300
Newsgroups dev.linux.lists.cryptsetup
Message-ID <CAGr_o3CFk+EaQ9uEXCbGWow9mE+P0AYinfqFytuRG0ckzGyCGg@mail.gmail.com>
I would like to create a Merge request but unfortunately I do not have
the permissions to do so.
It seems that you will need to add me as a developer in the gitlab project.

=E2=80=AB=D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=A9=D7=91=D7=AA, 4 =D7=91=
=D7=90=D7=95=D7=A7=D7=B3 2025 =D7=91-21:17 =D7=9E=D7=90=D7=AA =E2=80=AAMila=
n Broz=E2=80=AC=E2=80=8F <[email protected]=E2=80=AC=E2=80=8F>:=
=E2=80=AC
>
> On 10/4/25 2:35 AM, Kfir Kahanov wrote:
> > This code enable support for clearkey bitlocker protection.
> > Closes: #962
>
> Hi,
>
> as this is not trivial feature, please submit it through
> merge request through GitLab project page.
> You already have issue there, so it should not be a problem.
>
> This way it can go through CI and all discussion and changes
> will be there. Also it need to include some tests.
>
> For the patch - we planned support for Bitlocker clearkey,
> so it is definitely something that I would lite to merge.
>
> However, I do not understand why you need to touch API
> and other formats. The whole implementation should be embedded
> in BITLK format support only.
> IMO if Bitlocker header contains CLEARKEY, it should be used
> directly. I know it will be a little bit tricky to support
> it through existing calls, but I definitely do not want new activation
> API call and commandline option for it.
>
> Anyway, this discussion should happen on Gitlab, we can
> discuss there possible options for integration.
>
> Thanks!
> Milan
>
>
> >
> >
> > Kfir Kahanov (2):
> >    bitlocker: Support clearkey
> >    bitlocker: Add clearkey option
> >
> >   lib/bitlk/bitlk.c         | 106 +++++++++++++++++++++++++------------=
-
> >   lib/keyslot_context.c     |  97 ++++++++++++++++++++++++++++++++++
> >   lib/keyslot_context.h     |   2 +
> >   lib/libcryptsetup.h       |  24 +++++++++
> >   lib/libcryptsetup.sym     |   1 +
> >   lib/setup.c               |  24 ++++++++-
> >   src/cryptsetup.c          |  20 ++++---
> >   src/cryptsetup_arg_list.h |   2 +
> >   src/cryptsetup_args.h     |   1 +
> >   src/utils_arg_names.h     |   1 +
> >   10 files changed, 234 insertions(+), 44 deletions(-)
> >
>