Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS ABC PEP draft #1

Open
wants to merge 73 commits into
base: master
Choose a base branch
from
Open
Changes from 42 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
2978222
Shell of PEP.
Lukasa Oct 17, 2016
b7bc617
Fix typo.
Lukasa Oct 21, 2016
fd9498e
Define ServerContext and ClientContext.
Lukasa Oct 28, 2016
d867cd6
Support specific TLS versions.
Lukasa Oct 28, 2016
a7c3670
Define a type for ALPN tokens.
Lukasa Oct 28, 2016
b86e865
Typing, how do we do it?
Lukasa Oct 28, 2016
50506a2
Simple human-operated compression algorithm
Lukasa Oct 28, 2016
7db0909
What about HSMs?
Lukasa Oct 28, 2016
b1c6ed6
Allow disabling cert validation.
Lukasa Oct 28, 2016
5068be3
Remove prohibition on throwing exceptions.
Lukasa Jan 12, 2017
5932e48
Remove duplicate method signatures from _BaseContext.
Lukasa Jan 12, 2017
f19c2cf
Client/ServerContext inherit from _BaseContext
Lukasa Jan 12, 2017
8f02f0e
Add unwrap() and shutdown() methods.
Lukasa Jan 12, 2017
9221752
Add abstract Certificate and PrivateKey classes.
Lukasa Jan 12, 2017
31466f1
Fix the return type of PrivateKey constructors
Lukasa Jan 12, 2017
8a71a81
Split read/read_into and clarify.
Lukasa Jan 13, 2017
9f05a36
Stop allowing string passwords.
Lukasa Jan 13, 2017
d986d3b
Make NextProtocols an enum
Lukasa Jan 13, 2017
acb33cc
Move set_sni_callback to ServerContext.
Lukasa Jan 13, 2017
5a44e30
Add support for trust stores.
Lukasa Jan 13, 2017
d0a871b
Classmethods don't get self, they get cls.
Lukasa Jan 13, 2017
7ff2a4a
Add cipher suite configuration section.
Lukasa Jan 19, 2017
314eee4
Define Configuration object.
Lukasa Jan 19, 2017
8a2351c
Make the TLSConfiguration immutable.
Lukasa Jan 19, 2017
11dbe47
Refactor the SNI callback with Configuration.
Lukasa Jan 19, 2017
abbabe4
Update SChannel section.
Lukasa Jan 19, 2017
58ba063
All lists must become tuples.
Lukasa Jan 19, 2017
ce74bc6
Make notes about hashability.
Lukasa Jan 19, 2017
71dcf7e
We don't define only abstract classes now.
Lukasa Jan 20, 2017
5883122
Fix some typos.
Lukasa Jan 20, 2017
546e4c8
server_hostname no longer has a default value
Lukasa Jan 20, 2017
cab2797
Servers do accept(), not connect()
Lukasa Jan 20, 2017
0f605b5
We call it readinto, not read_into.
Lukasa Jan 20, 2017
066df96
Note backward-compat guarantees of TLSConfiguration
Lukasa Jan 22, 2017
d5bb4e0
Explain we have two context classes.
Lukasa Jan 25, 2017
b90be4d
Allow buffer objects and file objects.
Lukasa Jan 25, 2017
a6e91ad
Remove TODO section.
Lukasa Jan 25, 2017
56407af
Define an API for runtime access to concrete classes
Lukasa Jan 25, 2017
1baaa46
Actually use RST markup.
Lukasa Jan 25, 2017
59ca356
Slightly extend the "Future" section.
Lukasa Jan 25, 2017
2b6d43e
Mention exception aliasing.
Lukasa Jan 27, 2017
384e9bc
Un-mess-up SecureTransport and SChannel.
Lukasa Feb 2, 2017
7f9a057
Both -> all three
Lukasa Feb 2, 2017
b8472bf
Note that urllib also requires amendment.
Lukasa Feb 2, 2017
dc765ff
Fixup unbalanced parentheses
Lukasa Feb 2, 2017
b779fde
Fix a number of typos
Lukasa Feb 2, 2017
9524fe4
Update the sni_callback docstring.
Lukasa Feb 2, 2017
d84927c
Fix the TLSVersion enum
Lukasa Feb 2, 2017
739364b
Add a note regarding the type hints.
Lukasa Feb 2, 2017
04c2034
Turns out I don't know how to type declare
Lukasa Feb 2, 2017
d6d7ef9
Class method constructors cannot have return types
Lukasa Feb 2, 2017
37bd8c0
Explain ragged EOFs
Lukasa Feb 2, 2017
551bb23
Typos, typos everywhere.
Lukasa Feb 2, 2017
09082d0
Explain why we have no default for server_hostname
Lukasa Feb 3, 2017
3ddedf4
Explain how NSS deals with cipher suites
tiran Feb 4, 2017
bb7e19b
Merge pull request #2 from tiran/ssl-abc-nss
Lukasa Feb 4, 2017
159325b
More discussion of WantRead/WantWrite error
Lukasa Feb 5, 2017
4a72c04
Require amt in read and readinto
Lukasa Feb 5, 2017
36d2996
Remote auto_handshake.
Lukasa Feb 5, 2017
12ea3df
Add CipherSuite enum
tiran Feb 5, 2017
796eaa0
Note that reusing is bad.
Lukasa Feb 5, 2017
25d47d4
Merge pull request #3 from tiran/ciphersuites
Lukasa Feb 5, 2017
f95f2a7
Explain ST to cipher enum interaction.
Lukasa Feb 6, 2017
5655558
Turns out I don't know how auto works
Lukasa Feb 6, 2017
a58fd09
Accept ints as cipher suites.
Lukasa Feb 6, 2017
638492a
Refactor TLSWrappedBuffer
Lukasa Feb 6, 2017
3ee7c62
Missed this paragraph.
Lukasa Feb 9, 2017
3cd8f40
Define the socket in terms of the buffers.
Lukasa Feb 9, 2017
1f07c04
Promote @tiran to co-author.
Lukasa Feb 9, 2017
33a4514
Provide credits.
Lukasa Feb 9, 2017
8019c43
More crediting.
Lukasa Feb 9, 2017
6c14c3d
Add note for SChannel cipher choices.
Lukasa Feb 13, 2017
06bc39c
Cleanup PEP header
Lukasa Feb 13, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading