Author pitrou
Recipients christian.heimes, giampaolo.rodola, gvanrossum, janssen, pitrou
Date 2013-11-22.17:29:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385141394.53.0.308340707133.issue19689@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, so I still have a couple of issues with the proposed API:

- if its purpose is to create a *default* context, create_default_context() shouldn't have that many arguments. The nice thing with contexts is that you can change their parameters later... So basically the function signature should be:

  create_default_context(purpose, *, cafile, cadata, capath)

Also, the default for "purpose" should probably be serverAuth.

- "PurposeEKU" is cryptic, please simply "Purpose" or "CertPurpose".
History
Date User Action Args
2013-11-22 17:29:54pitrousetrecipients: + pitrou, gvanrossum, janssen, giampaolo.rodola, christian.heimes
2013-11-22 17:29:54pitrousetmessageid: <1385141394.53.0.308340707133.issue19689@psf.upfronthosting.co.za>
2013-11-22 17:29:54pitroulinkissue19689 messages
2013-11-22 17:29:54pitroucreate