Allow passing old and new passwords using files
Partially addresses #140 (closed), for the special case of sq key password.
This might not be what you want exactly, but we needed something like this for scripting purposes.
Is this going roughly in the direction you're looking for? Any feedback?