Posts
5017
Following
329
Followers
499
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

Jarkko Sakkinen

installed a webcam in order to make a better appearance at telcos ;-)
1
0
1
@andrew nope, i just whatever gnome provides me and complain in social media ;-)
0
0
1

Jarkko Sakkinen

Edited yesterday
Now it hit me what I was doing wrong in TPM2 asymmetric keys.

Introducing new key types was a wrong strategy. Instead, pre-existing ECC and RSA key types should be layered i.e., you turn "TPM2 magic switch" on and kernel generates import blob etc. dance behind the curtains.

This has numerous benefits. E.g., there can be then also "TEE magic switch" depending on platform and generally speaking this is the best for users as they don't need to overturn their configuration.

#linux #kernel #tpm
0
0
1

Jarkko Sakkinen

My friend Tuomo wrote a window manager called 'pwm' during early 00's. I liked the idea of attaching multiple client windows to a single frame much more than tiling window managers. I used that wm for quite a while and wish that someone would bring that concept back.
2
1
2
Also, 'rsaParent' is just weird thing to have. Why not just have the whole TPM2B_PUBLIC blob for the parent key and applications can cherry pick what they want instead? It makes zero sense.
0
0
0

Jarkko Sakkinen

A great example, why "parent" attribute does not really work in TPMKey ASN.1 definition is Linux kernel.

We have explicit parameter for parent handle called 'keyhandle' because the attribute stored in the ASN.1 is useless and ambiguous data.

#linux #kernel #tpm
1
0
0
@pinkforest nope, i know it exist but have not had any use on what i do :-)
0
0
0

Jarkko Sakkinen

Edited 3 days ago
One reason I've stuck on ext4 is that I also run Bitwig Studio on my Linux machine, and generally speaking ext4 has more predictable latency (and more options for recovering data). Ultimately the choice file system is a throughput vs latency question, and this is probably also why Apple never migrated from HFS(+) to ZFS :-)
1
0
0

Jarkko Sakkinen

I think it would be great if we put endorsement certificates for sysfs.

I.e. with very little code/scripting on can then provide tools and means for remote attestation server to generate challenges (e.g. during OS installation).

#linux #kernel #tpm
0
0
1

Jarkko Sakkinen

Edited 4 days ago
Applied a largeish patch [1] to my master:

1. 11 files changed, 508 insertions(+), 566 deletions(-)
2. https://lore.kernel.org/linux-integrity/20251206113110.1793407-4-jarkko@kernel.org/

There's no really sane way to split this so thus I thought it is good idea to early merge it in the beginning of the release cycle in order to maximize coverage :-)
0
0
0
@Netux I'm not 100% sure if I need them but it is good idea to include MS signatures in order to be robust with oproms. Thus, in a common case you want to do that despite owning the KEK keys.
0
0
1

Jarkko Sakkinen

Phew, total 4 separate pull requests for 6.19, all landed without complains :-)
0
0
1

Jarkko Sakkinen

Awesome, it went through first time. Finally had time to actually enable secure boot with sbctl.

Here’s what I did:

  1. Enabled secure boot in custom mode (i.e., not standard mode) from BIOS settings.
  2. Erased all keys. This triggers so called “setup mode” for the next boot.
  3. Typed bunch of random commands :-)

I did the script couple of weeks ago but did not have time to test it live (until now).

1
0
2

Jarkko Sakkinen

3/4 PRs done for 6.19, one to go
0
0
1

Jarkko Sakkinen

Just like there is this half-insulting term "SJW", or "social justice warrior", there should another term "NWW" aka "non-woke warrior" IMHO.

... when I was young IDEs had NON-WOKE names such as "Code Warrior" ;-)
0
0
0

Jarkko Sakkinen

alias readelf='readelf -W'

like the first thing to ever do with readelf ;-)
0
0
0
I think it would be nice patch to merge as it does early roundwork for policy execution as side-effect.
0
0
0

Jarkko Sakkinen

This kernel patch embeds an extension for the TPMKey specification:

https://lore.kernel.org/linux-integrity/20251205030205.140842-3-jarkko@kernel.org/

I.e. optional 'parentName' attribute. It also populates kernel's ASN.1 definition with the full spec. It's a bottleneck in the ASN.1 format.

#linux #kernel #tpm
1
0
0

Jarkko Sakkinen

UserHasNoMailboxAndNoLicenseAssignedError

Microsoft clearly makes the best error codes.
0
0
2
Show older