Brad Warren
2bedd57aa9
Merge branch 'master' into storage_paranoia
2015-10-22 13:01:20 -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
aa4641b3b0
--agree-dev-preview
...
`git grep -i eula` to the rescue
2015-10-20 19:33:27 +00:00
bmw
85e6f50f68
Merge pull request #1020 from letsencrypt/report_csr_expiry
...
Report expiration when using a CSR
2015-10-20 09:41:48 -07:00
Peter Eckersley
cb2ac71d1e
Merge pull request #1001 from letsencrypt/cli
...
Implement --apache and --nginx; improve configurator errors
2015-10-19 20:09:47 -07:00
Peter Eckersley
363dffd8a6
Comment out a test that requires slightly doubtful infrastructure
2015-10-19 19:51:02 -07:00
Peter Eckersley
484e8ef6fe
Not trying to mock out plugins just yet
2015-10-19 19:11:05 -07:00
Peter Eckersley
6e69e58402
Make more tests run regardless of local plugin state
2015-10-19 12:03:11 -07:00
Peter Eckersley
63f4f11360
Test "install --nginx" w/ misconfiguration
2015-10-18 11:05:58 -07:00
Peter Eckersley
995c1dfb83
More sphinxiness, more clarity
2015-10-18 11:05:46 -07:00
Peter Eckersley
d6345a47c5
Fix some bugs & immprove test cases
2015-10-18 02:34:24 -07:00
Brad Warren
888d553db8
Merge branch 'master' into storage_paranoia
2015-10-17 17:27:04 -07:00
Brad Warren
e2e7acf4c4
Use actual CSR path
2015-10-17 16:30:54 -07:00
Brad Warren
975ffc5103
Updated cli and cli_test
2015-10-17 14:48:24 -07:00
Peter Eckersley
a841c4fc5d
More nits
2015-10-17 13:13:00 -07:00
Peter Eckersley
f0faf91b82
lint!
2015-10-16 18:34:57 -07:00
Peter Eckersley
57e15c52d7
Test actually works now :)
2015-10-16 18:28:38 -07:00
Peter Eckersley
36432e35f7
keep cover happy
2015-10-16 18:19:22 -07:00
Brad Warren
68ed333fc0
Quick fix
2015-10-14 21:07:40 -07:00
Brad Warren
0e6d652ce3
Move ConfigObj parsing inside of RenewableCert.__init__
2015-10-13 18:25:31 -07:00
Peter Eckersley
c7732114cb
Only test CLI for nginx plugin if it is present
...
- Fixes 919
2015-10-13 14:50:23 -07:00
Liam Marshall
d5ebc38b33
Fix pep8 warnings (down to only one now!)
2015-10-04 20:39:19 -05:00
Peter Eckersley
43cb36807a
Also test top level help
2015-09-30 17:00:09 -07:00
Peter Eckersley
11ca1108c2
Test cases for command line help
2015-09-30 16:53:08 -07:00
Peter Eckersley
2406fc0486
Go back to VERBS as a list
...
The dictionary was destroying the ordering, which was important.
2015-09-30 16:07:16 -07:00
Peter Eckersley
2d578468bd
Use a verb -> function table instead of eval()
...
- plugins_cmd() not plugins() broke the more minimalist eval() approach
- more wrangling was required to mock out calls via the VERBS table
2015-09-30 12:32:44 -07:00
Peter Eckersley
2297349b95
lintian
2015-09-29 16:56:36 -07:00
Peter Eckersley
4437ec5586
Merge remote-tracking branch 'origin/master' into subargs
2015-09-29 14:49:32 -07:00
Peter Eckersley
05d439a339
Update cli tests
...
We don't expect to error out if called with no args
2015-09-29 14:48:40 -07:00
Brad Warren
312057b1b8
changes += kuba_feedback
2015-09-29 12:54:52 -07:00
Brad Warren
ed7977fb03
Added cli tests
2015-09-28 18:45:12 -07:00
James Kasten
8dc345a3a0
address naming conventions
2015-09-26 16:04:44 -07:00
James Kasten
e8611d299a
Cleanup formatting issues
2015-09-16 13:23:46 -07:00
James Kasten
f582a85314
mock out make_or_verify
2015-09-16 13:03:42 -07:00
James Kasten
23edd48d5a
minor fixes
2015-09-15 23:34:00 -07:00
James Kasten
0b8009529b
Basic removal of duplicate code through using a base class
2015-09-15 17:58:31 -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
Seth Schoen
7b5b182f77
Test for _find_duplicative_certs
2015-09-10 14:59:29 -07:00
Jakub Warmuz
83185e5553
pep8 letsencrypt
2015-09-06 09:20:11 +00:00
Jakub Warmuz
15f443dced
assert_called_once -> assertEqual(1, *.call_count)
2015-07-10 06:42:02 +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
Brad Warren
13913fd8e0
Added traceback dump
2015-06-30 12:57:51 -07:00
Brad Warren
85b5bc0cb2
Reimplemented exception handling
2015-06-29 17:31:48 -07:00
James Kasten
e0fd6ee018
Merge pull request #565 from bradmw/traceback
...
Tracebacks and Forks
2015-06-29 08:52:14 -07:00
Jakub Warmuz
fd333d39bb
Merge remote-tracking branch 'github/letsencrypt/master' into 485-cleanup
...
Conflicts:
letsencrypt/cli.py
2015-06-27 07:01:58 +00:00
Brad Warren
88507fea87
Stopped catching silly things
2015-06-26 18:07:40 -07:00
Brad Warren
95a1432476
Come on Python 2.6...
2015-06-26 16:40:59 -07:00
Brad Warren
d6246ae309
Special cased KeyboardInterrupt
2015-06-26 16:09:46 -07:00