Translate some of the GPG errors.
Better error for badly encoded password.
Make library usable from c++.