GPG error on N900 when doing update on command line

Nokia N900 communicator/internet tablet
Image via Wikipedia

If you have added some extra repositories to your Nokia N900 and are trying to do something ( like update, install or any other apt-get operation) you might see some errors or warnings related to the GPG keys. The errors would come because the Public keys for the reporisitories are not present in the gpg database 🙂

Cool, now you know the reason, but what to do…  Add them as below:

(Before doing this note down the keys when you are getting the errors/warnings. We will need those keys to get the public keys from the public server. I am taking “010908312D230C5F” as an example here.)

gpg --keyserver --recv-key  010908312D230C5F gpg -a --export 010908312D230C5F | sudo apt-key add -

and if you need to see the currently active repositories then you can
open the following file and check the contents:

vim /etc/apt/sources.list.d/hildon-application-manager.list
Enhanced by Zemanta

OpenLDAP and SSL – some links

Here are some of the links that may be of great help to you if you are having issues with setting up SSL and OpenLDAP. I was having some issues with this setup and these links helped me fix the same.

Enhanced by Zemanta

EncFS – Simple article to use Encrypted filesystem in Linux

A nice article here

EncFS is an easy-to-use, command-line tool for storing information in encrypted form. It’s not really a file-system, but it pretends to be one at the CLI. If you’ve been searching for a means of encrypting and decrypting your sensitive data easily, here it is.
User Level: Intermediate
EncFS is included with the distribution I’m using on the desktop, Ubuntu Dapper, so all I needed to do to install it was a few clicks in Synaptic. Look for the encfs package, and select if for installation. It should pull down all of the dependencies for the system. If you’re not so lucky, and your distro doesn’t include EncFS packages, you can download the latest tarball from a here and build it from the source. See the EncFS site for a dependencies.

In addition, you’ll need to load the fuse kernel module in order to use EncFS. To do this, run

, which should take care of loading the fuse kernel module. You also need to add your <a class="zem_slink" title="User identifier" rel="wikipedia" href="">user ID</a> to the fuse group before you can use EncFS. To add the user ID to the fuse group, run [cc lang="bash"]usermod -a -G fuse username

— this will add username to the fuse group, without removing the user from other groups.

Here’s how it works. When you start EncFS at the command line, you tell it where to keep the encrypted and decrypted versions of your “filesystem.” The encrypted version stays put, right where you tell it to stay, but the plain-text version disappears when you want it to; either by use of an unmount command or by reaching a predetermined period of inactivity. Let’s take a hypothetical case to illustrate the process.
I’m planning a surprise birthday party for someone near and dear to me, someone who occasionally uses my desktop computer, so I decide to use EncFS to hide the evidence. To get started, I simply enter the following at the CLI:

encfs ~/.partyplans ~artyplans

Since this is the first time EncFS has heard about partyplans, it double-checks to make sure I haven’t made a typo before proceeding to create the directories, set the options, and get a password to use with them:
The directory “/home/warthawg/.partyplans/” does not exist. Should it be created? (y,n) y
The directory “/home/warthawgartyplans” does not exist. Should it be created? (y,n) y
Creating new encrypted volume.
Please choose from one of the following options:
enter “x” for expert configuration mode,enter “p” for pre-config
Continue reading here.

Enhanced by Zemanta