1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-13 10:22:20 +03:00

29 Commits

Author SHA1 Message Date
Peter Eckersley
5943dc7c3d Start implementing some renewal hook flags
Also some refactoring:
  - split renewal out of _auth_from_domains into renewal.renew_cert
  - split main._csr_obtain_cert out of main.obtain_cert
2016-03-25 20:37:12 -07:00
Peter Eckersley
876fecbb83 Merge pull request #2587 from letsencrypt/continuing-continuity-error
More progress on #1304
2016-03-10 13:37:18 -08:00
Brad Warren
bb5d7b37e4 remove error type for nonexistant revoker 2016-03-01 17:36:51 -08:00
Brad Warren
f1e3563f98 remove needlessly specific and unused challenge types 2016-03-01 17:34:01 -08:00
Brad Warren
f2e728cd4e Remove ContAuthError 2016-03-01 17:29:08 -08:00
Peter Eckersley
4f33a4dbb5 Noninteractive iDisplay basic implementation
(no tests or hooks, yet)
2015-12-27 15:24:52 -08:00
sagi
090a9a0e46 add PluginEnhancementAlreadyPresent and use it 2015-11-25 01:56:49 +00:00
Peter Eckersley
d29ab2a523 Make final tweaks for landing #1421 2015-11-09 16:18:51 -08:00
Joona Hoikkala
2ac7a2a9ea Check configuration sanity for domain flag 2015-11-08 20:23:01 +02:00
Jakub Warmuz
3ac4df4f48 Kill dvsni in core 2015-11-07 18:35:41 +00:00
Sharif Nassar
424f4f08b9 Make ./pep8.travis.sh run cleanly
98% whitespace.
2015-10-20 22:24:58 -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
6e69e58402 Make more tests run regardless of local plugin state 2015-10-19 12:03:11 -07:00
Peter Eckersley
8d4f414e09 Move ConfiguratorError to errors.py 2015-10-17 12:47:05 -07:00
Jakub Warmuz
faa6cbdd71 Standalone 2.0 2015-09-26 17:43:59 +00:00
Jakub Warmuz
83185e5553 pep8 letsencrypt 2015-09-06 09:20:11 +00:00
James Kasten
3490935733 Generic ValueError -> CertStorageError 2015-08-04 14:45:03 -07:00
James Kasten
ae4e1d5058 Use a2enmod and update reverter 2015-07-29 23:40:07 -07:00
James Kasten
647caba164 100% configurator coverage 2015-07-24 03:22:35 -07: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
fd333d39bb Merge remote-tracking branch 'github/letsencrypt/master' into 485-cleanup
Conflicts:
	letsencrypt/cli.py
2015-06-27 07:01:58 +00:00
James Kasten
93a9a8b268 ConfiguratorError -> PluginError 2015-06-26 09:29:40 -07:00
Jakub Warmuz
b1b3befd04 Backport #440 CLI changes, clean up after #485
Additonally:
- remove "-s", it will not be used often
- remove --accountkey (former --authkey), as it is not used
- CLI_DEFAULTS: cert_path -> auth_cert_path, chain_path -> auth_chain_path
- remove remaining "LetsEncrypt" error prefixes (fixes #487).
- HeplfulParser:
  - call add_plugin_args from outside (this makes sure plugins are
    displayed last in --help all)
2015-06-26 13:26:09 +00: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
a1e750f432 Errors prefix: do not touch CLI. 2015-06-22 22:45:45 +00:00
Jakub Warmuz
cfa7e28106 errors.LetsEncrypt -> errors. (fixes: #487) 2015-06-22 22:41:24 +00:00
Jakub Warmuz
b4d63cbbb3 Move letsencrypt.network to acme.client. 2015-06-22 04:52:08 +00:00
Jakub Warmuz
41e86df252 Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00