More readable debug output (use symbolic status names instead of numeric value), return better errors for a) write() failures (gets the error from the system now) and b) for missing passphrases.
svn path=/branches/kdepim/enterprise4/kdepimlibs/; revision=883237