Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GMP Version 22.6 not supported #1195

Closed
eronidrian opened this issue Jan 27, 2025 · 1 comment · Fixed by #1196
Closed

GMP Version 22.6 not supported #1195

eronidrian opened this issue Jan 27, 2025 · 1 comment · Fixed by #1196

Comments

@eronidrian
Copy link

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.

@4D617274696E
Copy link

python-gvm still needs to be adjusted for GMP 22.6, we are currently working on it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants