Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704400 - app-crypt/johntheripper-jumbo-9999 - /usr/lib/python-exec/python2.7/python: can't open file '/usr/sbin/openssl2john.py': [Errno 2] No such file or directory
Summary: app-crypt/johntheripper-jumbo-9999 - /usr/lib/python-exec/python2.7/python: c...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL: https://openwall.info/wiki/john/johnny
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-31 17:35 UTC by Martin Mokrejš
Modified: 2024-01-02 17:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2019-12-31 17:35:52 UTC
When I try to new input file via "Open other file format (*2john)" and select "openssl" as input file format, and press "Convert", I get:

/usr/lib/python-exec/python3.7/python: can't open file '/usr/sbin/openssl2john.py': [Errno 2] No such file or directory

The *.py files are placed into /usr/share/john/run/ instead of /usr/sbin/ . Are they supposed to be found via $PATH?



BTW, how about the following change to src_install() to detect automatically the current symlinks?

-    for s in \
-       unshadow unafs undrop unique ssh2john putty2john pfx2john keepass2john keyring2john \
-       zip2john gpg2john rar2john racf2john keychain2john kwallet2john pwsafe2john dmg2john \
-       hccap2john base64conv truecrypt_volume2john keystore2john
-    do
+    find run/ -type l | while read f; do basename $f; done | while read s; do
Comment 1 Martin Mokrejš 2019-12-31 17:55:14 UTC
Ah, I am sorry for a messy report, the GUI I am using and which looks for the /usr/sbin/openssl2john.py file is "johnny" (not in portage, yet).

So, the installation layout of app-crypt/johntheripper-jumbo and supposedly also of app-crypt/johntheripper is incompatible with 3rd-party apps.

However, the changes mentioned to automaticlly pick existing symlinks were intended for app-crypt/johntheripper-jumbo-9999.ebuild.
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2024-01-02 17:41:38 UTC
these are installed in the expected place at this time