Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 16 Mar 2013 21:03:24 -0400
From: Chris Mulligan <chris.mulligan@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: opencl

Update (and apologies for the poor subject),

ukasz suggested copying the src/opencl_device_info.h. So I did. It has to be in ./, but that just leads me to a different error:

Kotai:JohnTheRipper chmullig$ ./run/john --format=agilekeychain-opencl --rules=WordlistOnly --wordlist=wl.txt openwall.hash
OpenCL platform 0: Apple, 2 device(s).
Device 1: GeForce GT 330M
Local worksize (LWS) 64, Global worksize (GWS) 9216
Loaded 1 password hash (1Password Agile Keychain PBKDF2-HMAC-SHA-1 AES [OpenCL])
Self test failed (cmp_all(1))


Running ./john -test worked fine until it got to the opencl section. 

Benchmarking: Raw MD5 [OpenCL (inefficient, development use only)]... DONE
Raw:	16448K c/s real, 55924K c/s virtual

OpenCL platform 0: Apple, 2 device(s).
Device 1: GeForce GT 330M
Build log: Error getting function data from server
Error -11 building kernel. DEVICE_INFO=130
OpenCL error (CL_BUILD_PROGRAM_FAILURE) in file (common-opencl.c) at line (209) - (clBuildProgram failed.)
OpenCL error (CL_INVALID_CONTEXT) in file (opencl_rawmd5_fmt.c) at line (90) - (Error Unmapping partial_hashes)
OpenCL error (CL_INVALID_CONTEXT) in file (opencl_rawmd4_fmt.c) at line (93) - (Error Unmapping partial_hashes)
OpenCL error (CL_INVALID_CONTEXT) in file (opencl_nsldaps_fmt.c) at line (149) - (Error Unmapping outbuffer)


As an aside to future googlers who might encounter this or similar, ukasz saved me with this cpu-based workaround:

make clean && make macosx-x86-64
rm ../run/john
echo "extern struct fmt_main fmt_agile_keychain;" > fmt_externs.h
echo "john_register_one(&fmt_agile_keychain);" > fmt_registers.h
make macosx-x86-64 #WITHOUT CLEAN!!!

Thanks,
Chris

On Mar 16, 2013, at 8:09 PM, Chris Mulligan <chris.mulligan@...il.com> wrote:

> I'm attempting to recover the password for a 1Password agile keychain file. After working with sftp and ukasz on #openwall, I'm having an opencl issue. I'm on OS X 10.8.3, on a mid-2010 Macbook pro (i5 and Geforce GT 330M).  
> 
> Using the git repository, master/HEAD c9b88eeabf5775e3872582bab91de41dcd066c3a.  I'm compiling with "make clean macosx-x86-64-opencl"
> 
> When I try to decrypt the sample hash in gilekeychain_fmt_plug.c (copied into openwall.hash) I get the following error immediately.
> 
> 
> Kotai:JohnTheRipper chmullig$ ./run/john --format=agilekeychain-opencl --rules=WordlistOnly --wordlist=wl.txt openwall.hash
> OpenCL platform 0: Apple, 2 device(s).
> Device 1: GeForce GT 330M
> Build log: <program source>:15:10: fatal error: 'opencl_device_info.h' file not found
> #include "opencl_device_info.h"
>         ^
> 
> Error -11 building kernel. DEVICE_INFO=130
> OpenCL error (CL_BUILD_PROGRAM_FAILURE) in file (common-opencl.c) at line (209) - (clBuildProgram failed.)
> 
> 
> Thanks,
> Chris

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.