Peter Eckersley
5709eacec4
Merge remote-tracking branch 'origin/master' into kuba_chain
2015-09-15 18:33:16 -07:00
James Kasten
d367694dc3
pep8 fixes
2015-09-15 18:09:00 -07:00
James Kasten
0b8009529b
Basic removal of duplicate code through using a base class
2015-09-15 17:58:31 -07:00
Peter Eckersley
bde5a1fe17
Merge branch 'treat_duplicate_as_renewal' into kuba_chain
2015-09-15 17:51:58 -07:00
Seth Schoen
a38bb41856
PR cleanup
2015-09-11 13:49:26 -07:00
Seth Schoen
791825151a
Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into treat_duplicate_as_renewal
2015-09-11 00:42:35 -07:00
Jakub Warmuz
33c2aed021
Merge remote-tracking branch 'github/letsencrypt/master' into lint
2015-09-11 07:15:10 +00:00
Seth Schoen
7b5b182f77
Test for _find_duplicative_certs
2015-09-10 14:59:29 -07:00
Jakub Warmuz
491b7a7cde
Fix multi-cert chains in renewer
2015-09-10 21:48:34 +00:00
Jakub Warmuz
62a9556bd2
Add unittest for save_certificate
2015-09-10 21:20:48 +00:00
Jakub Warmuz
bf754b6302
Add ACME Directory Resource
2015-09-09 17:22:20 +00:00
Seth Schoen
7aa9fe845a
Basic fix for #411
2015-09-08 01:33:03 -07:00
Jakub Warmuz
83185e5553
pep8 letsencrypt
2015-09-06 09:20:11 +00:00
Jakub Warmuz
138f1d1b28
lint: space check for dict-separator
2015-09-06 08:30:49 +00:00
James Kasten
d8663fbbc0
Fix #690
2015-08-17 11:30:39 -07:00
Brad Warren
0aaf9f2be7
Updated tests to update challenge changes
2015-08-13 18:41:49 -07:00
Brad Warren
1d7f252b35
Changes account in achalls to account_key
2015-08-11 13:22:03 -07:00
Brad Warren
14c150ae17
Fixed unit tests and lint
2015-08-05 15:39:31 -07:00
Brad Warren
cfabfa1a67
Merge remote-tracking branch 'kuba/update-challenges' into update-challenges
2015-08-04 16:57:53 -07:00
James Kasten
3088a18f05
finish renewer error handling
2015-08-04 14:54:19 -07:00
Brad Warren
5ae2bd06cf
Merged in master
2015-08-03 18:32:32 -07:00
James Kasten
f71119681c
Address most of first round of comments
2015-07-30 23:14:58 -07:00
James Kasten
47be104e2b
Update pick_plugin tests based on misconfigured single plugin
2015-07-30 01:37:05 -07:00
James Kasten
ae4e1d5058
Use a2enmod and update reverter
2015-07-29 23:40:07 -07:00
Jakub Warmuz
e0651ad050
Remove Recovery Token.
2015-07-25 12:00:04 +00:00
James Kasten
98b7627e18
Merge branch 'master' into apache_modules
2015-07-24 17:07:16 -07:00
James Kasten
aecb7b71d7
100% Augeas Configr unittests
2015-07-23 14:51:07 -07:00
Brad Warren
c927f0c89a
Finished basic Apache test framework
2015-07-22 18:25:09 -07:00
Brad Warren
303f7ffe32
Added validator code
2015-07-22 13:47:09 -07:00
Jakub Warmuz
00298173a2
Merge branch 'dvsni-verify' into dvsni-v03
...
Conflicts:
acme/acme/challenges.py
acme/acme/challenges_test.py
letsencrypt/achallenges.py
letsencrypt/crypto_util.py
letsencrypt/plugins/common.py
letsencrypt/tests/achallenges_test.py
2015-07-18 17:58:22 +00:00
Jakub Warmuz
61e19c9882
DVSNIResponse.gen_cert, fix verify_cert, add tests.
2015-07-18 12:54:33 +00:00
Jakub Warmuz
735bd924bf
Update letsencrypt to DVSNI v03 ( fixes #597 ).
2015-07-17 17:44:35 +00:00
Jakub Warmuz
d7d98d79ce
please pylint
2015-07-13 20:24:16 +00:00
Jakub Warmuz
c2a8195f19
Move _pyopenssl_cert_or_req_san to acme.
2015-07-13 11:02:27 +00:00
Jakub Warmuz
b9df69af9f
Basic dev/test setup for separate package subdirectories.
2015-07-10 16:38:42 +00:00
Jakub Warmuz
b0c72410ba
Unified vector loading in letsencrypt.
2015-07-10 15:49:18 +00:00
Jakub Warmuz
19c73249ca
Sort vectors: acme/testdata, separate acme and letsencrypt.
2015-07-10 15:16:48 +00:00
Jakub Warmuz
1d35946b4e
Fix PickPluginTest.test_no_defaults.
2015-07-10 06:51:09 +00:00
Jakub Warmuz
15f443dced
assert_called_once -> assertEqual(1, *.call_count)
2015-07-10 06:42:02 +00:00
Jakub Warmuz
56d8c60df6
Fix letsencrypt.tests.client_test.
2015-07-10 06:24:06 +00:00
Jakub Warmuz
0c46f80fdd
assert_callend_once -> assert_called_once
2015-07-10 05:44:21 +00:00
Jakub Warmuz
30a02d4487
Accounts: raise AccountStorageError on id mismatch (instead of assertion).
...
This allows find_all() to skip broken account, instead of failing with
AssertionError.
2015-07-10 05:34:33 +00:00
Jakub Warmuz
f4d5ce1986
Include Account.id in the Account.slug.
2015-07-10 05:27:01 +00:00
Jakub Warmuz
f24479ebfc
100% coverage for letsencrypt.account.
2015-07-10 05:17:24 +00:00
Jakub Warmuz
581875bde3
Account.id: use key md5 hexdigest.
2015-07-10 05:14:50 +00:00
Jakub Warmuz
5e450e879c
Save account private_key.json as 0o400.
2015-07-09 11:33:02 +00:00
Jakub Warmuz
0d24f52f6e
Expose le_util.safe_open.
2015-07-09 11:14:25 +00:00
Jakub Warmuz
1bc9e7cb64
Registration: drop singular email/phone
2015-07-09 06:53:06 +00:00
Jakub Warmuz
7dc64e0387
Rewrite acccounts and registration.
...
Save accounts to:
/etc/letsencrypt/accounts/www.letsencrypt-dmeo.org/acme/new-reg/ \
kuba.le.wtf@2015-07-04T14:04:10Z/ \
{regr.json,meta.json,private_key.json}
Account now represents a combination of private key, Registration
Resource and client account metadata. `Account.id` based on the
account metadata (creation host and datetime). UI interface
(`cli._determine_account`) based on the `id`, and not on email as
previously.
Add `AccountStorage` interface and `AccountFileStorage`,
`AccountMemoryStorage` implementations (latter, in-memory, useful for
testing).
Create Account only after Registration Resource is received
(`register()` returns `Account`).
Allow `client.Client(..., acme=acme, ...)`: API client might reuse
acme.client.Client as returned by `register()`.
Move report_new_account to letsencrypt.account, client.Client.register
into client.register.
Use Registration.from_data acme API.
achallenges.AChallenge.key is now the `acme.jose.JWK`, not
`le_util.Key`. Plugins have to export PEM/DER as necessary
(c.f. `letsencrypt.plugins.common.Dvsni.get_key_path`)
Add --agree-tos, save --agree-eula to "args.eula". Prompt for EULA as
soon as client is launched, add prompt for TOS.
Remove unnecessary letsencrypt.network. Remove, now irrelevant,
`IConfig.account_keys_dir`.
Based on the draft from
https://github.com/letsencrypt/letsencrypt/pull/362#issuecomment-97946817 .
2015-07-09 06:43:45 +00:00
Jakub Warmuz
0d087788da
Accept new_reg in acme.client.Client.register.
2015-07-08 19:23:12 +00:00