Updated to use new pwmd error codes which reuses more GPG error codes.