use m2crypto instead of rsa

The pubkey is converted from PKCS#1 to X.501 format to be usable by
M2Crypto.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
use m2crypto instead of rsa

The pubkey is converted from PKCS#1 to X.501 format to be usable by
M2Crypto.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Merge branch 'master-m2crypto' of https://github.com/lsm5/docker-registry into lsm5-master-m2crypto

Conflicts:
	docker_registry/toolkit.py
Don't forget to close file after read
Fixed check_signature
Merge pull request #825 from docker/lsm5-master-m2crypto

Replace python-rsa with m2crypto