Bug 1812115 - tpm2-pkcs11-tools is missing a dependency on python3-pyasn1-modules
Summary: tpm2-pkcs11-tools is missing a dependency on python3-pyasn1-modules
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tpm2-pkcs11
Version: 31
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jakub Jelen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-10 14:43 UTC by bordjukov
Modified: 2020-04-08 02:53 UTC (History)
2 users (show)

Fixed In Version: tpm2-pkcs11-1.2.0-1.fc32
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-08 02:53:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description bordjukov 2020-03-10 14:43:09 UTC
Description of problem:

tpm2-pkcs11-tools is missing a dependency on python3-pyasn1-modules.

How reproducible:
Consistently reproducible.

Steps to Reproduce:
1. Make sure you don't have python3-pyasn1-modules installed.
2. Install tpm2-pkcs11-tools
3. Run tpm2_ptool

Actual results:

$ tpm2_ptool -h
Traceback (most recent call last):
  File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.7/site-packages/tpm2_pkcs11/tpm2_ptool.py", line 6, in <module>
    from .commandlets_store import InitCommand  # pylint: disable=unused-import # noqa
  File "/usr/lib/python3.7/site-packages/tpm2_pkcs11/commandlets_store.py", line 13, in <module>
    from .utils import bytes_to_file
  File "/usr/lib/python3.7/site-packages/tpm2_pkcs11/utils.py", line 13, in <module>
    from pyasn1_modules import pem, rfc2459
ModuleNotFoundError: No module named 'pyasn1_modules'

Expected results:

$ tpm2_ptool -h
usage: tpm2_ptool.py [-h]
                     {init,destroy,rmtoken,verify,addtoken,addemptytoken,changepin,initpin,config,listprimaries,listtokens,listobjects,import,addkey,addcert,objmod,objdel}
                     ...

Comment 1 Fedora Update System 2020-03-30 17:55:11 UTC
FEDORA-2020-7c8c2d76b3 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7c8c2d76b3

Comment 2 Fedora Update System 2020-03-31 01:52:35 UTC
FEDORA-2020-7c8c2d76b3 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7c8c2d76b3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7c8c2d76b3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2020-04-08 02:53:28 UTC
FEDORA-2020-7c8c2d76b3 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.