I have a standard client (QT client on OSX) with an encrypted wallet. I've tried to import keys with pywallet, but while it claimed to be importing them, when I ran again the bitcoin client, it said wallet.dat was corrupted (yes the client wasn't running when I did the import).
I guess pywallet doesn't know about encryption and didn't care enough to check everything was ok before importing them.
So, how do I do this import?
Trying to run the command line client gets me the following error a few seconds after starting it (with -daemon option of course):
EXCEPTION: NSt8ios_base7failureE CDataStream::read() : end of data bitcoin in AppInit()
Running the QT client with the
-server option crashes too after a while (apparently it works correctly without that).