Make verify tell what's wrong.
Output a newline after a secret when interactive.
Use GPG Agent, it seems to work well enough these days.