obsolete

tpm2-pkcs11-0-0.2.20190219git1e84553.fc30

FEDORA-2019-182d4989a0 created by jjelen 5 years ago for Fedora 30

Package missing python tool for TPM2 initialization

This update has been submitted for testing by jjelen.

5 years ago

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

5 years ago

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

5 years ago
User Icon stefanberger commented & provided feedback 5 years 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.

5 years 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.

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

5 years ago

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

5 years ago

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

5 years ago

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

5 years ago

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

5 years ago

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

5 years ago

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

5 years ago

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

4 years ago

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

4 years ago

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

4 years ago

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

4 years ago

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

4 years ago

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

4 years ago

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

4 years ago

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

4 years ago

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

4 years ago

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

4 years ago

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

4 years ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
-1
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Thresholds
Minimum Karma
+1
Minimum Testing
7 days
Dates
submitted
5 years ago
in testing
5 years ago

Automated Test Results