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

75 Commits

Author SHA1 Message Date
Brad Warren
c976c0abdf Removed duplicated code 2015-10-01 13:03:23 -07:00
Brad Warren
4da0e17255 Added message and changed reporter interface 2015-09-28 15:45:31 -07:00
James Kasten
523dba0b99 Merge pull request #777 from letsencrypt/fix_771
Make 'auth' and 'run' use the same code (fixes #771)
2015-09-26 22:12:46 -04:00
James Kasten
655c3c2a0e Address comments 2015-09-26 15:44:57 -07:00
James Kasten
c74bc409d8 Merge pull request #824 from letsencrypt/remove_revoker
Remove revoker
2015-09-26 04:35:54 -04:00
James Kasten
e4771cf500 Merge pull request #814 from letsencrypt/crash_recovery
Crash recovery
2015-09-26 04:25:58 -04:00
James Kasten
84267c8f3a Merge branch 'master' into remove_revoker
Conflicts:
	letsencrypt/configuration.py
	letsencrypt/interfaces.py
	letsencrypt/tests/configuration_test.py
2015-09-26 01:19:28 -07:00
James Kasten
f02653801d Remove revocation from client 2015-09-25 22:54:15 -07:00
James Kasten
b72f451a1b rename certs directory to csr directory 2015-09-25 22:26:32 -07:00
James Kasten
395da0d7d5 Merge branch 'master' into fix_771
Conflicts:
	letsencrypt/cli.py
2015-09-25 20:11:15 -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
1a2c983a9c Strict permission checking only upon request
Use --strict-permissions if you're running as a privileged user on a system
  where non-privileged users might have write permissions to parts of the lets
  encrypt config or logging heirarchy.  That should not normally be the case.

  Working toward a fix for #552
2015-09-16 13:13:24 -07:00
James Kasten
2bc87893c4 Merge branch 'master' into fix_771 2015-09-15 22:49:16 -07:00
James Kasten
c025c17b5d auth use renewal 2015-09-15 22:48:36 -07:00
Peter Eckersley
bde5a1fe17 Merge branch 'treat_duplicate_as_renewal' into kuba_chain 2015-09-15 17:51:58 -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
Jakub Warmuz
33c2aed021 Merge remote-tracking branch 'github/letsencrypt/master' into lint 2015-09-11 07:15:10 +00:00
Jakub Warmuz
491b7a7cde Fix multi-cert chains in renewer 2015-09-10 21:48:34 +00:00
Jakub Warmuz
0275271ecd Multi cert chains (fixes #633). 2015-09-10 20:28:22 +00:00
Jakub Warmuz
bf754b6302 Add ACME Directory Resource 2015-09-09 17:22:20 +00: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
Jakub Warmuz
fcc470d0a2 Fix "reg vs new-reg" encoding problem. 2015-07-17 14:59:32 +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
e276f2aa6b crypto imports cleanup 2015-07-06 12:18:31 +00:00
Jakub Warmuz
02e7154c0d Drop M2Crypto 2015-07-06 12:18:27 +00:00
Jakub Warmuz
9197fa6b5c acme: M2Crypto -> pyOpenSSL 2015-07-06 12:18:17 +00:00
James Kasten
93a9a8b268 ConfiguratorError -> PluginError 2015-06-26 09:29:40 -07:00
Jakub Warmuz
4ce4e2f930 logger = logging.getLogger(__name__) 2015-06-25 19:55:22 +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
schoen
f5def6b6d6 Merge pull request #535 from kuba/473-no-cli
Renewer dynamic dirs based on --config-dir/--work-dir (#473 without touching CLI)
2015-06-24 22:18:40 -07:00
James Kasten
04440179f4 Merge pull request #534 from kuba/440-no-cli
Dynamic dirs based on --config-dir and --work-dir (#440 without touching CLI)
2015-06-24 19:06:33 -04: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
278bd8deb2 Rename IConfig.csr_dir back to IConfig.cert_dir.
This will be used in #504.
2015-06-23 07:48:45 +00:00
Jakub Warmuz
8e582dfff8 Merge remote-tracking branch 'github/letsencrypt/master' into cli-config-fixes
Conflicts:
	letsencrypt/constants.py
2015-06-23 07:47:48 +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
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
Jakub Warmuz
196884652e Merge remote-tracking branch 'github/letsencrypt/master' into cli-config-fixes
Conflicts:
	letsencrypt_apache/constants.py
	letsencrypt_nginx/constants.py
2015-06-11 21:46:16 +00:00
Jakub Warmuz
c02db78417 Merge remote-tracking branch 'github/letsencrypt/master' into renewer-cli
Conflicts:
	letsencrypt/client.py
2015-06-11 21:16:47 +00:00
Jakub Warmuz
e346bfafd6 Merge branch 'cli-config-fixes' into renewer-cli 2015-06-11 21:14:28 +00:00
Brad Warren
34a66b1bff Added key notifications to the client 2015-06-02 17:11:00 -07:00
Jakub Warmuz
05ad602b43 Merge remote-tracking branch 'github/letsencrypt/master' into cli-config-fixes
Conflicts:
	letsencrypt/cli.py
2015-06-02 18:42:04 +00:00
Brad Warren
f82aa5836e Merge remote-tracking branch 'upstream/master' into reporter 2015-06-02 11:28:03 -07:00
Brad Warren
814ab083bd Added account registration message and fixed double output 2015-06-02 11:16:24 -07:00
Jakub Warmuz
9a7ade7cba Rename cert_dir to csr_dir. 2015-06-02 17:42:23 +00:00