<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/systemd.git/src/shared/cryptsetup-util.c, branch main</title>
<subtitle>github.com: systemd/systemd.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/'/>
<entry>
<title>tree-wide: fix typo</title>
<updated>2022-12-02T04:27:08+00:00</updated>
<author>
<name>Yu Watanabe</name>
<email>watanabe.yu+github@gmail.com</email>
</author>
<published>2022-12-02T04:26:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/commit/?id=6c2d70ce9f6bf0df00ee1a15eba606ac506f5474'/>
<id>6c2d70ce9f6bf0df00ee1a15eba606ac506f5474</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dlfcn-util: add static asserts ensuring our sym_xyz() func ptrs match the types from the official headers</title>
<updated>2022-11-21T15:13:17+00:00</updated>
<author>
<name>Lennart Poettering</name>
<email>lennart@poettering.net</email>
</author>
<published>2022-11-16T20:37:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/commit/?id=7736a71fd2c4f0704db2e0d110959f817829cb85'/>
<id>7736a71fd2c4f0704db2e0d110959f817829cb85</id>
<content type='text'>
Make sure that the sym_xyz function pointers have the types that the
functions we'll assign them have.

And of course, this found a number of incompatibilities right-away, in
particular in the bpf hookup.

(Doing this will trigger deprecation warnings from libbpf. I simply
turned them off locally now, since we are well aware of what we are
doing in that regard.)

There's one return type fix (bool → int), that actually matters I think,
as it might have created an incompatibility on some archs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure that the sym_xyz function pointers have the types that the
functions we'll assign them have.

And of course, this found a number of incompatibilities right-away, in
particular in the bpf hookup.

(Doing this will trigger deprecation warnings from libbpf. I simply
turned them off locally now, since we are well aware of what we are
doing in that regard.)

There's one return type fix (bool → int), that actually matters I think,
as it might have created an incompatibility on some archs.
</pre>
</div>
</content>
</entry>
<entry>
<title>repart: Do offline encryption instead of online</title>
<updated>2022-11-15T19:07:54+00:00</updated>
<author>
<name>Daan De Meyer</name>
<email>daan.j.demeyer@gmail.com</email>
</author>
<published>2022-10-09T18:46:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/commit/?id=48a09a8fff480aab9a68e95e95cc37f6b1438751'/>
<id>48a09a8fff480aab9a68e95e95cc37f6b1438751</id>
<content type='text'>
Offline encryption can be done without mounting the luks device. For
now we still use loop devices to split out the partition we want to
write to but in a later commit we'll replace this with a regular file.

For offline encryption, we need to keep 2x the luks header size space
free at the end of the partition, so this means our encrypted partitions
will be 16M larger than before.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Offline encryption can be done without mounting the luks device. For
now we still use loop devices to split out the partition we want to
write to but in a later commit we'll replace this with a regular file.

For offline encryption, we need to keep 2x the luks header size space
free at the end of the partition, so this means our encrypted partitions
will be 16M larger than before.
</pre>
</div>
</content>
</entry>
<entry>
<title>cryptsetup-util: Always define dlopen_cryptsetup()</title>
<updated>2022-10-11T18:35:34+00:00</updated>
<author>
<name>Daan De Meyer</name>
<email>daan.j.demeyer@gmail.com</email>
</author>
<published>2022-10-11T18:35:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/commit/?id=bbf73b00697e77ca35ae60109418da77f257be52'/>
<id>bbf73b00697e77ca35ae60109418da77f257be52</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tpm2-util: add common parser for the LUKS2 TPM2 JSON structure</title>
<updated>2022-09-08T14:34:27+00:00</updated>
<author>
<name>Lennart Poettering</name>
<email>lennart@poettering.net</email>
</author>
<published>2022-08-19T20:15:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/commit/?id=fdf6c27cbaea5af63b474b6160c1effa5f3a3b46'/>
<id>fdf6c27cbaea5af63b474b6160c1effa5f3a3b46</id>
<content type='text'>
This splits out the JSON parser used by the systemd-cryptsetup code.

This is preparation for later work to reuse it in the tpm2 cryptsetup
token module, which currently uses a separate but very similar parser
for the same data.

No change in behaviour.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This splits out the JSON parser used by the systemd-cryptsetup code.

