This is the first version with fully working #ECDSA signing and signature verification with the public key.
Implementation notes:
match_table_t param_keys
in security/keys/keyctl_pkey.c
. E.g. "policy=%s"
.I’m pretty happy with this, given that I did it fully during 1.5 week period on my free time and unpaid ;-)
Linux 6.10-rc1 got released yesterday. With brand new `mseal()` system call.
So my automation kicked in, posted pull request, I merged, page with system calls table got rebuilt:
https://gpages.juszkiewicz.com.pl/syscalls-table/syscalls.html
For this worktree is useful:
git worktree add ~/work/linux-tpmdd-master master
When you have find a bug while working on feature branch and want to quickly do a fix without too much context switch…
Then later:
git worktree remove linux-tpmdd-master
CONFIG_ASN1_RUST
opt-in early drafting: https://github.com/alex/rust-asn1/issues/462
We're hiring a policy analyst in Europe #OpenSource #Policy
https://opensource.org/about/team/vacancy-osi-policy-analyst
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`