Port of pwsafe to version 3 of the PasswordSafe protocol