Jakub Warmuz
bfe6adf215
py3 compat
2015-07-13 20:19:32 +00:00
Jakub Warmuz
deacfc8a74
Merge remote-tracking branch 'github/letsencrypt/master' into dvsni-verify
2015-07-13 19:27:13 +00:00
Jakub Warmuz
c546dddd7f
Add DVSNIResponse.verify_cert.
2015-07-13 19:26:26 +00:00
Jakub Warmuz
9f31976928
Add acme.crypto_util._serve_sni and ServeProbeSNITest.
2015-07-13 19:26:25 +00:00
Jakub Warmuz
c2a8195f19
Move _pyopenssl_cert_or_req_san to acme.
2015-07-13 11:02:27 +00:00
Jakub Warmuz
ccc6a3212b
Simple DVSNI verification
2015-07-12 19:11:55 +00:00
Jakub Warmuz
1bb6763595
acme: Update DVSNI to v03.
2015-07-12 17:23:37 +00:00
Jakub Warmuz
5859e87ced
b64encode: no support for bytearray (py2.6 problems)
2015-07-12 15:20:25 +00:00
Jakub Warmuz
c0ba26776a
Support for py3.3+ in acme
2015-07-12 11:53:18 +00:00
Jakub Warmuz
a876a664df
Add py3 tox tests for acme.jose
2015-07-12 11:37:56 +00:00
Jakub Warmuz
802b9d4a43
Support for py3.3+ in acme.jose.
2015-07-12 11:37:56 +00:00
Jakub Warmuz
b9df69af9f
Basic dev/test setup for separate package subdirectories.
2015-07-10 16:38:42 +00:00
Jakub Warmuz
2f9cd68807
Move acme and plugins to respective subdirectories.
...
for x in acme letsencrypt_nginx letsencrypt_apache; do git mv $x _$x; mkdir $x; git mv _$x $x/$x; done
2015-07-10 16:18:15 +00:00
Jakub Warmuz
b0c72410ba
Unified vector loading in letsencrypt.
2015-07-10 15:49:18 +00:00
Jakub Warmuz
0e474436c4
Unified vector loading in acme.
2015-07-10 15:16:58 +00:00
Jakub Warmuz
19c73249ca
Sort vectors: acme/testdata, separate acme and letsencrypt.
2015-07-10 15:16:48 +00:00
James Kasten
cb3863b5fd
Merge pull request #593 from kuba/account-resource-json
...
Rewrite accounts and registration
2015-07-10 00:37:17 -07:00
Jakub Warmuz
15f443dced
assert_called_once -> assertEqual(1, *.call_count)
2015-07-10 06:42:02 +00:00
Jakub Warmuz
517c9bd736
Fix new-regr -> new-reg typo
2015-07-09 19:04:41 +00:00
Jakub Warmuz
35c21d4cf4
Enforce "resource" field in request objects.
...
Corresponds to:
- https://github.com/letsencrypt/boulder/pull/442
- https://github.com/letsencrypt/acme-spec/pull/156
2015-07-09 13:37:25 +00:00
Jakub Warmuz
1bc9e7cb64
Registration: drop singular email/phone
2015-07-09 06:53:06 +00:00
Jakub Warmuz
0d087788da
Accept new_reg in acme.client.Client.register.
2015-07-08 19:23:12 +00:00
Jakub Warmuz
7470bc8db6
RegistrationResource: return any phone/email from phones/emails or None.
2015-07-08 19:23:06 +00:00
Jakub Warmuz
36eafde213
Use ComparableRSAKey autowrap throughout the code base.
2015-07-08 12:07:05 +00:00
Jakub Warmuz
a7817de4ab
Rewrite JWK.load, JWKRSA autowraps ComparableRSAKey.
2015-07-08 12:00:16 +00:00
Jakub Warmuz
90b27ff9cf
ComparableX509Test for cert and CSR
2015-07-07 17:00:08 +00:00
Jakub Warmuz
9ab40444b6
More Python data model fixes for acme.
2015-07-07 08:15:33 +00:00
Jakub Warmuz
20a08b50f2
ComparableX509 and ComparableX509Req: __eq__, __ne__, __hash__ data model fixes.
2015-07-07 08:05:41 +00:00
Jakub Warmuz
9197fa6b5c
acme: M2Crypto -> pyOpenSSL
2015-07-06 12:18:17 +00:00
Jakub Warmuz
e0293d81f3
acme: drop PyCrypto and use cryptography instead.
...
- Use cryptography in acme.jose.jwa/jwk.
- Change Crypto.Random to os.urandom,
c.f. https://cryptography.io/en/latest/random-numbers/?highlight=urandom
2015-07-05 20:36:20 +00:00
Jakub Warmuz
4407210e01
Fix --no-verify-ssl in HEAD, refactor acme.client_tests.
...
Fix #521 by introducing MissingNonceError, which by shows response
headers when printed to STDOUT. More sensible solution (a'la #523 ) is
blocked by boulder#417 (HTTP 405 response for HEAD).
Split out ClientNetworkWithMockedResponseTest from ClientNetworkTest,
which improves readability and makes it easier to test (less mocks).
2015-07-03 09:46:30 +00:00
Jakub Warmuz
2b32b94c0b
acme.client.ClientNetwork
2015-07-03 09:46:24 +00:00
James Kasten
e140eca4f3
Merge pull request #570 from kuba/simplehttp
...
SimpleHTTP fixes
2015-07-02 09:19:21 -07:00
Jakub Warmuz
2ec451d00b
IConfig.simple_http_port ( fixes #542 ).
2015-06-29 07:58:36 +00:00
Jakub Warmuz
29e56d442f
Fix line-too-long
2015-06-29 07:56:22 +00:00
Jakub Warmuz
ce32de023d
Move simple_http_simple_verify to SimpleHTTPResponse.simple_verify.
2015-06-29 07:56:21 +00:00
Jakub Warmuz
36752a3dab
simpleHttp needs text/plain or absent.
2015-06-29 07:53:28 +00:00
Jakub Warmuz
a0acf7c703
acme.verify.simple_http_simple_verify
2015-06-29 07:50:31 +00:00
Jakub Warmuz
cfbd33809e
Remove acme.util
2015-06-28 09:27:17 +00:00
Jakub Warmuz
4ce4e2f930
logger = logging.getLogger(__name__)
2015-06-25 19:55:22 +00:00
Seth Schoen
d4bdba9726
Merge branch 'acme-spec-158' of https://github.com/kuba/lets-encrypt-preview
...
Resolved conflict in errors.py (LetsEncryptContAuthError renamed
to ContAuthError)
Conflicts:
letsencrypt/errors.py
2015-06-23 15:55:13 -07:00
Jakub Warmuz
4fb1685b55
Update error codes, add "error" field to ChallengeBody (acme-spec#158).
2015-06-23 17:57:11 +00:00
Jakub Warmuz
57f67c4109
Rewrap after errors rename, doc fixes.
2015-06-22 22:43:42 +00:00
James Kasten
655331c9cf
Merge pull request #532 from kuba/logging-without-cli
...
Logging improvements (without touching CLI)
2015-06-22 18:32:47 -04:00
Jakub Warmuz
8e39a3a0ef
Collate multi-line logs, use logging.exception, other fixes.
2015-06-22 22:05:27 +00:00
Jakub Warmuz
28f5c7d666
logs: collate omitted empty fields
2015-06-22 22:05:27 +00:00
Jakub Warmuz
e17bd684bb
Debug log received response for GET/POST
2015-06-22 22:05:27 +00:00
Jakub Warmuz
b6ef25e911
Fix review comments (typo, inheritance fix).
2015-06-22 22:02:43 +00:00
Jakub Warmuz
bff89936af
Merge remote-tracking branch 'github/letsencrypt/master' into acme-resource-json
...
Conflicts:
acme/messages_test.py
2015-06-22 21:03:57 +00:00
Jakub Warmuz
e0a1e8f4e8
JSONDeSerializable acme.messages.Resource.
...
Provides API necessary to implement JSON-based account storage as
described at
https://github.com/letsencrypt/lets-encrypt-preview/pull/362#issuecomment-97946817
2015-06-22 20:41:45 +00:00