Commit graph

50 commits

Author SHA1 Message Date
schoen
11772b8436 Merge pull request #2708 from letsencrypt/dselect
Add directory_select method to IDisplay
2016-03-25 13:32:34 -07:00
Peter Eckersley
c1844b61c1 Merge remote-tracking branch 'origin/master' into split-plugin-selection 2016-03-23 17:24:17 -07:00
Brad Warren
294ea4d1a6 Add directory_select to NoninteractiveDisplay 2016-03-23 15:29:02 -07:00
Brad Warren
9d70c4acfb Add directory_select method to FileDisplay 2016-03-23 15:11:36 -07:00
Brad Warren
7820c687f1 Use dummy_readline to prevent ImportErrors from readline breaking LE 2016-03-23 13:33:07 -07:00
Brad Warren
f9ac7d789b Add support libedit readline 2016-03-23 11:15:37 -07:00
Brad Warren
74a7d2bed9 Added completer.py and tests for FileDisplay 2016-03-22 18:07:51 -07:00
Brad Warren
95a4a2ca60 display.util_test cleanup 2016-03-21 16:23:21 -07:00
Brad Warren
432a85cd18 Add Ncurses directory_select 2016-03-21 16:19:57 -07:00
Peter Eckersley
6e9d2b7116 Adjust mockery... 2016-03-11 15:59:11 -08:00
Peter Eckersley
1c652716a2 Start splitting out tests for plugins.selection 2016-03-11 15:37:24 -08:00
Peter Eckersley
c6fece8b40 Also move plugin selection logic from display.ops 2016-03-11 15:24:57 -08:00
Peter Eckersley
683bebd56c Lint 2016-03-10 18:31:29 -08:00
bmw
90c7a73146 Merge pull request #2078 from letsencrypt/non-interactive
Implement non-interactive mode for the client.
2016-01-25 18:51:56 -08:00
Peter Eckersley
b75235b3dc Close test coverage gaps
(And fix a bug in one test...)
2016-01-21 15:27:23 -08:00
Peter Eckersley
45f32f9cdc Do not say we've renewed a cert if it was reinstalled 2016-01-20 16:04:06 -08:00
Peter Eckersley
bbb25c7d1b Merge remote-tracking branch 'origin/master' into non-interactive
(Merge conflict due to PEP8iness)
2016-01-15 16:04:38 -08:00
Filip Ochnik
84a0fba774 Properly patch display_util 2016-01-14 23:16:26 +07:00
Peter Eckersley
3c70af7da5 Avoid accidentally mocking noninteractivity 2016-01-09 15:55:54 -08:00
Peter Eckersley
b5828d92ad Test cases for NoninteractiveDisplay
(and one of the associated bugfixes :)
2015-12-30 16:07:25 -08:00
Peter Eckersley
4f33a4dbb5 Noninteractive iDisplay basic implementation
(no tests or hooks, yet)
2015-12-27 15:24:52 -08:00
Joona Hoikkala
5348af6559 Better coverage and test fixes 2015-12-09 15:03:14 +02:00
Joona Hoikkala
64f3d518a4 Test cases for manual domain validation 2015-12-09 13:22:39 +02:00
Joona Hoikkala
0cb80bf753 Better test coverage 2015-12-08 14:23:46 +02:00
Joona Hoikkala
5c8b493eda Whitespace and dot fix 2015-12-08 09:54:56 +02:00
Joona Hoikkala
0fb4f7dc8b Tests for domain validation 2015-12-08 09:32:02 +02:00
Peter Eckersley
7901c59cd0 Merge pull request #1524 from letsencrypt/email
Better UI when asking for email
2015-11-20 19:16:02 -08:00
Brad Warren
52361cc730 Added tests 2015-11-19 22:18:48 -08:00
Peter Eckersley
2d07c017b2 Test cases for get_email 2015-11-16 16:57:48 -08:00
Jakub Warmuz
315b357781
Hide null installer (fixes #789). 2015-09-28 19:08:57 +00:00
James Kasten
c1a959de45 Remove Revocation display 2015-09-25 22:44:33 -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
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
James Kasten
47be104e2b Update pick_plugin tests based on misconfigured single plugin 2015-07-30 01:37:05 -07:00
Jakub Warmuz
b0c72410ba
Unified vector loading in letsencrypt. 2015-07-10 15:49:18 +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
581875bde3
Account.id: use key md5 hexdigest. 2015-07-10 05:14:50 +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
7abff038dc
Display tests: move test_visual to tests/display.py script. 2015-06-28 09:31:42 +00:00
James Kasten
3f2e427a71 Merge pull request #545 from letsencrypt/ssl_labs_urls
Add SSLLab URLs at the end of installation
2015-06-25 14:05:12 -04:00
James Kasten
67f67fea02 Remove trailing whitespace 2015-06-24 14:53:28 -07:00
James Kasten
f8384127c0 Format and fix ssl_labs printout 2015-06-24 10:55:08 -07:00
James Kasten
1cd47d4af3 first pass for ssl labs 2015-06-22 23:23:57 -07: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
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
734868b015
Merge remote-tracking branch 'github/letsencrypt/master' into pkgs_sep_prep 2015-05-10 15:29:04 +00:00
Jakub Warmuz
41e86df252
Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00