<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Phil</b> <span dir="ltr"><<a href="mailto:philsmd@hashcat.net">philsmd@hashcat.net</a>></span><br>Date: Tue, Mar 7, 2017 at 2:33 PM<br>Subject: Re: Bug#856932: hashcat dependency problem<br>To: Raphael Hertzog <<a href="mailto:hertzog@debian.org">hertzog@debian.org</a>><br><br><br><div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div>Hello Raphael,<br><br></div>Thank you for your answer and the explanations.<br><br></div>Well, as said, the only correct way would be that the "hashcat" package directly depends on NVidia drivers, AMD drivers or Intel drivers.<br><br></div>But as far as I understood this can't be enforced because otherwise the hashcat package can't be installed by default (and debian has the policy which doesn't allow non-free packages to be shipped by default).<br><br></div>Yeah, it would make sense to have a dependency tree like this:<br></div>hashcat depends on hashcat-nvidia | hashcat-amd | hashcat-intel<br></div>hashcat-nvidia depends on [proprietary Nvidia driver], hashcat-base<br></div>hashcat-amd depends on [proprietary AMD driver], hashcat-base<br></div>hashcat-intel depends on [proprietary Intel driver], hashcat-base<br><br></div>(where "|" means "or"  and the [] denotes the correct drivers from <a href="http://nvidia.com" target="_blank">nvidia.com</a>, <a href="http://support.amd.com" target="_blank">support.amd.com</a> and <a href="http://software.intel.com" target="_blank">software.intel.com</a> correspondingly).<br><br></div><div>If we do it like this, we must make sure that it is kind of irrelevant which hashcat-* package the user has installed, hashcat-base should always be there and hashcat should *always* behave the same way (aka it should be the same code)... only the driver should be different.<br></div><div><br><br></div>The problem is these changes wouldn't improve things significantly, because we still have the problem that the default installation wouldn't work at all and that the user doesn't know what he should do to get it running.<br><br></div>It would also be great if we could find a solution which allows us to keep the pre-installed hashcat package. Therefore, I think that we need some kind of first-run notice and install script. E.g. something like "You are running hashcat for the first time and neither the Nvidia driver, AMD driver, nor the Intel driver was found on your system. The following hardware was detected: [list of CPU/GPUs of supported vendors IDs]. Please select which of these drivers should be installed: [limited list depending on hardware]".<br><br></div><div>Or do you think there are better solutions? Of course we shouldn't try to develop an utterly complicated wrapper, but I think there isn' t much alternative to a detect-hardware-and-install-<wbr>script.<br><br>What do you think?<br><br></div><div>Thanks<br></div></div>
</div><br></div>