[pycrypto] adding ssh keys support in distutils2

Aljoša Mohorović aljosa.mohorovic at gmail.com
Mon Feb 21 09:02:35 CST 2011


i'm looking for information on what would be the best way to add an
option to distutils2 to use ssh keys to authorize for package upload
to pypi (and similar software)?
my idea was something like:
1) user defines public part of ssh key on pypi
2) distutils2 somehow gets local private key when uploading
3) username and package are signed and values are added to request
when uploading package
4) pypi server side validates package upload based on ssh key public part

although i'm an average ssh user this is my first time trying to
implement something like this so any links to common mistakes,
examples, comments or anything similar is really appreciated.

Aljosa Mohorovic


More information about the pycrypto mailing list