Package missing python tool for TPM2 initialization

This update has been submitted for testing by jjelen.

a year ago

This update test gating status has been changed to 'waiting'.

a year ago

This update test gating status has been changed to 'ignored'.

a year ago
User Icon stefanberger commented & provided feedback a year ago
karma

Unfortunately the pkcs11 git repo you took this from wasn't in sync with the tpm2-tools project it seems (it looks like they changed the command line parameters for the tpm2_createprimary tool):

tpm2_ptool init --pobj-pin pin

Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/tpm2_pkcs11/commandlets_store.py", line 96, in call ctx = tpm2.createprimary(ownerauth, pobjauth) File "/usr/lib/python3.7/site-packages/tpm2_pkcs11/tpm2.py", line 32, in createprimary stderr) RuntimeError: Could not execute tpm2_createprimary: b"tpm2_createprimary: invalid option -- 'p'\n" Could not execute tpm2_createprimary: b"tpm2_createprimary: invalid option -- 'p'\n"

I just had done some test with this stuff yesterday (https://github.com/tpm2-software/tpm2-pkcs11/issues/44) but took everything from the git repos master branches' tips.

Properly formatted:

$ tpm2_ptool init --pobj-pin pin
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/tpm2_pkcs11/commandlets_store.py", line 96, in __call__
    ctx = tpm2.createprimary(ownerauth, pobjauth)
  File "/usr/lib/python3.7/site-packages/tpm2_pkcs11/tpm2.py", line 32, in createprimary
    stderr)
RuntimeError: Could not execute tpm2_createprimary: b"tpm2_createprimary: invalid option -- 'p'\n"
Could not execute tpm2_createprimary: b"tpm2_createprimary: invalid option -- 'p'\n"

This update has been pushed to testing.

a year ago

Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.

a year ago

I see the same issue with the upstream sources and Fedora 29 (did not manage to update to F30 yet). Could it be outdated tpm2-tools package in Fedora 29 or upstream issue? I built the current master in copr if you want to try:

https://copr.fedorainfracloud.org/coprs/jjelen/tpm2-pkcs11/build/924447/

I am on F30. It looks like it's due to an outdated tpm2-tools package because the tpm2_createprimary from the git repo master tip does understand the -p option, while the one in F30 does not understand it.

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

a year ago

This update's test gating status has been changed to 'greenwave_failed'.

9 months ago

This update's test gating status has been changed to 'ignored'.

9 months ago

This update's test gating status has been changed to 'greenwave_failed'.

7 months ago

This update's test gating status has been changed to 'ignored'.

7 months ago

This update's test gating status has been changed to 'greenwave_failed'.

6 months ago

This update's test gating status has been changed to 'ignored'.

6 months ago

This update's test gating status has been changed to 'greenwave_failed'.

5 months ago

This update's test gating status has been changed to 'ignored'.

5 months ago

This update's test gating status has been changed to 'greenwave_failed'.

4 months ago

This update's test gating status has been changed to 'ignored'.

4 months ago

This update's test gating status has been changed to 'greenwave_failed'.

3 months ago

This update's test gating status has been changed to 'ignored'.

3 months ago

This update's test gating status has been changed to 'greenwave_failed'.

2 months ago

This update's test gating status has been changed to 'ignored'.

2 months ago

This update's test gating status has been changed to 'greenwave_failed'.

2 months ago

This update's test gating status has been changed to 'ignored'.

2 months ago

This update is marked obsolete because the F30 release is archived.

2 days ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
-1
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Dates
submitted
a year ago
in testing
a year ago

Automated Test Results