Posts
4941
Following
327
Followers
492
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

Jarkko Sakkinen

there's now easy path to get #servo webviews: https://github.com/nacho/servo-gtk
0
0
2

Jarkko Sakkinen

Edited 12 days ago
WebAssembly is one of the worst ideas in the industry during past 10 years. why end up with stack machine and purposely complicate JIT. Never really grabbed it engineering wise TBH but maybe I'm missing something who knows.

You don't need to be an engineer to get it. It just tends to be easier to find ways map registers to registers, and requires more stretch to move between stack and register machine.
1
0
0

Jarkko Sakkinen

i do want to support the cause but i don't want or am going to create yet another account 🤷 #mastodon
0
2
2

Jarkko Sakkinen

Edited 12 days ago
linkedin i scroll posts and spot at least three posts from someexperts about DAC permission and how to decipher them.

dude, you have like left and right plus one more state. i could explain DAC to my mom who does not anything aboutc omputers or permissions and i'm confident that she would get it.

other posts are the usual 2025 AI crap. i made account mostly to backup CV somewhere someday and curiosity after many years away from.

it does deliver shit and i do get some entertainment for boring moments so i guess it is a great service then 🤷
1
0
0

Jarkko Sakkinen

"I’m not glad he’s dead, but I’m glad he’s gone.”

https://www.reuters.com/world/us/former-us-vp-dick-cheney-dead-84-punchbowl-news-says-2025-11-04/
0
0
1

Jarkko Sakkinen

split zmodem2 into two separate projects:

1. https://crates.io/crates/zmodem2
2. https://crates.io/crates/lrzsz2

this will still need a lot of love before being a production tool but working batch transfers (against lrzsz) is good start.
0
0
0

Jarkko Sakkinen

batch file transfers finally working reliably
0
0
1

Jarkko Sakkinen

I created a cheat sheet of my accumulated custom shortcuts in vim using typst. i'm going to maintain this and capping custom shortcuts to fit into single A4 helps to make sure that things don't get too complicated :-)
0
1
2

Jarkko Sakkinen

going to submit a talk next year to the first linux security summit cfp :-)
0
0
1

Jarkko Sakkinen

I sometimes wish that I'd see more "Skilled Skateboarders" than "Skilled Board Members" at LinkedIn. World would probably be a better place if that would ever happen.
2
3
12

Jarkko Sakkinen

tpm2sh 0.15.0 compiles the policy commands to the DER payload.

Crypto has been migrated to OpenSSL for sake of allowing to be (or delegating the policy of being) FIPS compatible, and making crypto patchable.

#linux #kernel #tpm #openssl #rustlang
0
2
1

Jarkko Sakkinen

0
2
3

Jarkko Sakkinen

hooray 10K downloads: https://crates.io/crates/tpm2sh
1
0
0

Jarkko Sakkinen

Edited 18 days ago
Decomposition time now that tpm2sh has matured to a usable peace of software.

First off, here's basic set of cryptographic routines defined in the TCG TPM 2.0 architecture specification:

https://crates.io/crates/tpm2-crypto

They've been tested equally in client and emulator implementation.

More to come as I dislike the size of current tpm2sh code base (7 KSLOC).

#linux #tpm #rustlang
1
0
0

Jarkko Sakkinen

Yet another reason for improving DSO support in Rust would be to give people freedom of choice to license with LGPL.
0
0
0

Jarkko Sakkinen

https://crates.io/crates/tpm2sh/0.13.0

With the tpm2sh 0.13.0 the goals that I set when I started working on this in August are fulfilled:

1. First class handling of TPMKey ASN.1 format, and import capabilities from the most common formats for ECC and RSA keys (PKCS#1, PCKS#8 and SEC1).
2. Meaningful and "human" way to describe key policies (e.g., "(pcr(sha256:16) or pcr(sha256:7)) and secret(tpm:81000001)").
3. Intutive interface to browse the TPM memory and download EK certificates.
4. Virtual TPM address space with transparent context handling and clean up of stale contexts (from earlier power cycles).

In other words, tpm2sh addresses now the immediate kernel hacking needs for TPM driver itself, Linux keyring, IMA etc. One additional feature I'm going to finish off at some point is parameter encryption, which won't take long tas tpm2sh already creates unsalted and unbound HMAC sessions for different tasks.

Patches are always welcome, and can be sent to tpmprotocol@lists.linux.dev ;-)

#linux #kernel #tpm #rustlang
0
1
2

Jarkko Sakkinen

tpm2sh 0.12.4 uses hmac sessions but they are not very useful tho as they are both unsalted and unbound sessions. This is of course on purpose because the infrastructure needs to be polished first. Right now it is a mess (but works) :-)

Just like you never do "start-session" for policies but instead describe them in expressions HMAC functionality is transparent to the user and does not require any configuration.
0
0
0
Show older