Support for SSH keys
Created originally on Bitbucket by Anonymous
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.
I've added support for SSH keys, using Paramiko, to commitsigs. I needed it for signing integrated with mercurial-server; hope it will be useful for others as well.
There are a couple of fixes in there as well; for some reason, probably a bug in Mercurial, the config dictionary was being reset sometimes, so I made it a function and passed around the ui object instead.
(update: Oops, made a mistake in the docstring. Corrected.)