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

97 Commits

Author SHA1 Message Date
Peter Eckersley
630c715350 lintmonster 2015-09-16 17:03:09 -07:00
Peter Eckersley
9315161ef2 Better documentation 2015-09-16 13:20:31 -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
Peter Eckersley
5709eacec4 Merge remote-tracking branch 'origin/master' into kuba_chain 2015-09-15 18:33:16 -07:00
James Kasten
d9cf160aca Merge pull request #758 from letsencrypt/treat_duplicate_as_renewal
Treat duplicative certificate requests as renewals by default
2015-09-15 21:30:22 -04:00
Peter Eckersley
67bf3d41cb Merge remote-tracking branch 'origin/master' into kuba_chain 2015-09-15 18:26:39 -07:00
Peter Eckersley
3e59ed6939 Fix new call to save_successor 2015-09-15 18:25:49 -07:00
James Kasten
d367694dc3 pep8 fixes 2015-09-15 18:09:00 -07:00
Peter Eckersley
d910fe8655 Merge remote-tracking branch 'origin/master' into cli2 2015-09-15 17:35:36 -07:00
Seth Schoen
f160a51aa7 Don't crash if an existing lineage is slightly corrupt 2015-09-15 17:27:27 -07:00
Peter Eckersley
11c6ef32a8 Remove stray debugging printf 2015-09-15 17:11:20 -07:00
Seth Schoen
d66e65af11 Remove short -D for --duplicate 2015-09-14 10:31:43 -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
Jakub Warmuz
33c2aed021 Merge remote-tracking branch 'github/letsencrypt/master' into lint 2015-09-11 07:15:10 +00:00
Seth Schoen
f09016321b Fix logic error if requesting nonduplicative cert 2015-09-10 15:12:36 -07:00
Seth Schoen
7c2a87a51d Remove explicit .namespace for easier testing 2015-09-10 14:45:30 -07:00
Jakub Warmuz
302e3ceb7d Revocation: integration testable 2015-09-09 20:04:28 +00:00
Seth Schoen
244dc30306 Fewer locals (lint would still complain) 2015-09-09 00:11:44 -07:00
Seth Schoen
2006c3a067 Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into treat_duplicate_as_renewal 2015-09-08 21:02:06 -07:00
Seth Schoen
3cc15c6193 Cleanup 2015-09-08 21:01:53 -07:00
Seth Schoen
df42cca26e More useful explanation of --duplicate 2015-09-08 08:58:43 -07:00
Seth Schoen
b375b9c074 Fix indentation 2015-09-08 08:48:46 -07:00
Seth Schoen
7dda21817a Add --duplicate command-line option 2015-09-08 01:50:29 -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
Harlan Lieberman-Berg
dc4cc23377 Fix minor spelling errors in the code. 2015-09-05 22:35:34 -04:00
Peter Eckersley
f09c8dd740 Satisfy the pylint demon 2015-08-28 18:02:54 -07:00
Peter Eckersley
44d7ac2dce Plumbing for tweaked args
- to make "run" the default, we need to add it to the args
 - which means we need to pass that back up to the actual argparse call

(This is ugly... probably HelpfulArgParser needs to actuall inherit from
argparse...)
2015-08-28 18:02:49 -07:00
Peter Eckersley
7325a3f28d Make the "run" command the default 2015-08-28 18:02:44 -07:00
Malte Janduda
8c2afd4e7b Typo in CLI help 2015-08-14 13:45:57 +02:00
James Kasten
98b7627e18 Merge branch 'master' into apache_modules 2015-07-24 17:07:16 -07:00
James Kasten
647caba164 100% configurator coverage 2015-07-24 03:22:35 -07:00
Peter Mosmans
7908ea0b86 Fixed typo
Changed config-changes in the short help (wrong) to config_changes (right)
2015-07-20 10:17:58 +02: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
James Kasten
d0f26132bc Merge pull request #572 from bradmw/merge-fix
Fixed traceback when not run as root
2015-07-02 09:20:38 -07:00
James Kasten
e140eca4f3 Merge pull request #570 from kuba/simplehttp
SimpleHTTP fixes
2015-07-02 09:19:21 -07:00
Jakub Warmuz
dc9ffdbb7f Update old TODO comment. 2015-07-02 04:51:41 +00:00
Brad Warren
8b3a766dc1 Made logfile location more clear 2015-07-01 14:49:32 -07: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
Brad Warren
a248980952 Fixed traceback when not run as root 2015-06-29 11:53:03 -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
2ec451d00b IConfig.simple_http_port (fixes #542). 2015-06-29 07:58:36 +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
Brad Warren
88507fea87 Stopped catching silly things 2015-06-26 18:07:40 -07:00
Brad Warren
554139cb1a Reformatted error message 2015-06-26 16:14:21 -07:00
Brad Warren
d6246ae309 Special cased KeyboardInterrupt 2015-06-26 16:09:46 -07:00
Jakub Warmuz
e3cd6fc709 Fix review comments. 2015-06-26 23:03:27 +00:00
Brad Warren
93b736a224 Logs and hides tracebacks 2015-06-26 15:26:33 -07:00