This is preparation for later work to reuse it in the tpm2 cryptsetup
token module, which currently uses a separate but very similar parser
for the same data.

No change in behaviour.
</pre>
</div>
</content>
</entry>
<entry>
<title>various: convert to the new dlopen_or_warn() helper</title>
<updated>2021-06-24T08:16:46+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2021-06-22T07:24:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/commit/?id=1622ef77ee4466074e7d785feabf6bc9115297c8'/>
<id>1622ef77ee4466074e7d785feabf6bc9115297c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dlfcn-util: invert function naming and add helper that does the whole job</title>
<updated>2021-06-24T08:16:43+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2021-06-22T06:48:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/commit/?id=fff25ab22eec825a15c2647a84247221abd6b0c8'/>
<id>fff25ab22eec825a15c2647a84247221abd6b0c8</id>
<content type='text'>
We warn when the operation fails, not when it succeeds. Hence this should be
"&lt;do&gt;_or_&lt;handle failure&gt;", not "&lt;do&gt;_and_&lt;handle failure&gt;". We *could* use
whatever convention we want, but rust and perl are rather consistent in using
the logical convention. We don't care about perl that much, but having a naming
convention inverted wrt. rust would be rather confusing.

Also, pretty much every implementation does similar steps, so add a nice
wrapper which combines opening of the library and loading of the symbols.

Also add missing sentinel attribute in dlopen_or_warn().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We warn when the operation fails, not when it succeeds. Hence this should be
"&lt;do&gt;_or_&lt;handle failure&gt;", not "&lt;do&gt;_and_&lt;handle failure&gt;". We *could* use
whatever convention we want, but rust and perl are rather consistent in using
the logical convention. We don't care about perl that much, but having a naming
convention inverted wrt. rust would be rather confusing.

Also, pretty much every implementation does similar steps, so add a nice
wrapper which combines opening of the library and loading of the symbols.

Also add missing sentinel attribute in dlopen_or_warn().
</pre>
</div>
</content>
</entry>
<entry>
<title>cryptsetup: fix typo</title>
<updated>2021-06-02T09:35:14+00:00</updated>
<author>
<name>Yu Watanabe</name>
<email>watanabe.yu+github@gmail.com</email>
</author>
<published>2021-06-02T07:37:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/commit/?id=7bbcaee3079fa8604ab12de95c899fc617ca866d'/>
<id>7bbcaee3079fa8604ab12de95c899fc617ca866d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #19768 from poettering/homectl-fido2-lock-with</title>
<updated>2021-06-01T13:53:36+00:00</updated>
<author>
<name>Lennart Poettering</name>
<email>lennart@poettering.net</email>
</author>
<published>2021-06-01T13:53:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/commit/?id=8e1422036a74bb64e5594b13b3c219cbb3fcd699'/>
<id>8e1422036a74bb64e5594b13b3c219cbb3fcd699</id>
<content type='text'>
homed: catch up with FIDO2 features in cryptsetup + other fixes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
homed: catch up with FIDO2 features in cryptsetup + other fixes</pre>
</div>
</content>
</entry>
<entry>
<title>cryptsetup-util: disable pbkdf benchmark in cryptsetup_set_minimal_pbkdf.</title>
<updated>2021-06-01T13:53:14+00:00</updated>
<author>
<name>Ondrej Kozina</name>
<email>okozina@redhat.com</email>
</author>
<published>2021-05-27T06:43:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/systemd.git/commit/?id=358b1f68b078d58a16deac1982da48c4d90a89a2'/>
<id>358b1f68b078d58a16deac1982da48c4d90a89a2</id>
<content type='text'>
No need to benchmark pbkdf when asking for minimal values
anyway.

1000 iterations count is minimum for both LUKS1 and LUKS2
pbkdf2 keyslot parameters according to NIST SP 800-132, ch. 5.2.

Iterations count can not be lower than recommended minimum
when benchmark is disabled. The time_ms member is ignored with
benchmark disabled.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No need to benchmark pbkdf when asking for minimal values
anyway.

1000 iterations count is minimum for both LUKS1 and LUKS2
pbkdf2 keyslot parameters according to NIST SP 800-132, ch. 5.2.

Iterations count can not be lower than recommended minimum
when benchmark is disabled. The time_ms member is ignored with
benchmark disabled.
</pre>
</div>
</content>
</entry>
</feed>
