ECC creation for ECDSA:
tpm2_createprimary --hierarchy o -G ecc -c owner.txt
tpm2_evictcontrol -c owner.txt 0x81000001
openssl ecparam -name prime256v1 -genkey -noout -out private.pem
tpm2_import -C 0x81000001 -G ecc -i private.pem -u key.pub -r key.priv
tpm2_encodeobject -C 0x81000001 -u key.pub -r key.priv -o key.priv.pem
openssl asn1parse -inform pem -in key.priv.pem -noout -out key.priv.der
serial=`cat key.priv.der | keyctl padd asymmetric tpm @u`
So the gist of is_module()
would be that it would have different semantics than IS_MODULE()
: it could be used to e.g. check modules in a loop.
Compilation would generate a new ELF section with following entries:
<ASCIIZ string><0 or 1>
The string would contain module name.
Also, it would enabled to add lsmod -b
to enumerate built-in modules, which give nice way to carve up more information about a running test kernel. This would obviously need perhaps a new file to procfs for built-in modules (for regular there is /proc/modules
).
I guess recent crypto bug can be sorted otherwise but this feels useful enough to document it.
We are pleased to announce the release of Alpine Linux 3.20.0, the first in the v3.20 stable series.
This is the first stable release that includes Risc-V 64 support thanks to Milk-V.
Upgrades includes among others:
- Rust 1.78
- Python 3.12
- KDE 6
https://www.alpinelinux.org/posts/Alpine-3.20.0-released.html
Thanks to all the contributors who worked hard on getting this release out!
I’d like to switch A-subkey from RSA to ECDSA one. Do I just send the public key via email to helpdesk@kernel.org?
Took six review rounds to get it but learned something pretty basic about #BuildRoot: pure dependencies should not have Config.ih{.host}
at all. In my case the main asset is swtpm
, which depends on libtpms
. Only swtpm
has Config.in.host
now and libtpms
has only libtpms.{mk,hash}
.
Any ways to trace more like bpftrace way between core_initcall
and before init
starts? Like somehow e.g. compiling eBPF blobs to vmlinux or similar.
I use bootconfig and boot-time tracing stuff and it is nice but barely shadow of what you can do with e.g. bpftrace.