fix to password check (return code of gpg parsed using --status-fd