I have been playing around with building RPM packages today on CentOS because I needed to upgrade curl and the latest version available on CentOS didn’t have the features I needed to use. One of the things that had come h up during the RPM build process and the RPM package installation process using yum was the fact that your RPM packages should be signed. Signing RPM packages gives them some validity and will allow others to install them without having to modify their yum.conf file. Below I describe how to generate a GPG key to be used to sign RPM packages created using the rpmbuild command. First below is a message that will be received when attempting to install unsigned packages using yum with the default yum configuration.
Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 283 more bytes)
When working to create a GPG key to sign some RPM packages I was building I ran into a message I had never seen before. I was building the RPM packages on an older server with not a lot of power which I am assuming contributed to my issue. The error is noted below but basically means you need to generate a lot of random bytes which are used to create a unique key. Within the error it states that the computer needs to collect more entropy so below I explain the error in more detail, what entropy means, why more entropy is needed, and how to generate as much as possible in a short amount of time to finish generating the GPG key.
There are numerous items that need to be installed to make this work end to end and I assume that you probably have one of the items already installed which is how you probably found this article. The end goal is to be able to receive Push Notifications on your iPhone in a couple different scenarios including whenever someone posts a comment to an article on your WordPress blog, when new users register on your WordPress blog, or when users send you direct messages using your WordPress mobile theme’s contact form. You may or may not be familiar with Push Notifications on your iPhone so I will explain specifically what they are below but the short explanation is they are notification messages of some sort that will pop up on your iPhone without you having to have a specific application already open. Below I describe how to integrate your WordPress blog with Prowl using the WPTouch WordPress plugin.