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

73 Commits

Author SHA1 Message Date
jonasbn
7ed2e91cc7 Removed null.rst as by request 2017-07-14 12:52:25 +02:00
jonasbn
72c480ef18 Removed files with test in name after review comment from @ynasser 2017-07-04 23:52:24 +02:00
jonasbn
054873034c Added missed rst file 2017-07-02 00:31:58 +02:00
jonasbn
d118acf524 Correction to module name 2017-07-02 00:16:15 +02:00
jonasbn
ec35828b9a Added missing rst files after doing an inspection of the file structure 2017-07-02 00:12:16 +02:00
Zach Shepherd
7da5381968 Common code for Lexicon-based DNS authenticators (#4583)
Introduce abstract classes to provide base functionality for Lexicon-based DNS Authenticator plugins and corresponding test cases.
2017-05-18 14:05:47 -07:00
Zach Shepherd
db6defe614 Cloudflare DNS Authenticator
Implement an Authenticator which can fulfill a dns-01 challenge using the
Cloudflare API. Applicable only for domains using Cloudflare for DNS.

Testing Done:
 * `tox -e py27`
 * `tox -e lint`
 * Manual testing:
    * Used `certbot certonly --dns-cloudflare -d`, specifying a
      credentials file as a command line argument. Verified that a
      certificate was successfully obtained without user interaction.
    * Used `certbot certonly --dns-cloudflare -d`, without specifying a
      credentials file as a command line argument. Verified that the user
      was prompted and that a certificate was successfully obtained.
    * Used `certbot certonly -d`. Verified that the user was prompted for
      a credentials file after selecting cloudflare interactively and
      that a certificate was successfully obtained.
    * Used `certbot renew --force-renewal`. Verified that certificates
      were renewed without user interaction.
 * Negative testing:
    * Path to non-existent credentials file.
    * Credentials file with unsafe permissions (644).
    * Credentials file missing e-mail address.
    * Credentials file with blank API key.
    * Credentials file with incorrect e-mail address.
    * Credentials file with malformed API key.
    * Credentials file with invalid API key.
    * Domain name not registered to Cloudflare account.
2017-05-10 15:26:51 -07:00
Peter Eckersley
0956e61c7c Remove the sphinxcontrib.programout [docs]dependency (#3830)
- By making a static text file at release time, and including that
   instead.
2016-11-30 10:47:10 -08:00
Blake Griffith
b05258243a More le_util in docs and compatibility tests 2016-05-26 15:57:50 -05:00
Brad Warren
6daa2dd042 Doc checkup 2016-04-14 13:44:12 -07:00
Brad Warren
d4222ea6b6 Remove renewer docs 2016-02-03 14:54:45 -08:00
Jakub Warmuz
c0a8dae565 Remove autodoc for standalone.authenticator 2015-10-24 13:29:01 +00:00
Brad Warren
69711e432f Merge branch 'simplefs' 2015-10-16 17:37:43 -07:00
Jakub Warmuz
560d12a40c Merge remote-tracking branch 'github/letsencrypt/master' into standalone2 2015-10-04 10:24:47 +00:00
Jakub Warmuz
d88455a1b9 Rename simplefs to webroot 2015-10-04 09:30:39 +00:00
Jakub Warmuz
5d54871ca2 Merge remote-tracking branch 'github/letsencrypt/master' into simplefs 2015-10-04 09:26:04 +00:00
Jakub Warmuz
5d8e9a3d68 Fix various doc generation issues 2015-09-27 21:07:40 +00:00
Jakub Warmuz
ef3605730c Move already_listening to plugins.util 2015-09-26 17:43:59 +00:00
Jakub Warmuz
8c7b8b8351 Add docs for SimpleFS plugin 2015-09-07 06:33:16 +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
3789922c0b Move AugeasConfigurator to letsencrypt_apache.
https://github.com/letsencrypt/lets-encrypt-preview/pull/531#issuecomment-114285541
2015-06-25 17:55:49 +00:00
Jakub Warmuz
71a01d139c Rename network2 to network. 2015-06-22 04:52:08 +00:00
Jakub Warmuz
d4b9499e2b ManualAuthenticator for SimpleHTTP.
Inspired by quite popular [1] letsencrypt-nosudo [2] by
@diafygi. Together with #440 and #473, it allows Let's Encrypt to be
used without sudo (root) on the target machine (c.f. [3]). Possibly
fixes #500.

[1] https://news.ycombinator.com/item?id=9707170
[2] https://github.com/diafygi/letsencrypt-nosudo
[3] https://groups.google.com/a/letsencrypt.org/forum/#!topic/client-dev/JAqxSvXlln4
2015-06-14 18:12:10 +00:00
Jakub Warmuz
e5dd4ba70c Minor fixes for #453 and reporter API docs. 2015-06-01 19:09:39 +00:00
Jakub Warmuz
81ac25f89c Add API docs for renewer and storage 2015-05-28 07:45:41 +00:00
Jakub Warmuz
787c64c546 Fix references to letsencrypt.client 2015-05-12 22:08:00 +00:00
Jakub Warmuz
55b619853b Merge remote-tracking branch 'github/letsencrypt/master' into pkgs_sep_prep
Conflicts:
	letsencrypt/continuity_auth.py
	letsencrypt_nginx/configurator.py
	letsencrypt_nginx/dvsni.py
	letsencrypt_nginx/tests/configurator_test.py
	letsencrypt_nginx/tests/dvsni_test.py
2015-05-12 20:13:50 +00:00
Brad Warren
de974ca51b Merge remote-tracking branch 'upstream/master' 2015-05-12 11:57:17 -04:00
Jakub Warmuz
41e86df252 Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
Jakub Warmuz
d408ec5a95 Move plugins to top-level 2015-05-10 12:26:54 +00:00
Jakub Warmuz
3a6bd7123d Move acme to top-level 2015-05-10 12:26:17 +00:00
Brad Warren
e3d95c5a68 Final changes 2015-05-08 23:43:06 -04:00
Jakub Warmuz
fc059b6269 Add docs for plugins.common and disco 2015-05-02 12:18:57 +00:00
James Kasten
752b3b687f cleanup 2015-04-27 14:59:44 -07:00
yan
4c09b9882f Add docs for Nginx plugin stub 2015-04-21 10:31:25 -07:00
James Kasten
e41acf72a0 Merge pull request #325 from kuba/network2
Restified messages2 and network2
2015-04-01 15:14:20 -07:00
Jakub Warmuz
7a4c7acdfb Fix review comments 2015-04-01 07:58:04 +00:00
James Kasten
2bd451a964 fix continuity_auth docs 2015-03-30 17:36:09 -07:00
James Kasten
176c1a8b93 Merge branch 'master' into Hainish-rename-authenticator 2015-03-30 16:01:34 -07:00
James Kasten
d4336b3ca1 finish renaming/shorten name 2015-03-30 16:01:26 -07:00
James Kasten
989b8f059b Update documentation 2015-03-27 15:20:43 -07:00
Jakub Warmuz
c985a8987b Add fields.rst docs 2015-03-27 10:15:11 +00:00
Jakub Warmuz
d128e42f76 API docs for messages2/network2 2015-03-26 06:50:13 +00:00
Jakub Warmuz
7def7df897 JWS 2015-03-19 17:35:10 +00:00
Jakub Warmuz
b6203d512c acme.jose: (Typed)JSONObjectWithFields, Field, JWA. 2015-03-18 14:10:28 +00:00
Jakub Warmuz
ca2bbc13a3 Improve letsencrypt.acme docs. 2015-02-25 13:56:48 +00:00
Jakub Warmuz
97bf10120c Use acme.challenges in client 2015-02-25 13:56:47 +00:00
Jakub Warmuz
52257c4d6b Add acme.challenges. 2015-02-25 13:49:29 +00:00
James Kasten
08fc0852d7 Correct display docs 2015-02-18 04:13:49 -08:00
James Kasten
04ecf813bd Merge branch 'master' into revoker
Conflicts:
	letsencrypt/client/auth_handler.py
	letsencrypt/client/client.py
	letsencrypt/client/crypto_util.py
	letsencrypt/client/interfaces.py
	letsencrypt/client/le_util.py
	letsencrypt/client/revoker.py
	letsencrypt/client/standalone_authenticator.py
	letsencrypt/client/tests/apache/dvsni_test.py
	letsencrypt/client/tests/apache/obj_test.py
	letsencrypt/client/tests/recovery_token_test.py
	letsencrypt/client/tests/standalone_authenticator_test.py
	letsencrypt/scripts/main.py
2015-02-18 03:36:53 -08:00