1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00
Commit Graph

51 Commits

Author SHA1 Message Date
sagi
7467496984 change enhancement http-header to ensure-http-header 2015-11-24 23:33:21 +00:00
sagi
67e9470179 Merge remote-tracking branch 'upstream/master' into hsts 2015-11-22 18:27:23 +00:00
Brad Warren
3fec57d854 Fixed test 2015-11-20 19:02:50 -08:00
Peter Eckersley
981b9dd3bc Add test case for trying to register without email 2015-11-17 16:06:56 -08:00
Peter Eckersley
6d497b8076 Track recent boulder error change 2015-11-17 16:06:56 -08:00
sagi
58110a69f4 more elegant enhance_config, add --no- flags to hsts and uir 2015-11-17 07:23:19 +00:00
Peter Eckersley
c6bb119d43 Test perform_registration recursion 2015-11-16 17:52:06 -08:00
sagi
1098126b7b tests hsts, redirect and uir 2015-11-16 20:31:49 +00:00
sagi
ddf5b28f7d fix tests and make linter happy 2015-11-16 20:06:16 +00:00
Peter Eckersley
a45de558de Merge remote-tracking branch 'origin/master' into useragent 2015-11-13 01:39:27 -08:00
Brad Warren
7d4beacce8 Added better error messages on redirect failure 2015-11-10 16:59:22 -08:00
Peter Eckersley
8b9a271900 "Really" finalise User Agent tests
- Add an extra test for the default UA string
 - Fixes: get_os_info() is returning a tuple, not a string
 - Workaround: Argument preprocessing is dangerous for test cases
2015-11-10 16:50:58 -08:00
Peter Eckersley
a4885e491a Finish user agent changes:
- revert changes to acme/, instead living with its current baroque API
 - add an extremely mockable test case
2015-11-10 16:50:57 -08:00
Brad Warren
1bb063e870 Corrected crash recovery in client and added tests 2015-11-10 16:03:18 -08:00
Peter Eckersley
baaeab5fa1 Fix lints & glitches 2015-11-09 22:44:26 -08:00
Brad Warren
86d68f6028 fixes #998 2015-11-04 18:32:17 -08:00
bmw
b36be129b6 Merge pull request #1226 from SwartzCr/issue_809
Apache with more than one vhost (fixes #809)
2015-10-30 16:48:33 -07:00
Noah Swartz
fbd09ddbf6 added interesticial saves to apache changes which fixed bug when multiple vhosts were specified 2015-10-30 13:24:55 -07:00
Brad Warren
f13566e5ba Quick refactor 2015-10-22 00:35:52 -07:00
Peter Eckersley
cf5cb9d3ff Satisfy pylint... sort of 2015-10-21 21:16:35 -07:00
Peter Eckersley
ccfeeb9fe5 Fix test cases; along the way, have --csr save fullchain.pem 2015-10-21 21:00:30 -07:00
Jakub Warmuz
5c1858627b pep8 love 2015-10-16 22:25:20 +00:00
Brad Warren
128147af3b Removed misleading renewal messages 2015-10-14 12:28:57 -07:00
Jacob Hoffman-Andrews
dd8c6d6548 Nginx improvements
Add a server_names_hash_bucket_size directive during challenges to fix an nginx
crash on restart (Fixes #922).

Use fullchain instead of chain (Fixes #610).

Implement OCSP stapling (Fixes #937, Fixes #931).

Hide Boulder output in integration tests to make them more readable.
2015-10-11 10:20:08 -07:00
Brad Warren
59348ad30c Made methods private and updated tests 2015-10-01 13:33:22 -07:00
James Kasten
e4771cf500 Merge pull request #814 from letsencrypt/crash_recovery
Crash recovery
2015-09-26 04:25:58 -04:00
James Kasten
b72f451a1b rename certs directory to csr directory 2015-09-25 22:26:32 -07:00
Brad Warren
fd0c51e48a Incorporated Kuba's feedback and better defined corner cases 2015-09-24 16:23:40 -07:00
Brad Warren
2b9f72fc29 Finished basic crash recovery 2015-09-23 15:02:20 -07:00
Peter Eckersley
bde5a1fe17 Merge branch 'treat_duplicate_as_renewal' into kuba_chain 2015-09-15 17:51:58 -07:00
Jakub Warmuz
33c2aed021 Merge remote-tracking branch 'github/letsencrypt/master' into lint 2015-09-11 07:15:10 +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
Jakub Warmuz
83185e5553 pep8 letsencrypt 2015-09-06 09:20:11 +00:00
Jakub Warmuz
b0c72410ba Unified vector loading in letsencrypt. 2015-07-10 15:49:18 +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
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
9197fa6b5c acme: M2Crypto -> pyOpenSSL 2015-07-06 12:18:17 +00:00
Jakub Warmuz
e51f300ee6 Merge remote-tracking branch 'github/letsencrypt/master' into csr
Conflicts:
	letsencrypt/cli.py
	letsencrypt/client.py
	letsencrypt/tests/client_test.py
2015-06-25 13:36:41 +00:00
Jakub Warmuz
e82f605c22 Merge branch '440-no-cli' into 473-no-cli
Conflicts:
	letsencrypt/cli.py
        letsencrypt/renewer.py
2015-06-23 08:17:07 +00:00
Jakub Warmuz
71a01d139c Rename network2 to network. 2015-06-22 04:52:08 +00:00
Jakub Warmuz
8a9759bf88 Update Client.obtain_* docs, simplify obtain_certificate() rtype. 2015-06-16 06:26:44 +00:00
Jakub Warmuz
635e585226 Initial support for "auth --csr" (fixes: #370) 2015-06-15 11:40:17 +00:00
Jakub Warmuz
ad79d7c8b6 Adjust client reports to use RenewerConfiguration. Fix docs. 2015-06-12 17:43:19 +00:00
Brad Warren
2c40cc77fb Added atexit_print_messages test 2015-06-03 12:06:51 -07:00
Brad Warren
9f37a46c92 Added client tests 2015-06-03 11:40:14 -07:00
Jakub Warmuz
b420e2a1da Fix --no-verify-ssl negation bug 2015-06-02 06:58:35 +00:00
Jakub Warmuz
3fd4f2a94a Do not depend on letsencrypt_apache in core tests 2015-05-17 07:52:25 +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