Thanks for reporting the bug. I tried to reproduce the issue on Jammy but could not reproduce it. The following is from my session:
# tpm2_nvdefine -C o -s 32 -a "ownerread|policywrite|ownerwrite" 1 nv-index: 0x1000001 # echo "please123abc" > nv.dat # tpm2_nvwrite -C o -i nv.dat 1 # tpm2_nvread -C o -s 32 1 please123abc # apt-cache policy tpm2-tools tpm2-tools: Installed: 5.2-1build1 Candidate: 5.2-1build1 Version table: *** 5.2-1build1 500 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages 100 /var/lib/dpkg/status It will really help us if can please give the steps that you followed to reproduce the issue. I am marking the bug as Incomplete till then, please change the status back to New when you add the steps. ** Changed in: tpm2-tools (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2051876 Title: tpm2_nvwrite using an offset causes a TPM error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tpm2-tools/+bug/2051876/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs