<?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/"
	>

<channel>
	<title>Random Bugs &#187; Cryptography</title>
	<atom:link href="http://www.randombugs.com/category/crypto/feed" rel="self" type="application/rss+xml" />
	<link>http://www.randombugs.com</link>
	<description>Just another Bastard Operator From Hell. Everything from *nix to programming</description>
	<lastBuildDate>Thu, 06 May 2010 14:21:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>java.lang.SecurityException: JCE cannot authenticate the provider BC</title>
		<link>http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html</link>
		<comments>http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html#comments</comments>
		<pubDate>Mon, 10 Aug 2009 09:57:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=577</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><br/>Trying to integrate BouncyCastle Cryptography provider in Java can be a nightmare. I read a lot of forums messages about &#8220;JCE cannot authenticate the provider BC&#8221; and I didn&#8217;t find any clear response. After several hours of tweaking and digging I found the main reason of the problem. If you want to use BouncyCastle as Security provider then install it directly on your Java Virtual Machine and remove any library of bc from your application. 

How to install correctly Bouncy Castle on your JVM:
First for Ubuntu/Debian users you should look ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using GPG under Ubuntu or Debian</title>
		<link>http://www.randombugs.com/linux/gpg-ubuntu-debian.html</link>
		<comments>http://www.randombugs.com/linux/gpg-ubuntu-debian.html#comments</comments>
		<pubDate>Wed, 13 May 2009 12:40:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Recovery]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=443</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>Gpg is stands for Gnu Privacy Guard and is a free alternative to the PGP cryptographic software. GnuPG (or GPG) follows the RFC 4880 which is the standard specification of OpenPGP. The most important thing GPG is interoperable with PGP. GPG is build as a command line utility but also have several front-ends for KDE, Gnome and other Linux desktops, but also is directly integrated in other software like: Email Clients as  Mozilla Thunderbird, Evolution, Kmail, Instant Messaging as PSI, Fire, Browsers as Mozilla Firefox etc.

GnuPG encrypts messages using ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/gpg-ubuntu-debian.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Encrypting and Decrypting files under Ubuntu</title>
		<link>http://www.randombugs.com/linux/encrypting-decrypting-files-ubuntu.html</link>
		<comments>http://www.randombugs.com/linux/encrypting-decrypting-files-ubuntu.html#comments</comments>
		<pubDate>Tue, 05 May 2009 12:27:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=434</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><br/>This days we shouldn&#8217;t trust in anything. The Internet is full of worms, trojans, viruses and they are spreading more and more. Even if you have a firewall is not enough. The best security for your computer is to have it unplugged from power and network &#8230; and even then you cannot be 100% about security of your stored data. So today we will talk about encryption under Linux. I will show you how to do it from console and from KDE Windows manager. We have several possibilities to encrypt ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/encrypting-decrypting-files-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-to work with ssh keys, agents and other usefull stuff</title>
		<link>http://www.randombugs.com/linux/howto-work-ssh-keys-agents-usefull-stuff.html</link>
		<comments>http://www.randombugs.com/linux/howto-work-ssh-keys-agents-usefull-stuff.html#comments</comments>
		<pubDate>Tue, 17 Mar 2009 13:54:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Xorg]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=314</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>Managing more than 80 Linux servers is not an easy job, but with the help of ssh I can distribute a command to all servers without typing, retyping the password every time for that. Don&#8217;t understand me wrong, you will need to type a password for accessing this servers, but just one time. If you manage correctly your keys you will don&#8217;t need to have any fear in heavy exploiting the ssh keys.

What is SSH ? SSH stands for Secure Shell and is a protocol that allows secure data exchange ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/howto-work-ssh-keys-agents-usefull-stuff.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating and Installing a Certificate on Apache 2</title>
		<link>http://www.randombugs.com/linux/creating-and-installing-a-certificate-on-apache-2.html</link>
		<comments>http://www.randombugs.com/linux/creating-and-installing-a-certificate-on-apache-2.html#comments</comments>
		<pubDate>Wed, 12 Nov 2008 13:33:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=58</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/apache3.jpg" width="24" height="24" alt="" title="Apache" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>Generating  and installing a certificate Is not such a big deal as other may consider  but it requires some understanding of how apache and certificates are working.

This post will be structured in 3 parts:

Generating a private key for the apache server
Generating a Certificate Signing Request (CSR)
Configuring Apache 2 SSL

Generating a private key for the server
To generate a private key for our server we need OpenSSL utilities. To install it just run:
apt-get install openssl
To generate a private key run in console:
openssl genrsa –des3 –out www.mydomain.com.key 1024
If you are not ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/creating-and-installing-a-certificate-on-apache-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
