Commit graph

57 commits

Author SHA1 Message Date
Amjad Mashaal
a8350ce04a Refining code and documentation 2016-03-21 23:43:38 +02:00
Amjad Mashaal
6f25005559 Adding tests 2016-03-21 01:12:59 +02:00
Amjad Mashaal
4d6a1ee7ff Cleaning up code based on bmw's comments 2016-03-17 16:24:24 +02:00
Amjad Mashaal
97dba025cf Logging failed domains 2016-03-16 00:37:39 +02:00
Amjad Mashaal
4c07feef70 Fixing conflicts 2016-03-14 13:54:31 +02:00
Brad Warren
4a208d4821 remove stray references to DV challs in auth_handler 2016-03-01 17:53:59 -08:00
Brad Warren
b0280ac17e no PoP or RC in auth_handler 2016-03-01 17:25:05 -08:00
Brad Warren
8266dde2bb clean up references to dv_challs and dv_auth 2016-03-01 15:13:58 -08:00
Amjad Mashaal
de31ece45a Fixing styling and naming issues 2016-02-27 14:35:24 +02:00
Brad Warren
f1eacc7461 simplify code when no combos in authzr 2016-02-26 15:32:11 -08:00
Brad Warren
a2e8c5bde8 Remove cont_auth from auth_handler 2016-02-26 13:01:58 -08:00
TheNavigat
d38828751f Fixing tests 2016-02-12 15:57:19 +02:00
TheNavigat
acc4f52745 Fixing integration testing 2016-02-12 14:25:59 +02:00
TheNavigat
fc2c907261 Fixing tox cover 2016-02-12 14:25:59 +02:00
TheNavigat
b68c5ace0c Creating CSR after auth 2016-02-12 14:23:58 +02:00
Brad Warren
5ef3e5399d Add webroot help to connection message 2016-02-08 14:06:34 -08:00
Brad Warren
72dfaea434 Fix ACME error reporting regression 2016-02-08 13:35:54 -08:00
TheNavigat
acb4cbd432 Fixing parameter type for get_authorizations domains parameter 2016-02-05 18:57:52 +02:00
Jacob Hoffman-Andrews
0a04efe40c Fix lint error and remove extra format() 2016-01-05 17:23:32 -08:00
Jacob Hoffman-Andrews
4adc282631 Fix formatting of error messages. 2016-01-05 11:02:58 -08:00
Jacob Hoffman-Andrews
f7fad9a4af Show error detail to the user.
Previously this code would show the user a hardcoded message based on the error
type, but it's much more useful to show the error detail field, which often
helps debug the problem.
2016-01-05 10:51:59 -08:00
Jakub Warmuz
3ac4df4f48
Kill dvsni in core 2015-11-07 18:35:41 +00:00
Jakub Warmuz
581a701cd1
Kill simpleHttp in core 2015-11-01 11:01:22 +00:00
Jakub Warmuz
5ef2507b0c
KeyAuthorizationAnnotatedChallenge 2015-11-01 11:01:22 +00:00
Steve Desmond
edabce9a96 improved language consistency in error/help messages 2015-10-30 14:47:23 -04:00
Liam Marshall
335cf82f13 Remove AAAA record check suggestion
Boulder doesn't support ipv6 validation, so don't confuse people
by asking them to check their AAAA record(s).
2015-10-25 18:06:25 -05:00
Brad Warren
a643289662 Updated todos 2015-10-19 19:13:48 -07:00
Brad Warren
4da0e17255 Added message and changed reporter interface 2015-09-28 15:45:31 -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
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
Brad Warren
1d7f252b35 Changes account in achalls to account_key 2015-08-11 13:22:03 -07:00
Jakub Warmuz
bac5a564db
Passing core/Boulder@370d296 integration testing. 2015-07-31 21:31:58 +00:00
Jakub Warmuz
c1cd2e173d
Merge remote-tracking branch 'github/letsencrypt/master' into update-challenges 2015-07-25 12:11:27 +00:00
Jakub Warmuz
e0651ad050
Remove Recovery Token. 2015-07-25 12:00:04 +00:00
Jakub Warmuz
9e2682a025
100% coverage for manual test mode and related code. 2015-07-19 11:04:29 +00:00
Jakub Warmuz
3825633f46
Merge remote-tracking branch 'github/letsencrypt/master' into manual-integration
Conflicts:
	letsencrypt/auth_handler.py
2015-07-19 07:49:32 +00:00
Jakub Warmuz
735bd924bf
Update letsencrypt to DVSNI v03 (fixes #597). 2015-07-17 17:44:35 +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
74ce332b5a
Manual SimpleHTTP integration tests. 2015-07-03 09:49:14 +00:00
Jakub Warmuz
4ce4e2f930
logger = logging.getLogger(__name__) 2015-06-25 19:55:22 +00:00
Brad Warren
d15a386f92 Incorporated jdkasten's feedback 2015-06-24 18:24:54 -07:00
Brad Warren
9637142c4c Added auth_handler tests 2015-06-24 15:27:34 -07:00
Brad Warren
8f760cf828 Cleaned up multiline statements 2015-06-24 11:51:50 -07:00
Brad Warren
512e02c837 Added reporter messages for failed challenges. 2015-06-24 11:46:39 -07: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
457279adb2
Add errors.FailedChallenges and update AuthHandler to use it. 2015-06-23 20:10:20 +00:00
Jakub Warmuz
57f67c4109
Rewrap after errors rename, doc fixes. 2015-06-22 22:43:42 +00:00
Jakub Warmuz
cfa7e28106
errors.LetsEncrypt -> errors. (fixes: #487) 2015-06-22 22:41:24 +00:00