Posts
4729
Following
319
Followers
489
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

Jarkko Sakkinen

Edited 29 days ago
The design that I'm aiming with this cli interface is that it would be usable for TPM2 interaction for application written shell (bash, fish etc.) scripting languages (i.e. password managers and similar).

When it starts to be easy to combine the subcommands in script this should be in fairly good state.

Import and load support keys in ASN.1 format, which is used by kernel for loading trusted keys. Software crypto for now is with libssl bindings as it is sort for safe-play for crypto (CVEs, security hotfixes, auditing) and also it is what I'm most used to in kernel development (and that is what I ultimately care about).
0
0
1
SLOC went over 6k before I migrated into extensive macro usage :-)

My goal for full TCG is ~5k SLOC.
0
0
0

Jarkko Sakkinen

Edited 1 month ago
Regex filtered search for algorithms in the TPM chip and the format used for algorithms in tpm2-cli.

Some other idioms are context: and nvram: as sinks for output.
0
0
0

Jarkko Sakkinen

I'm making sure the cli works nicely before pushing to Gitlab for some days. It is at least much saner looking already (IMHO) than tpm2-tools.
0
0
1

Jarkko Sakkinen

great now the deps are in the reasonable level for this type of tool :-) (and meson replaced with plain make).

using cjson was not a great idea in the first place as when doing json output for small and trivial low-level tools like this instead of dumping big continuous json string is also really the best option (vs pretty printing).

maybe i soon tag a release and put this debian packaging pipeline :-)
0
0
0

Jarkko Sakkinen

Edited 1 month ago
awesome, almost ready to ship :-)

this came out pretty nice and clean

❯ git ls-files
.tokeignore
CHANGELOG.md
LICENSE
Makefile
README.md
down.c
down.h
iommu.c
iommu.h
log.c
log.h
lsiommu.1
main.c
main.h
meson.build
meson.options
strbuf.c
strbuf.h
util.h

#linux #iommu
2
1
1
what a depressing situation really, and weekend is ruined as i cannot do things i like to do on free time but i'll get there!
1
0
1

Jarkko Sakkinen

Grabbed a webcam for meetings.
1
0
2

Jarkko Sakkinen

#fastmail does not have "envelope-to" or similar when configuring rules i.e., you have to go raw Sieve to reach that but I hope this will be sufficient workaround :-)
0
0
1

Jarkko Sakkinen

Edited 4 months ago
When I was a kid, we did not spend time as a family watching Ron Jeremy films 🤷 Not really part of my growth story ...

My "growth story" was more like watching pieces from my friends big brothers German VHS movie collection :---) They were actually quite scary stuff tbh.
1
0
0

Jarkko Sakkinen

the only thing related to world news i've knowingly spotted during last three weeks is this Easter pic with a creepiest ever bunny :-)
0
0
0

Jarkko Sakkinen

3
3
5

Jarkko Sakkinen

1
2
5

Jarkko Sakkinen

these posts are like a virtual version of water torture
0
0
1
@cos hitto, pitää hankkia joskus!

the prisoner tv-sarjan ja explorers-leffan ostin pari vuotta sitten blurayna, kun ei ne ole oikein järkevästi striimattavissa :-)
1
0
1

Jarkko Sakkinen

2
0
0

Jarkko Sakkinen

literally me
0
2
1

Jarkko Sakkinen

0
2
3
Let's put the real release notes just for reference, in order not to be misleading.
0
0
1

Jarkko Sakkinen

Edited 5 months ago
disclaimer: not real (but still funny)
0
1
4
Show older