Re: [Distutils] Add optional password_command .pypirc value

2013-03-10 Thread Tarek Ziadé
On 3/10/13 8:25 AM, Glyph wrote: [..] Secure password storage is always worth working on :). Have you heard of the Keyring module? https://pypi.python.org/pypi/keyring/ It already supports a cross-platform interface to this sort of thing, including the OS X keychain. -glyph Did you

Re: [Distutils] Add optional password_command .pypirc value

2013-03-09 Thread Glyph
On Mar 7, 2013, at 11:40 PM, Matt Behrens askedre...@gmail.com wrote: After doing some research tonight on storing/accessing passwords in the OSX Keychain (http://asktherelic.com/2013/03/07/storing-command-line-passwords-in-keychain/), I was curious why the .pypirc doesn't support

[Distutils] Add optional password_command .pypirc value

2013-03-08 Thread Matt Behrens
After doing some research last night on storing/accessing passwords in the OSX Keychain (http://asktherelic.com/2013/03/07/storing-command-line-passwords-in-keychain/), I was curious why the .pypirc doesn't support something like this when asking for the password during 'upload', to not have

Re: [Distutils] Add optional password_command .pypirc value

2013-03-08 Thread Lennart Regebro
On Fri, Mar 8, 2013 at 5:08 PM, Matt Behrens askedre...@gmail.com wrote: Does this seem like it's worth making a patch? Personally I think it's better to the the ssh way and support uploading via ssh with uploaded ssh keys, and deprecate the password support for uploading. That way there is no

Re: [Distutils] Add optional password_command .pypirc value

2013-03-08 Thread Donald Stufft
On Mar 8, 2013, at 11:32 AM, Lennart Regebro rege...@gmail.com wrote: On Fri, Mar 8, 2013 at 5:08 PM, Matt Behrens askedre...@gmail.com wrote: Does this seem like it's worth making a patch? Personally I think it's better to the the ssh way and support uploading via ssh with uploaded ssh

Re: [Distutils] Add optional password_command .pypirc value

2013-03-08 Thread Lennart Regebro
On Fri, Mar 8, 2013 at 6:01 PM, Donald Stufft don...@stufft.io wrote: I dislike hijacking SSH to tunnel a HTTP protocol over I'm not sure we have to hijack or tunnel anything. :-) and adding more reliance on SSH keys means a lost SSH key becomes _even_ worse than it already is. I don't

Re: [Distutils] Add optional password_command .pypirc value

2013-03-08 Thread Donald Stufft
On Mar 8, 2013, at 12:47 PM, Lennart Regebro rege...@gmail.com wrote: On Fri, Mar 8, 2013 at 6:01 PM, Donald Stufft don...@stufft.io wrote: I dislike hijacking SSH to tunnel a HTTP protocol over I'm not sure we have to hijack or tunnel anything. :-) If you're uploading via SSH you'll open a

Re: [Distutils] Add optional password_command .pypirc value

2013-03-08 Thread Toshio Kuratomi
On Fri, Mar 08, 2013 at 12:57:54PM -0500, Donald Stufft wrote: On Mar 8, 2013, at 12:47 PM, Lennart Regebro rege...@gmail.com wrote: On Fri, Mar 8, 2013 at 6:01 PM, Donald Stufft don...@stufft.io wrote: I dislike hijacking SSH to tunnel a HTTP protocol over I'm not sure we have to

Re: [Distutils] Add optional password_command .pypirc value

2013-03-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/08/2013 12:57 PM, Donald Stufft wrote: If you're uploading via SSH you'll open a SSH tunnel and then POST to PyPI over that tunnel. That isn't a hard requirment. The PyPI software could add a command-line script used for uploads which

Re: [Distutils] Add optional password_command .pypirc value

2013-03-08 Thread Lennart Regebro
On Fri, Mar 8, 2013 at 6:57 PM, Donald Stufft don...@stufft.io wrote: If you're uploading via SSH you'll open a SSH tunnel and then POST to PyPI over that tunnel. You are not required to use HTTP, there are several other protocols you can use such as SCP of SFTP. Not that I think it matters

Re: [Distutils] Add optional password_command .pypirc value

2013-03-08 Thread Nick Coghlan
On Sat, Mar 9, 2013 at 4:25 PM, Lennart Regebro rege...@gmail.com wrote: On Fri, Mar 8, 2013 at 6:57 PM, Donald Stufft don...@stufft.io wrote: HTTP has a token that is functionally similar to SSH keys. Client side SSL certificates. They would function fine and enable similar uses as SSH keys.