> Crud, being able to read from stdin is a really ugly side effect of > using system() but I can't see a way around it. I don't know if this is a reasonable kludge, but how about darcs looks for the GPG password prompt, then reads from stdin, then sends the result to GPG? :-)