<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>OpenSSL &#8211; Wade Tregaskis</title>
	<atom:link href="https://wadetregaskis.com/tags/openssl/feed/" rel="self" type="application/rss+xml" />
	<link>https://wadetregaskis.com</link>
	<description></description>
	<lastBuildDate>Fri, 26 Jan 2024 18:06:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wadetregaskis.com/wp-content/uploads/2016/03/Stitch-512x512-1-256x256.png</url>
	<title>OpenSSL &#8211; Wade Tregaskis</title>
	<link>https://wadetregaskis.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">226351702</site>	<item>
		<title>Building John The Ripper Jumbo for macOS Sierra</title>
		<link>https://wadetregaskis.com/building-john-the-ripper-jumbo-for-macos-sierra/</link>
					<comments>https://wadetregaskis.com/building-john-the-ripper-jumbo-for-macos-sierra/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Sat, 12 Nov 2016 02:42:40 +0000</pubDate>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[John The Ripper]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[Snafu]]></category>
		<category><![CDATA[Undocumented]]></category>
		<guid isPermaLink="false">https://blog.wadetregaskis.com/?p=3740</guid>

					<description><![CDATA[It&#8217;s quickly apparent that John The Ripper Jumbo&#160;doesn&#8217;t build out of the box on macOS, and probably hasn&#8217;t for a long time, due to its complaint about missing OpenSSL headers. This guide was almost helpful, except it&#8217;s out of date &#8211; e.g. the Makefile.in patch it provides no longer applies cleanly &#8211; and simply doesn&#8217;t&#8230; <a class="read-more-link" href="https://wadetregaskis.com/building-john-the-ripper-jumbo-for-macos-sierra/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>It&#8217;s quickly apparent that <a href="https://github.com/openwall/john/tree/bleeding-jumbo" data-wpel-link="external" target="_blank" rel="external noopener">John The Ripper Jumbo</a>&nbsp;doesn&#8217;t build out of the box on macOS, and probably hasn&#8217;t for a long time, due to its complaint about missing OpenSSL headers.</p>



<p><a href="https://web.archive.org/web/20231219225305/https://3583bytesready.net/2016/02/17/building-john-the-ripper-1-8-0-jumbo-on-mac-os-10-11-el-capitan/" data-wpel-link="external" target="_blank" rel="external noopener">This guide</a> was almost helpful, except it&#8217;s out of date &#8211; e.g. the Makefile.in patch it provides no longer applies cleanly &#8211; and simply doesn&#8217;t work &#8211; once you get the John The Ripper configure script to see the OpenSSL devel headers, it then just complains that it can&#8217;t find a valid libssl anyway.</p>



<p>Even the <a href="https://openwall.com/john/pro/macosx/" data-wpel-link="external" target="_blank" rel="external noopener">Pro version of John The Ripper</a>, which isn&#8217;t cheap, doesn&#8217;t look like a good option since its web page has the hallmarks of something that hasn&#8217;t been updated in many, many years. &nbsp;e.g. talk about support for Mac OS X 10.7 Lion being&nbsp;<em>planned</em>.</p>



<p>And although it&nbsp;<em>appears</em> to support using CommonCrypto instead of the now deprecated OpenSSL, that doesn&#8217;t work &#8211; even when configured that way it still compiles in code that requires OpenSSL, for SHA1. &nbsp;Sigh.</p>



<p>Trying to get it to use a fresh build of OpenSSL (1.1.0) also seems an intractable failure &#8211; OpenSSL 1.1.0 out of the box produces libraries which don&#8217;t contain SSL_library_init, which is of course necessary for any OpenSSL user and foils&nbsp;any attempt to use the built libraries by way of&nbsp;missing symbol errors in the link phase.</p>



<p>And OpenSSL 0.9.8zh&#8217;s build system is just screwy. &nbsp;By default it builds only 32-bit and only static libraries (no matter how hard you tell it to build shared ones). &nbsp;You have to bypass its first layer of configery and do it &#8216;manually&#8217;, like so:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><code>./configure --prefix=&lt;install location> darwin64-x86_64-cc -no-shared enable-camellia</code></p>
</blockquote>



<p>You can then configure JohnTheRipper to point to that version of OpenSSL, like so:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><code>./configure CPPFLAGS='-I &lt;OpenSSL install location>/include' LDFLAGS='-L &lt;OpenSSL install location>/lib' OPENSSL_LIBS="-lcrypto"</code></p>
</blockquote>



<p>Now it&#8217;ll finally get past the OpenSSL issues, and build successfully.</p>



<p><strong>Note:</strong> &nbsp;<em>don&#8217;t</em> use the Makefile.in patch provided in the aforelinked guide. &nbsp;That actually&nbsp;<em>breaks</em> the build now, even if you properly apply it manually.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/building-john-the-ripper-jumbo-for-macos-sierra/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3740</post-id>	</item>
	</channel>
</rss>
