schoen
b80ac49a04
Merge pull request #232 from letsencrypt/standalone_authenticator
...
Standalone authenticator
2015-02-10 18:01:35 -08:00
Seth Schoen
9cc7b0945b
raise ValueError instead of raw Exception
2015-02-10 17:51:49 -08:00
James Kasten
4d7a673887
refactor client.namedtuples to le_util
...
Conflicts:
letsencrypt/client/client.py
letsencrypt/client/le_util.py
letsencrypt/client/tests/apache/dvsni_test.py
letsencrypt/client/tests/challenge_util_test.py
2015-02-10 17:06:25 -08:00
James Kasten
9beded8cfb
fix local name changes
2015-02-09 16:04:46 -08:00
Seth Schoen
82617c79b2
Remove two unused import statements
2015-02-09 15:26:46 -08:00
James Kasten
627302e060
Merge branch 'master' into standalone_authenticator
...
Conflicts:
letsencrypt/client/CONFIG.py
letsencrypt/client/tests/apache/dvsni_test.py
letsencrypt/client/tests/challenge_util_test.py
2015-02-09 15:17:43 -08:00
Seth Schoen
b4418f72ff
Improve docstrings
2015-02-09 14:42:16 -08:00
James Kasten
f476a49387
Fix #220
2015-02-09 14:39:49 -08:00
Seth Schoen
2591abd535
Change assertion to a ValueError in signal handler
2015-02-09 14:25:18 -08:00
Seth Schoen
d8fd3e4e61
Reorganizing import statements
2015-02-09 14:23:09 -08:00
Seth Schoen
93bc90203a
Use hanging indent style in several places
2015-02-09 12:22:47 -08:00
Seth Schoen
314dea3f5a
Change Key to le_util.Key
2015-02-09 12:05:59 -08:00
Seth Schoen
a543925e64
Some formatting fixes
2015-02-09 11:57:50 -08:00
Seth Schoen
3f250084b0
Sorting import statements
2015-02-09 10:06:24 -08:00
Seth Schoen
52ae977fb7
Sort imports lexicographically
2015-02-09 10:03:23 -08:00
Seth Schoen
275d3e3da5
Document and test start_listener() return value
2015-02-09 10:00:01 -08:00
Seth Schoen
470cad14ad
Add missing return statements in start_listener()
2015-02-09 09:54:33 -08:00
Seth Schoen
6d0a14a0e5
Rename CONFIG.PORT to STANDALONE_CHALLENGE_PORT
2015-02-09 09:48:05 -08:00
Seth Schoen
56a60d0acf
Move imports to top of unit test file
2015-02-09 09:44:49 -08:00
Seth Schoen
1c6865c329
Move abbreviated DVSNI code into a separate branch
2015-02-09 09:35:37 -08:00
Seth Schoen
b324f9d912
Python 2.6 .format() requires parameter in format string
2015-02-08 21:15:49 -08:00
Seth Schoen
3453db0985
Eliminate use of Python 2.7-specific unittest features
2015-02-08 21:04:54 -08:00
Seth Schoen
f6e192bfaf
Remove redundant import of client
2015-02-08 17:26:18 -08:00
Seth Schoen
30c11920d9
Tests to follow new convention for subproc_state
2015-02-08 11:09:02 -08:00
Seth Schoen
76fb3b54e2
Satisfy pylint on various points
2015-02-08 11:06:04 -08:00
Jakub Warmuz
a0c184f292
Update docs references for constants.ENHANCEMENTS
2015-02-07 22:36:44 +00:00
Jakub Warmuz
4b6baae8b8
Merge remote-tracking branch 'github/letsencrypt/master' into config
2015-02-07 22:32:38 +00:00
Seth Schoen
50a6a28e73
Exclude tls_parse_client_hello from coverage
...
(As an alternative to commenting out this function, which is currently
totally unused. The function does have tests; they just don't cover
the failure cases.)
2015-02-06 19:02:17 -08:00
Seth Schoen
4b8eae1084
Small changes to try to make pylint happier
2015-02-06 16:12:37 -08:00
Seth Schoen
52d1989850
Complete move of Key into le_util
2015-02-06 15:54:08 -08:00
Seth Schoen
31b1369752
Improve coverage for perform() error cases
2015-02-06 15:28:27 -08:00
Seth Schoen
5a9e394827
Test trying to perform challenges with others pending
2015-02-06 15:25:12 -08:00
Seth Schoen
65de5fa71e
Further improvements to test coverage
2015-02-06 15:21:00 -08:00
Seth Schoen
b61708c47f
Improving test coverage
2015-02-06 15:08:48 -08:00
Seth Schoen
ee8e4343bc
Reformat continuation indentations
2015-02-06 14:46:45 -08:00
Seth Schoen
53f3f19f6d
Check invalid cases for pack and unpack functions
2015-02-05 15:57:10 -08:00
Seth Schoen
8997248abb
Use caller-specified TCP port no. in UI messages
2015-02-05 13:14:03 -08:00
Seth Schoen
db3c98b45a
Adding some docstrings
2015-02-05 13:03:20 -08:00
Seth Schoen
7c39e36c5a
Merge branch 'master' into standalone_authenticator
2015-02-05 12:53:55 -08:00
Seth Schoen
ef34c06c8f
Convert two assertions to exceptions
2015-02-04 23:26:10 -08:00
Seth Schoen
41284ffc0a
Let tests specify how long parent waits for child process
2015-02-04 22:36:24 -08:00
Seth Schoen
ff3c0c6689
Comment out debug print statement
2015-02-04 22:33:40 -08:00
Seth Schoen
3d2f564478
Replace some call_counts with more specific assertions
2015-02-04 22:32:27 -08:00
Seth Schoen
f9b0d8d0bf
Add unit tests for listener child process
2015-02-04 22:17:11 -08:00
Jakub Warmuz
f910b7ee6b
Remove unused import
2015-02-04 16:40:57 +00:00
Jakub Warmuz
e9512e5a46
Add tests and docs for IConfig/NamespaceConfig
2015-02-04 16:38:13 +00:00
Seth Schoen
e9b67ff6f9
Several more unit tests for StandaloneAuthenticator
2015-02-03 17:59:35 -08:00
Seth Schoen
63bf55a748
Split out parent and child listeners into methods
2015-02-03 15:51:37 -08:00
Seth Schoen
191b0d7be4
Add unit test for tls_generate_cert_msg
2015-02-03 14:23:41 -08:00
Jakub Warmuz
207bd6c31c
IConfig attributes. config/args separation
2015-02-03 12:16:55 +00:00