<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Curphey</title>
	
	<link>http://www.curphey.com</link>
	<description>Software, software security, running, atheism  &amp; more ....</description>
	<lastBuildDate>Wed, 01 Feb 2012 00:17:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/curphey" /><feedburner:info uri="curphey" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Cryptography Section of Practical Software Security Book</title>
		<link>http://feedproxy.google.com/~r/curphey/~3/2Tkmjm0mXd8/</link>
		<comments>http://www.curphey.com/2012/01/cryptography-section-of-practical-software-security-book/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 00:17:05 +0000</pubDate>
		<dc:creator>Mark Curphey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.curphey.com/?p=851</guid>
		<description><![CDATA[Writing a CC book in the open is nice, you can ask questions! I started writing the cryptography section of the book today and here is the table of contents so far. An Introduction &#38; Brief History (I swear I will not start with a caesar cipher or ROT13!) Symmetric Key Cryptography (Private Key Cryptography) [...]]]></description>
			<content:encoded><![CDATA[<p>Writing a CC book in the open is nice, you can ask questions! I started writing the cryptography section of the book today and here is the table of contents so far.</p>
<ul>
<li>An Introduction &amp; Brief History (I swear I will not start with a caesar cipher or ROT13!)</li>
<li>Symmetric Key Cryptography (Private Key Cryptography)</li>
<li>Asymmetric Key Cryptography (Public Key Cryptography)</li>
<li>Digest Algorithms (Hash Functions)</li>
<li>Digital Signatures, Non-Repudiation &amp; MAC&#8217;s</li>
<li>Digital Certificates, SSL &amp; PKI PGP &amp; S/MIME</li>
<li>The Promise of Quantum Cryptography</li>
<li>Key Management</li>
<li>Cryptographic Standards</li>
<li>Why Cryptography Often Fails</li>
<li>A Word About Crypto Snake-Oil</li>
</ul>
<p>What else does a developer need to understand (or be able to look up ) ?</p>
<p> </p>
<p> </p>

				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fcryptography-section-of-practical-software-security-book%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fcryptography-section-of-practical-software-security-book%2F&amp;text=Cryptography+Section+of+Practical+Software+Security+Book&amp;via=curphey" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.curphey.com/2012/01/cryptography-section-of-practical-software-security-book/"></g:plusone></span><span class="mr_social_sharing"><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fcryptography-section-of-practical-software-security-book%2F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/reddit.png" alt="Submit to reddit" title="Submit to reddit"/></a></span></div><img src="http://feeds.feedburner.com/~r/curphey/~4/2Tkmjm0mXd8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.curphey.com/2012/01/cryptography-section-of-practical-software-security-book/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.curphey.com/2012/01/cryptography-section-of-practical-software-security-book/</feedburner:origLink></item>
		<item>
		<title>Software Security Weekly</title>
		<link>http://feedproxy.google.com/~r/curphey/~3/q5tdTn9fnlg/</link>
		<comments>http://www.curphey.com/2012/01/software-security-weekly/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 21:01:00 +0000</pubDate>
		<dc:creator>Mark Curphey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.curphey.com/?p=848</guid>
		<description><![CDATA[I just pushed out a sign-up form for a very simple weekly software security newsletter. Recently I started signing up to Peter Coopers excellent HTML5, JavaScript and Ruby Weekly newsletters and after reading about the Information Diet thought I would create something similar for Software Security. The list is managed by MailChimp so you can [...]]]></description>
			<content:encoded><![CDATA[<p>I just pushed out a sign-up form for a very simple weekly software security newsletter. Recently I started signing up to Peter Coopers excellent <a href="http://www.html5weekly.com">HTML5</a>, <a href="http://www.javascriptweekly.com">JavaScript </a>and <a href="http://rubyweekly.com/">Ruby Weekly</a> newsletters and after reading about the <a href="http://www.informationdiet.com/">Information Diet</a> thought I would create something similar for Software Security.</p>
<p><img title="Screen Shot 2012-01-31 at 12.55.18 PM.png" src="http://www.curphey.com/wp-content/uploads//Screen-Shot-2012-01-31-at-12.55.18-PM.png" border="0" alt="Screen Shot 2012 01 31 at 12 55 18 PM" width="600" height="366" /></p>
<p>The list is managed by <a href="http://www.mailchimp.com">MailChimp</a> so you can always un-subscribe and I will only ever be sending one email a week.</p>
<p>It&#8217;s very simple. A few static pages with a sign-up form (that points to MailChimp), and an archives page. I used <a href="http;//www.heroku.com">Heroku </a>and wrote a little Rack app to publish the static pages.  git push heroku master and it&#8217;s all ready to rock and roll! Doesn&#8217;t get easier than that.<a href="https://github.com/curphey/newsletter"> Code is on github </a>as I suspect when I have some more time I will build something more sophisticated.</p>
<p><img title="Screen Shot 2012-01-31 at 12.52.29 PM.png" src="http://www.curphey.com/wp-content/uploads//Screen-Shot-2012-01-31-at-12.52.29-PM.png" border="0" alt="Screen Shot 2012 01 31 at 12 52 29 PM" width="600" height="263" /></p>
<p>If you have news you would like included then mail me at <a href="mailto:news.desk@softwaresecurityweekly.com">news.desk@softwaresecurityweekly.com</a></p>
<p> </p>
<p> </p>

				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fsoftware-security-weekly%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fsoftware-security-weekly%2F&amp;text=Software+Security+Weekly&amp;via=curphey" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.curphey.com/2012/01/software-security-weekly/"></g:plusone></span><span class="mr_social_sharing"><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fsoftware-security-weekly%2F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/reddit.png" alt="Submit to reddit" title="Submit to reddit"/></a></span></div><img src="http://feeds.feedburner.com/~r/curphey/~4/q5tdTn9fnlg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.curphey.com/2012/01/software-security-weekly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.curphey.com/2012/01/software-security-weekly/</feedburner:origLink></item>
		<item>
		<title>Contributing Authors to the Practical Software Security Book</title>
		<link>http://feedproxy.google.com/~r/curphey/~3/vnJmldwweO8/</link>
		<comments>http://www.curphey.com/2012/01/contributing-authors-to-the-practical-software-security-book/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 01:40:52 +0000</pubDate>
		<dc:creator>Mark Curphey</dc:creator>
				<category><![CDATA[Agile Software]]></category>
		<category><![CDATA[Practical Software Security]]></category>
		<category><![CDATA[Software Design]]></category>
		<category><![CDATA[Software Security]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.curphey.com/?p=838</guid>
		<description><![CDATA[If you are a regular reader of this blog you should know I am working on a book for O&#8217;Reilly called Practical Software Security. It&#8217;s in the early stages and evolving as we start to get into the details. You can sign up to get notifications of progress here. There are five main sections: Introduction [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a regular reader of this blog you should know I am working on a book for O&#8217;Reilly called Practical Software Security. It&#8217;s in the early stages and evolving as we start to get into the details. You can sign up to get notifications of progress <a href="http://signup.seconauts.com/">here</a>.</p>
<p>There are five main sections:</p>
<ul>
<li>Introduction</li>
<li>Security Concepts</li>
<li>Languages &amp; Frameworks (was called Tools &amp; Technologies)</li>
<li>Building a Software Security Program</li>
<li>Engineering Scenarios</li>
</ul>
<p>In the <strong><em>Security Concepts</em></strong> section we will introduce developers to things like cryptography, authentication, authorization and then in the <strong><em>Languages &amp; Frameworks</em></strong> sections we will cover the security features available and how to use them properly for the popular development technologies. In the engineering scenarios well get to code level guidance of how to pull it all together to solve real world problems that all developers face like securing a REST API or creating a federated authentication system.</p>
<p>I am delighted that we have been able to recruit a fantastic list of subject matter experts to write and review the <strong><em>Languages &amp; Frameworks</em></strong> section of the book. I will be writing the <strong><em>Security Concepts</em></strong> section (and the Ruby on Rails section) and the following folks will be writing or reviewing:</p>
<ul>
<li>HTML5 (and friends) &#8211; Mark Curphey</li>
<li>Java &#8211; <a href="http://www.linkedin.com/in/pravirchandra">Pravir Chandra</a></li>
<li>.NET &#8211; <a href="http://www.securityninja.co.uk/">David Rook </a>(Security Ninja + Microsoft MVP for Developer Security)</li>
<li>JavaScript (Client + Node) &#8211; <a href="http://www.thespanner.co.uk/">Gareth Heyes</a> (The Spanner) with <a href="http://blog.reybango.com/about/">Rey Bango</a> as a core reviewer (JQuery Core Team Member)</li>
<li>Ruby on Rails &#8211; Mark Curphey with <a href="http://www.rorsecurity.info/">Heiko Webers</a> (wrote the official Rails security guide) as a core reviewer</li>
<li>PHP &#8211; <a href="https://twitter.com/#!/noskillz">Mike DeLibero</a> with <a href="http://shiflett.org/">Chris Shiflett </a>(wrote the <a href="http://shiflett.org/books">O&#8217;Reilly PHP Security</a> book) as a core reviewer</li>
<li>iOS &amp; Android &#8211; <a href="https://twitter.com/#!/danielcornell">Dan Cornell</a></li>
<li>Identity &#8211; <a href="https://twitter.com/#!/oneraindrop">Gunnar Peterson</a></li>
</ul>
<p>Note: we will be doing C / C++ as there is still so much being produced but haven&#8217;t yet locked on that author and we will be figuring out how to deal with things like Spring or Cake (and where to draw the line).</p>
<p>In the <strong><em>Building a Software Security Program</em></strong> section we organize the section into <em><strong>People, Process &amp; Tools</strong></em>. <a href="https://twitter.com/#!/presidentbeef">Justin Collins</a> (author of <a href="http://brakemanscanner.org/">Brakeman Scanner) </a>is going to write the static code analysis section in Tools and <a href="https://twitter.com/#!/Zap0tek">Tasos Laskos</a> (author of <a href="http://zapotek.github.com/arachni/">Arachni</a>) will write about how dynamic web application scanners work. Many other tools will of course be covered! I will be writing extensively about integrating Agile practices and using TDD / BDD techniques and tools. I probably won&#8217;t start on this section until March / April. I am hoping we will have the <strong><em>Security Concepts</em></strong> section and the <strong><em>Languages &amp; Frameworks</em></strong> section complete by the end of February so we can open up a site for a much broader set of reviewers (<a href="http://signup.seconauts.com/">invite only but register to get on the invite request list here</a>) around March.</p>
<p>OK, now to set up the git repo for the contributing authors, create a README.md for them and kick off the discussion about we want to <a href="http://www.curphey.com/2012/01/solid-application-security-frame/">structure things</a>. Gentlemen start your engines!</p>
<p>&nbsp;</p>
<p>Edits : 1/25 &#8211; Added HTML5 (and friends), 1/25 &#8211; Added Gunnar Peterson to Identity</p>

				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fcontributing-authors-to-the-practical-software-security-book%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fcontributing-authors-to-the-practical-software-security-book%2F&amp;text=Contributing+Authors+to+the+Practical+Software+Security+Book&amp;via=curphey" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.curphey.com/2012/01/contributing-authors-to-the-practical-software-security-book/"></g:plusone></span><span class="mr_social_sharing"><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fcontributing-authors-to-the-practical-software-security-book%2F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/reddit.png" alt="Submit to reddit" title="Submit to reddit"/></a></span></div><img src="http://feeds.feedburner.com/~r/curphey/~4/vnJmldwweO8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.curphey.com/2012/01/contributing-authors-to-the-practical-software-security-book/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.curphey.com/2012/01/contributing-authors-to-the-practical-software-security-book/</feedburner:origLink></item>
		<item>
		<title>OWASP Keynote Speech</title>
		<link>http://feedproxy.google.com/~r/curphey/~3/W27u3PujRvI/</link>
		<comments>http://www.curphey.com/2012/01/owasp-keynote-speech/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 22:41:50 +0000</pubDate>
		<dc:creator>Mark Curphey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.curphey.com/?p=825</guid>
		<description><![CDATA[I just found this online Video streaming by Ustream]]></description>
			<content:encoded><![CDATA[<p>I just found this online</p>
<p><iframe style="border: 0px none transparent;" src="http://www.ustream.tv/embed/recorded/17432965" frameborder="0" scrolling="no" width="480" height="386"></iframe></p>
<p><a style="padding: 2px 0px 4px; width: 400px; background: #ffffff; display: block; color: #000000; font-weight: normal; font-size: 10px; text-decoration: underline; text-align: center;" href="http://www.ustream.tv/" target="_blank">Video streaming by Ustream</a></p>

				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fowasp-keynote-speech%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fowasp-keynote-speech%2F&amp;text=OWASP+Keynote+Speech&amp;via=curphey" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.curphey.com/2012/01/owasp-keynote-speech/"></g:plusone></span><span class="mr_social_sharing"><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fowasp-keynote-speech%2F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/reddit.png" alt="Submit to reddit" title="Submit to reddit"/></a></span></div><img src="http://feeds.feedburner.com/~r/curphey/~4/W27u3PujRvI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.curphey.com/2012/01/owasp-keynote-speech/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.curphey.com/2012/01/owasp-keynote-speech/</feedburner:origLink></item>
		<item>
		<title>Kudos for guard-brakeman</title>
		<link>http://feedproxy.google.com/~r/curphey/~3/XHHSr-YCu2g/</link>
		<comments>http://www.curphey.com/2012/01/kudos-for-guard-brakeman/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 19:08:28 +0000</pubDate>
		<dc:creator>Mark Curphey</dc:creator>
				<category><![CDATA[Practical Software Security]]></category>
		<category><![CDATA[Software Security]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.curphey.com/?p=828</guid>
		<description><![CDATA[Kudos to Niel Matatall for writing guard-brakeman. Neil has taken an open source static analysis tool, brakeman scanner and integrated it with the guard framework, a Ruby DSL for creating file-change events. Guard is typically used to automatically run the test suite as soon as a developer modifies any source code files and provides visual [...]]]></description>
			<content:encoded><![CDATA[<p>Kudos to <a href="https://twitter.com/#!/nilematotle">Niel Matatall </a>for writing <a href="http://rubygems.org/gems/guard-brakeman">guard-brakeman</a>. Neil has taken an open source static analysis tool, <a href="http://brakemanscanner.org">brakeman scanner</a> and integrated it with the guard framework, a Ruby DSL for creating file-change events. Guard is typically used to automatically run the test suite as soon as a developer modifies any source code files and provides visual notifications on pass or fail conditions. What Neil has done is simple but I think very powerful which is why I think he deserves public kudos. When a developer adds guard-brakeman to his guard configuration any time he/she makes a change to his application the security tests will automatically run. TDD developers don&#8217;t commit code until all tests pass and so he has effectively provided an easy way to push security back up the chain for developers following TDD. It&#8217;s that one stage further back than running static analysis before a commit. The only place further back up the chain left to explore is intelli-sense type security advice in the editor.</p>
<p>We need more people doing more things like this in my opinion. Simple, elegant and effective. Kudos to Neil!</p>

				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fkudos-for-guard-brakeman%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fkudos-for-guard-brakeman%2F&amp;text=Kudos+for+guard-brakeman&amp;via=curphey" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.curphey.com/2012/01/kudos-for-guard-brakeman/"></g:plusone></span><span class="mr_social_sharing"><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fkudos-for-guard-brakeman%2F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/reddit.png" alt="Submit to reddit" title="Submit to reddit"/></a></span></div><img src="http://feeds.feedburner.com/~r/curphey/~4/XHHSr-YCu2g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.curphey.com/2012/01/kudos-for-guard-brakeman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.curphey.com/2012/01/kudos-for-guard-brakeman/</feedburner:origLink></item>
		<item>
		<title>Git Cheat Sheet</title>
		<link>http://feedproxy.google.com/~r/curphey/~3/Q5myCsuf42A/</link>
		<comments>http://www.curphey.com/2012/01/git-cheat-sheet/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 00:51:29 +0000</pubDate>
		<dc:creator>Mark Curphey</dc:creator>
				<category><![CDATA[Agile Software]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Practical Software Security]]></category>
		<category><![CDATA[Software Security]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.curphey.com/?p=822</guid>
		<description><![CDATA[&#160; I have started making some developer cheat sheets for my own personal use using EverNote. There is so much to remember and I am often reminded that the goal is to develop good software and not to remember thousands of commands (as big and superior as doing that makes some people feel). I need [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<div style="font-family: Arial;">I have started making some developer cheat sheets for my own personal use using <a href="www.evernote.com">EverNote</a>. There is so much to remember and I am often reminded that the goal is to develop good software and not to remember thousands of commands (as big and superior as doing that makes some people feel). I need cheat sheets! I am working on my own cheat-sheets for git, zsh, rvm, aws and heroku as well as some language ones.  A few folks asked me to share them so here goes starting with my git cheat sheet . Given they are primarily for myself they won&#8217;t contain all commands you may want to use so feel free to copy and modify (this is all copied from others in the first place). For instance in this git cheat sheet there is no rebasing and very little about resetting your local repository when things go horribly wrong. I am sure I will update it in due course. You can subscribe to the shared Evernote file if you are an EverNote user <a href="http://www.evernote.com/shard/s5/sh/39e3ce24-f17c-4034-a7d0-22ae421d7e4c/2456aa78f6044c945041352c0f7785c2">here</a>. I will try and keep this page updated but that EverNote will be my source of truth!</div>
<div style="font-family: Arial;"></div>
<div style="font-family: Arial;">If you do find mistakes, have smarter ways of doing things or can&#8217;t figure out why something is missing do let me know. I would love to make it better for me and anyone who is using it.</div>
<div style="font-family: Arial;"></div>
<div style="font-family: Arial;"></div>
<div style="font-family: Arial;"><strong style="font-size: 18px;">Useful Resources</strong></div>
<div style="font-family: Arial;"><span style="font-size: 14px;"><a href="http://gitref.org/">http://gitref.org/</a><br />
</span></div>
<div style="font-family: Arial;"><a style="font-size: 14px;" href="http://help.github.com/git-cheat-sheets/">http://help.github.com/git-cheat-sheets/</a></div>
<div style="font-family: Arial;"><a style="font-size: 14px;" href="http://progit.org/book/">http://progit.org/book/</a></div>
<div style="font-family: Arial;">(see shell customization cheat sheet for adding a good git prompt in the shell)</div>
<div style="font-family: Arial;"><strong><br />
</strong></div>
<div style="font-family: Arial;">
<hr />
</div>
<div style="font-family: Arial;"><strong style="font-size: 18px;">Global Settings</strong></div>
<div style="font-family: Arial;">
<p><span style="font-family: CourierNew; font-size: 14px;">git config [--global]</span></p>
<div>
<div><strong>User Details</strong></div>
<div><span style="font-family: CourierNew;"><em>user.name $name i.e git config &#8211;global user.name Mark Curphey</em></span></div>
<div><span style="font-family: CourierNew;"><em>user.email $email i.e git config &#8211;global user.email mark@curphey.com</em></span></div>
</div>
</div>
<div style="font-family: Arial;"></div>
<div style="font-family: Arial;"><strong>Github</strong></div>
<div style="font-family: Arial;"><em>github.user $user </em></div>
<div style="font-family: Arial;"><em>github.token $token</em></div>
<div style="font-family: Arial;"></div>
<div style="font-family: Arial;">or just edit the ~/.gitconfig file !</div>
<div style="font-family: Arial;">
<hr />
</div>
<p>&nbsp;</p>
<div><strong style="font-size: 18px;">Creating Repositories</strong></div>
<div style="font-size: 14px;"><strong><br />
</strong></div>
<p>Create Local Repository from an Existing Local Project</p>
<div style="font-family: Arial;"><em>cd ~/project_dir</em></div>
<div style="font-family: Arial;"><em>git init</em></div>
<div style="text-align: left; font-family: Arial;"><em>git add .</em></div>
<div style="text-align: left; font-family: Arial;"><em><br />
</em></div>
<div style="font-family: Arial;">
<div><span style="font-family: CourierNew; font-size: 14px;"><strong>Clone Remote Repository </strong></span></div>
<div><span style="font-family: CourierNew;"><em>git clone git://github.com/user/repo.git</em></span></div>
<div><span style="font-family: CourierNew;"><em>git clone https://github.com/user/repo.git</em></span></div>
</div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><br />
</span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><strong>Clone a Local Repository</strong></span></div>
<div style="font-family: Arial;"><em>git clone ~/existing/repo ~/new/repo </em></div>
<div style="font-family: Arial;"><em>git clone you@host.org:dir/project.git</em></div>
<div style="font-family: Arial;">
<hr />
</div>
<div style="font-family: Arial;"><strong style="font-size: 18px;">Local Repositories</strong></div>
<div style="font-family: Arial;"><strong>List Changes in Working Directory</strong></div>
<div style="font-family: Arial;"><em>git status</em></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><em><br />
</em></span></div>
<div style="font-family: Arial;"><strong>Add Files to Repository</strong></div>
<div style="font-family: Arial;"><em>git add [filename1] [filename2]</em></div>
<div style="font-family: Arial;"><em>git add .</em></div>
<div style="font-family: Arial;"><em><br />
</em></div>
<div style="font-family: Arial;"><strong>Delete Files in Repository</strong></div>
<div style="font-family: Arial;"><em>git rm [filename1] [filename2]</em></div>
<div style="font-family: Arial;"><em><br />
</em></div>
<div style="font-family: Arial;"><strong>List Changes to Tracked Files</strong></div>
<div style="font-family: Arial;"><em>git diff</em></div>
<div style="font-family: Arial;"><em><br />
</em></div>
<div style="font-family: Arial;"><strong>Commit Changes</strong></div>
<div style="font-family: Arial;"><em>git commit -am &#8220;commit message&#8221; </em></div>
<div style="font-family: Arial;">(-a is all files that are tracked, NOT all files, so you still need to add filename or add .)</div>
<div style="font-family: Arial;">(-m is with a commit message)</div>
<div style="font-family: Arial;"></div>
<div style="font-family: Arial;"><strong>Return to Last Committed State</strong></div>
<div style="font-family: Arial;"><em>git reset &#8211;hard HEAD</em></div>
<div style="font-family: Arial;"><em><br />
</em></div>
<div style="font-family: Arial;">
<hr />
<p><span style="font-family: CourierNew;"><strong>Remote Repositories (Github)</strong></span></div>
<div style="font-family: Arial;"><span style="color: #333333; font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: #dddddd; display: inline !important; float: none;"><br />
</span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><strong style="font-size: 14px;">List Remote Repositories Aliased</strong></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em>git remote</em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em><br />
</em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><strong>Add Remote Repository</strong></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em>git remote add [alias] [location] i.e. git remote add origin git://github.com/curphey/repo.git</em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em><br />
</em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><strong>Remove Remote Repository </strong></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em>git remote rm [alias] i.e. git remote rm origin</em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em><br />
</em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><strong>Pull from Remote Repository and Merge into Current Branch</strong></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><em>git pull [alias] [location] i.e. git pull origin master</em></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;">(once you have pulled once the alias and remote branch are no longer needed) </span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><br />
</span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;">git fetch from Remote Repository is same as pull but without auto-merging</span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><br />
</span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><strong>Push Local Changes to Remote</strong></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><em>git push [alias] [branch]</em></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><em><br />
</em></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;">If the server rejects your push, always try a git pull and then retry as 99 times out of 100 you didn&#8217;t have the latest remote!</span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><br />
</span></div>
<div style="font-family: Arial;">
<hr />
</div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><em><strong style="font-size: 18px;">Branching and Merging</strong></em></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em><strong><br />
</strong></em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em><strong>List Available Branches</strong></em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em>git branch</em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em><strong><br />
</strong></em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em><strong>Create a Branch</strong></em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em>git branch [branch name] i.e git branch [experimental]</em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em><br />
</em></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><strong>Switch to Work in a Branch</strong></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em>git checkout [branch name] i.e git checkout experimental</em></span></span></div>
<div style="font-family: Arial;"></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><strong>Create and Immediately Switch to New Branch (i.e both of last two steps)</strong></span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em>git checkout -b [branch name]</em></span></span></div>
<div style="font-family: Arial;"><em><strong><br />
</strong></em></div>
<div style="font-family: Arial;"><em><strong>Merge Branch</strong></em></div>
<div style="font-family: Arial;"><em>git merge [branch to merge]</em> i.e. <em>git merge experimental </em>will merge experimental back into working branch</div>
<div style="font-family: Arial;"><em><strong><br />
</strong></em></div>
<div style="font-family: Arial;"><em><strong>Track Original Repository of an Open Source Project on Github</strong></em></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;">Fork repository, create an upstream remote, fetch and merge (or pull) changes into your fork.</span></span></div>
<div style="font-family: Arial;"><span style="font-family: CourierNew;"><span style="font-size: 14px;"><em><br />
</em></span></span></div>
<div style="font-family: Arial;"><em><span style="font-family: CourierNew;"><span style="font-size: 14px;">git remote add upstream </span></span>https://github.com/rails/rails.git</em></div>
<div style="font-family: Arial;"><em>git fetch upstream</em></div>
<div style="font-family: Arial;"><em>git merge upstream/master</em></div>
<div style="font-family: Arial;"><em><br />
</em></div>
<div style="font-family: Arial;"><strong>Show Log of Activity</strong></div>
<div style="font-family: Arial;"><em>git log</em></div>
<div style="font-family: Arial;"><em><br />
</em></div>
<div style="font-family: Arial;"><strong>Tag a Commit i.e. v.0_beta1</strong></div>
<div style="font-family: Arial;"><em>git tag [note]</em></div>

				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fgit-cheat-sheet%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fgit-cheat-sheet%2F&amp;text=Git+Cheat+Sheet&amp;via=curphey" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.curphey.com/2012/01/git-cheat-sheet/"></g:plusone></span><span class="mr_social_sharing"><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fgit-cheat-sheet%2F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/reddit.png" alt="Submit to reddit" title="Submit to reddit"/></a></span></div><img src="http://feeds.feedburner.com/~r/curphey/~4/Q5myCsuf42A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.curphey.com/2012/01/git-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.curphey.com/2012/01/git-cheat-sheet/</feedburner:origLink></item>
		<item>
		<title>Solid Application Security Frame ?</title>
		<link>http://feedproxy.google.com/~r/curphey/~3/GUrugyg5Y0E/</link>
		<comments>http://www.curphey.com/2012/01/solid-application-security-frame/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 04:11:35 +0000</pubDate>
		<dc:creator>Mark Curphey</dc:creator>
				<category><![CDATA[Practical Software Security]]></category>
		<category><![CDATA[Software Security]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.curphey.com/?p=819</guid>
		<description><![CDATA[The Practical Software Security book will have five main sections *subject to change and a work in progress of course*. To recap the book is being aimed at pure developers (not security people) and aiming to be a single book developers and development teams need for their security knowledge. Those five main sections are: Introduction [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.seconauts.com">Practical Software Security</a> book will have five main sections *subject to change and a work in progress of course*. To recap the book is being aimed at pure developers (not security people) and aiming to be a single book developers and development teams need for their security knowledge. Those five main sections are:</p>
<ul>
<li>Introduction</li>
<li>Security Concepts</li>
<li>Tools &amp; Technologies</li>
<li>Building a Software Security Program</li>
<li>Engineering Scenarios</li>
</ul>
<p>I want to syncronize the book so that the generic security advice in the security concepts section is then made specific in the tools &amp; technologies section and then further builds with code level samples in the engineering scenarios section. For example in the &#8220;Security Concepts&#8221; section there is a sub-section on cryptography in which we describe the key concepts and types of cryptography, how those types of cryptography works and when certain types of cryptography can and should be used. In the &#8220;Tools &amp; Technologies&#8221; and technologies section we will cover a security overview of major development frameworks such as Java, JavaScript and PHP in which I want help the developers know how to implement those cryptographic concepts described earlier in their scoped framework and describe important cryptographic libraries and what they support.</p>
<p>I would love to hear peoples opinions about the &#8220;security frame&#8221; I plan to use (see below). The frame will be used to tie together the sections of the book. I have been using this (or a variant of it) for many years and it has always worked for me. J.D.Meier used <a href="http://msdn.microsoft.com/en-us/library/ms978518.aspx">a similar one </a>in Building Secure ASP.NET Applications (I was a reviewer of this back in 2006).</p>
<ul>
<li>Cryptography</li>
<li>Authentication</li>
<li>User Management</li>
<li>Authorization</li>
<li>Configuration Management</li>
<li>Audit and Logging</li>
<li>Data Validation</li>
<li>Data Security (in transport &amp; storage)</li>
<li>Session Management</li>
<li>Error Handling</li>
</ul>
<p>Does it work for you?</p>
<p>Is it missing any sections?</p>
<p>Would you add any sections?</p>
<p>At the end of the day it is just a taxonomy and over the years doing things like OASIS WAS and similar projects, I have concluded that more important than the taxonomy is using any taxonomy consistently. No taxonomy will ever work for everyone, I just want to make sure this works for the majority. Please throw darts at this. Ask me where I would put x or y or z. If I don&#8217;t have a good answer I have a problem!</p>
<p>Cheers!</p>
<p> </p>
<p>Mark</p>

				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fsolid-application-security-frame%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fsolid-application-security-frame%2F&amp;text=Solid+Application+Security+Frame+%3F&amp;via=curphey" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.curphey.com/2012/01/solid-application-security-frame/"></g:plusone></span><span class="mr_social_sharing"><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fsolid-application-security-frame%2F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/reddit.png" alt="Submit to reddit" title="Submit to reddit"/></a></span></div><img src="http://feeds.feedburner.com/~r/curphey/~4/GUrugyg5Y0E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.curphey.com/2012/01/solid-application-security-frame/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.curphey.com/2012/01/solid-application-security-frame/</feedburner:origLink></item>
		<item>
		<title>The Learn to Code Movement and Software Security</title>
		<link>http://feedproxy.google.com/~r/curphey/~3/ax7HImARe40/</link>
		<comments>http://www.curphey.com/2012/01/the-learn-to-code-movement-and-software-security/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 23:59:45 +0000</pubDate>
		<dc:creator>Mark Curphey</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software Security]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.curphey.com/?p=816</guid>
		<description><![CDATA[I think this is a really exciting time to be living. The pace of technology advances are so fast that things I could only imagine as a child (or dismissed even a few years ago as pure science-fiction) are actually coming true. We take so much amazing technology for granted and don&#8217;t appreciate it. I [...]]]></description>
			<content:encoded><![CDATA[<p>I think this is a really exciting time to be living. The pace of technology advances are so fast that things I could only imagine as a child (or dismissed even a few years ago as pure science-fiction) are actually coming true. We take so much amazing technology for granted and don&#8217;t appreciate it. I now use Siri to send texts and check the traffic while in my car, my iPad is used by the children to talk to their grand-mother in the UK using video conference (Skype) as if it&#8217;s &#8220;normal&#8221;,  my wife sometimes tracks me using &#8220;where are my friends&#8221; on our iPhone&#8217;s to have a hot cup of tea ready for me when I walk in the door from a tough day at work and I often scan my food using the Daily Burn to determine the calories and nutrients. I could go on and on and on.</p>
<p>The commonality with much of the software I have grown to love is that it is more often than not first created by people who wanted to solve a specific problem and this is the main reason I am so excited to see the Learn to Code movement take off. <a href="http://www.codeyear.com">CodeYear.com</a> has seen over half a million people set a New Year resolution to learn to code including New York&#8217;s Major, Michael Bloomberg. The scheme sends prospective developers a weekly set of tasks via email that have started with basic JavaScript lessons.</p>
<p>If you try to view the world as &#8220;a glass half-full&#8221; then you will, like me, be excited to think about the great software that will be created by a broad range of people that will be able to put their ideas into prototypes and production services in the future. The amount of  ideas for unique software trapped in the brains of 500,000 people is a significant number to bet that some will become staples that many of us will use and rely on tomorrow. Realistically of course only a proportion of those that sign up will continue on the course (like any new years resolution) and a much smaller proportion will actually ship anything. Of that proportion an even smaller number will ship something that might be considered a killer app but with a starting funnel of 500,000 its hard to imagine their won&#8217;t be some real success stories.</p>
<p>Over the last few weeks I have seen several tweets from &#8220;security people&#8221; questioning the type of developers that this movement will produce. They were of course inferring that an army of new and inexperienced developers will result in a sea of insecure code. It maybe a valid concern but the security industry is notoriously &#8220;glass half-empty&#8221; or pessimistic. I keep circling back to two points.</p>
<p>The first is that &#8220;security &lt; performance &lt; functionality&#8221;. Many security people will argue to death that this isn&#8217;t valid but I am yet to agree with any arguments. &#8220;It is hard to convince a man of something if his salary depends on him not understanding it.&#8221; &#8211; Upton Sinclair. If you don&#8217;t have a functional product then you will by definition not attract users. 100% of nothing is nothing and so even if we see thousands of apps with swiss cheese style security holes, if they don&#8217;t attract users it won&#8217;t matter in the big picture.</p>
<p>The second point follows is closely related. Those products that will gain users will almost definitely be written by those talented people that had a dormant gift for software. These people will also seek out and incorporate security and performance into their software. I don&#8217;t think anyone should stereo-type these new developers. I will bet serious money that some of tomorrows rock-star developers are office workers, farmers or grocery store shelf-stackers today. I learnt that lesson when we moved to France for a year in 2006. The Brit&#8217;s are notoriously poor at foreign languages and it is certainly true that many British people living in France can utter little more than &#8220;der baget&#8221; or &#8220;der beer&#8221;. However some people from electricians to young kids pick up French at such a pace that they become fluent in no time. The electrician re-wiring our house was such an example and we put my 6 year old (at the time) straight into the local school where he became so fluent in 3 months that the local farmer didn&#8217;t know he was British! Bear in mind in the South West of France they have a strong regional accent (Touloussian) so that is no minor feat.</p>
<p>I think the security industry should embrace the Learn To Code movement as a great opportunity to provide software security training to a new breed of developers.</p>
<p>I am on the look out for a good developer to create a set of code based online training like <a href="http://www.codecademy.com">codecademy.com </a>that we can release for free on the <a href="http://www.seconauts.com">seconauts community</a> when we launch.  If you are a good Rails developer and interested then do let me know!</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>

				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fthe-learn-to-code-movement-and-software-security%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fthe-learn-to-code-movement-and-software-security%2F&amp;text=The+Learn+to+Code+Movement+and+Software+Security&amp;via=curphey" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.curphey.com/2012/01/the-learn-to-code-movement-and-software-security/"></g:plusone></span><span class="mr_social_sharing"><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.curphey.com%2F2012%2F01%2Fthe-learn-to-code-movement-and-software-security%2F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/reddit.png" alt="Submit to reddit" title="Submit to reddit"/></a></span></div><img src="http://feeds.feedburner.com/~r/curphey/~4/ax7HImARe40" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.curphey.com/2012/01/the-learn-to-code-movement-and-software-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.curphey.com/2012/01/the-learn-to-code-movement-and-software-security/</feedburner:origLink></item>
		<item>
		<title>Sad Facts About the American Diet (and an additional blog theme)</title>
		<link>http://feedproxy.google.com/~r/curphey/~3/Z8rWhEZMoR8/</link>
		<comments>http://www.curphey.com/2011/12/sad-facts-about-the-american-diet-and-an-additional-blog-theme/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 05:02:51 +0000</pubDate>
		<dc:creator>Mark Curphey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[real food]]></category>

		<guid isPermaLink="false">http://www.curphey.com/?p=791</guid>
		<description><![CDATA[At this time of year many people look towards diet experts and the diet industry to shed a few pounds. My wife is no exception. The trend in the UK among her friends (we live in the US but are British) seems to be the Dukan Diet. You can go online and answer a few [...]]]></description>
			<content:encoded><![CDATA[<p>At this time of year many people look towards diet experts and the diet industry to shed a few pounds. My wife is no exception. The trend in the UK among her friends (we live in the US but are British) seems to be the Dukan Diet. You can go online and answer a few questions and magically it will tell you your &#8220;ideal weight&#8221;.</p>
<p>For fun we submitted the same results to the UK (http://www.dukandiet.co.uk/) and US ( http://www.dukandiet.com/) versions of the site and to our surprise found that the US site gave an ideal weight that was 7lbs more than the UK site (130 lb for the US vs 123 lb for the UK). She is already at the US ideal weight! We submitted a support ticket suggesting they might have a bug and got back the mail below.</p>
<p>&#8220;Due to the American diet, we have adjusted our True Weight a little bit as it may be harder to stabilize and maintain a lower True Weight. People who eat in France or the UK can take advantage of fresher and healthier ingredients (no hormones, no pesticides, etc.) as opposed to their American peers.&#8221;</p>
<p>While we have Whole Foods, and farmers markets (we get a organic vegetable box delivered weekly) it is indeed MUCH harder to eat well in the US. It&#8217;s all about quantity and not quality, there is sadly little general awareness of where your food comes from, people accept highly processed food as &#8220;normal&#8221; and even seemingly healthy choices like many Whole Foods own brands are stuffed with evaporate cane juice. Organic cane juice is still refined sugar!</p>
<p>Come on Americans, it really is time for a real food revolution. I am tired of seeing all the over-weight people on the streets, all the junk food in restaurants and stores and the lack of awareness about where your food comes from.</p>
<p>I plan to now post regularly on healthy eating.</p>

				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.curphey.com%2F2011%2F12%2Fsad-facts-about-the-american-diet-and-an-additional-blog-theme%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.curphey.com%2F2011%2F12%2Fsad-facts-about-the-american-diet-and-an-additional-blog-theme%2F&amp;text=Sad+Facts+About+the+American+Diet+%28and+an+additional+blog+theme%29&amp;via=curphey" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.curphey.com/2011/12/sad-facts-about-the-american-diet-and-an-additional-blog-theme/"></g:plusone></span><span class="mr_social_sharing"><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.curphey.com%2F2011%2F12%2Fsad-facts-about-the-american-diet-and-an-additional-blog-theme%2F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/reddit.png" alt="Submit to reddit" title="Submit to reddit"/></a></span></div><img src="http://feeds.feedburner.com/~r/curphey/~4/Z8rWhEZMoR8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.curphey.com/2011/12/sad-facts-about-the-american-diet-and-an-additional-blog-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.curphey.com/2011/12/sad-facts-about-the-american-diet-and-an-additional-blog-theme/</feedburner:origLink></item>
		<item>
		<title>Practical Software Security – Scenarios</title>
		<link>http://feedproxy.google.com/~r/curphey/~3/2uissVwtk48/</link>
		<comments>http://www.curphey.com/2011/12/practical-software-security-scenarios/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 22:06:49 +0000</pubDate>
		<dc:creator>Mark Curphey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.curphey.com/?p=808</guid>
		<description><![CDATA[A major part of the Practical Software Security book will be a collection of discrete guidance topics covering design and implementation of end-to-end scenarios that most modern development teams will face. Over time we expect to expand on the scenarios in the book and probably maintain an online repository (including technology specific versions). I just [...]]]></description>
			<content:encoded><![CDATA[<p>A major part of the Practical Software Security book will be a collection of discrete guidance topics covering design and implementation of end-to-end scenarios that most modern development teams will face. Over time we expect to expand on the scenarios in the book and probably maintain an online repository (including technology specific versions).</p>
<p>I just started building an initial list of scenarios and would love input on important scenarios you think we should cover. My initial list is below.</p>
<p>- Managing Sensitive Data<br />
- Practical Cryptographic Key Management<br />
- Federated Authentication (OAuth &amp; FaceBook Connect)<br />
- Designing User Management Systems (passwords, password resets &amp; profile management)<br />
- Authorization Models<br />
- Avoiding Input Validation Vulnerabilities<br />
- Connecting Web Services Across the Internet<br />
- Safely Storing Data on a Client (Browser + Mobile)<br />
- Preventing Bots and Making Sure Your Users are Humans<br />
- Signing Code and Distributing Applications<br />
- Setting up a Cloud Deployment Environment</p>
<p>Cheers!</p>
<p>Mark</p>

				<!-- Social Sharing Toolkit v2.0.4 | http://www.marijnrongen.com/wordpress-plugins/social_sharing_toolkit/ -->
				<div class="mr_social_sharing_wrapper"><span class="mr_social_sharing"><iframe src="https://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http%3A%2F%2Fwww.curphey.com%2F2011%2F12%2Fpractical-software-security-scenarios%2F&amp;layout=standard&amp;show_faces=false&amp;width=51px&amp;height=24px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:51px; height:24px;" allowTransparency="true"></iframe></span><span class="mr_social_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.curphey.com%2F2011%2F12%2Fpractical-software-security-scenarios%2F&amp;text=Practical+Software+Security+%E2%80%93+Scenarios&amp;via=curphey" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/twitter.png" alt="Share on Twitter" title="Share on Twitter"/></a></span><span class="mr_social_sharing"><g:plusone size="medium" count="false" href="http://www.curphey.com/2011/12/practical-software-security-scenarios/"></g:plusone></span><span class="mr_social_sharing"><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.curphey.com%2F2011%2F12%2Fpractical-software-security-scenarios%2F" target="_blank" class="mr_social_sharing_popup_link"><img src="http://www.curphey.com/wp-content/plugins/social-sharing-toolkit/images/buttons/reddit.png" alt="Submit to reddit" title="Submit to reddit"/></a></span></div><img src="http://feeds.feedburner.com/~r/curphey/~4/2uissVwtk48" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.curphey.com/2011/12/practical-software-security-scenarios/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.curphey.com/2011/12/practical-software-security-scenarios/</feedburner:origLink></item>
	</channel>
</rss>

