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
Jakub Warmuz
d970987b79
Fix comment typo
2015-06-22 20:30:17 +00:00
Jakub Warmuz
52d6e9b674
acme-spec#118 revoke.
2015-06-22 20:26:52 +00:00
Jakub Warmuz
1720864b44
acme.client: locally disable too-many-instance-attributes.
2015-06-22 19:55:47 +00:00
Jakub Warmuz
b4d63cbbb3
Move letsencrypt.network to acme.client.
2015-06-22 04:52:08 +00:00
Jakub Warmuz
a278d53f52
Rename messages2 to messages.
2015-06-22 04:52:08 +00:00
Jakub Warmuz
aa6faadb5c
Add ChallangeResponseTest
2015-06-22 04:52:08 +00:00
Jakub Warmuz
c208e810ee
Remove old messages schemata.
2015-06-22 04:52:07 +00:00
Jakub Warmuz
c5d4f91bf7
Remove old messages and network
2015-06-22 04:52:07 +00:00
Jakub Warmuz
8afc26a736
Fix typo
2015-06-19 04:10:51 +00:00
Jakub Warmuz
896d2be1db
SimpleHTTP.tls -> SimpleHTTPResponse.tls bug, MAX_PATH_LEN, good_path, scheme
2015-06-14 17:32:25 +00:00
Jakub Warmuz
d53120f25f
Fix SimpleHTTP tests and omitempty bug.
2015-06-12 09:21:30 +00:00
Jakub Warmuz
bc9373929a
Add SimpleHTTP.tls
2015-06-12 08:23:43 +00:00
Jakub Warmuz
7f5abba83e
Rename SimpleHTTPS to SimpleHTTP.
2015-06-12 08:23:32 +00:00
Jakub Warmuz
fd39479810
Add an anti-replay nonce facility ( fixes : #488 ).
2015-06-11 12:21:26 +00:00
Seth Schoen
58156a29d3
Fix typos
2015-05-19 17:06:06 -07:00
Jakub Warmuz
ac0868b6de
acme.messages2.Error title is omitempty
2015-05-19 20:13:55 +00:00
Jakub Warmuz
cd6b9bc9c7
Fix coverage for acme.messages2.Error
2015-05-19 20:09:11 +00:00
Jakub Warmuz
0018bc0500
Error: typ/title no omitempty
2015-05-19 19:50:00 +00:00
Jakub Warmuz
41115bfc77
Spec and Boulder compatibility fixes.
...
Relevant acme-spec:
- https://github.com/letsencrypt/acme-spec/issues/127
- https://github.com/letsencrypt/acme-spec/pull/119
- https://github.com/letsencrypt/acme-spec/issues/98
- https://github.com/letsencrypt/acme-spec/issues/92
Relevant boulder:
- https://github.com/letsencrypt/boulder/pull/170
- https://github.com/letsencrypt/boulder/issues/128
2015-05-19 19:42:53 +00:00
Jakub Warmuz
c7aff67132
Merge branch 'bugs/402' into pkgs_sep_prep
2015-05-10 19:18:27 +00:00
Jakub Warmuz
b4c747a283
Merge branch 'bugs/402' into pkgs_sep_prep
...
Conflicts:
letsencrypt/tests/client_test.py
tox.ini
2015-05-10 17:56:41 +00:00
Jakub Warmuz
41e86df252
Move letsencrypt.client to letsencrypt
2015-05-10 12:32:05 +00:00
Jakub Warmuz
3a6bd7123d
Move acme to top-level
2015-05-10 12:26:17 +00:00