[Bug 2051876] Re: tpm2_nvwrite using an offset causes a TPM error

2024-03-15 Thread Andrew Oswald
With the advent of 22.04.4, this issue seems to have been resolved.

Thanks again for looking into it, Sudip!  =)

** Changed in: tpm2-tools (Ubuntu)
   Status: Incomplete => Invalid

-- 
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

[Bug 2051876] Re: tpm2_nvwrite using an offset causes a TPM error

2024-03-14 Thread Andrew Oswald
Hello again, Sudip, hope this message finds you well!

I attempted to recreate the issue using a cert whose footprint exceeds
the 1,024 byte TPM data bus by using two tpm2_nvwrite commands (the
second of which specifying --offset=1024) and I'm happy to report that
it's working!

However, we were experiencing the issue on HP gear and this is a Dell
laptop.. so I still need to test it on HP.

thanks again!
-andy

-- 
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

[Bug 2051876] Re: tpm2_nvwrite using an offset causes a TPM error

2024-03-13 Thread Andrew Oswald
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