Skip to content

GMP Version 22.6 not supported #1195

@eronidrian

Description

@eronidrian

Gvmd 24.3.0 updated the GMP version to 22.6. However, python-gvm in the latest version (25.1.1) only supports GMP 22.4 and 22.5. (See determine_supporte_gmp() in /gvm/protocols/gmp/_gmp.py). When the latest version of gvmd (24.3.1) is used with the latest version of python-gvm (25.1.1), the following error is raised:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/gvmtools/script.py", line 87, in main
    with protocol_class(connection, transform=transform) as protocol:
  File "/usr/local/lib/python3.11/dist-packages/gvm/protocols/gmp/_gmp.py", line 104, in __enter__
    self._gmp = self.determine_supported_gmp()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/gvm/protocols/gmp/_gmp.py", line 92, in determine_supported_gmp
    raise GvmError(
gvm.errors.GvmError: Remote manager daemon uses an unsupported version of GMP. The GMP version was 22.6

I think this is a bug. Correct me if I'm wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions