Thanks for looking into this, Sudip! I will need to write up explicit instructions, but the issue only shows up when you attempt to write to an offset, which (I would presume) is why your test didn't produce any issues. My usecase is storing a DER encoded x509 certificate whose footprint exceeds the TPM data bus size, thus requiring multiple tpm2_nvwrite calls, with any call other than the initial, requiring the --offset flag and the appropriate offset starting point.
-- 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