Skip to content

John opencl check #520

@StefanL

Description

@StefanL

The check for opencl capability in john.py is incomplete. In addition to checking for john built-in opencl modules (john --list=formats), should also check for the system being properly configured for opencl with "john --list=opencl-devices". If there are no usable devices, john will provide the following response: "Error: No OpenCL-capable platforms were detected by the installed OpenCL driver.
Error: No OpenCL-capable devices were detected by the installed OpenCL driver."

The actual check should then test for both of these being functional / available.

Implement something similar to the below after the john available format check and add an additional check to the opencl check:
"opencl_dev_stdout = Process(['john', '--list=opencl-devices']).stdout()"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions