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

67 Commits

Author SHA1 Message Date
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
Jakub Warmuz
9d6cf6c6a2 Fix --help all to display options without topic. 2015-06-26 13:31:03 +00:00
Jakub Warmuz
abbd2483a5 install --key-path (fixes #550) 2015-06-26 13:26:09 +00: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
Jakub Warmuz
c8dc9af7bf Fix integration test for install. 2015-06-26 13:26:09 +00:00
Jakub Warmuz
7d775ae9f3 Add null installer, integration tests for install/run
Fixes #438.
2015-06-26 13:26:09 +00:00
Jakub Warmuz
4ce4e2f930 logger = logging.getLogger(__name__) 2015-06-25 19:55:22 +00:00
Jakub Warmuz
eb149b9129 CLI debug log file 2015-06-25 19:55:16 +00:00
Jakub Warmuz
5b9a2f9637 cli._setup_logging 2015-06-25 19:45:01 +00:00
Jakub Warmuz
6ba133fc7c Debug log CLI arguments 2015-06-25 19:45:01 +00:00
Jakub Warmuz
60b6834ab0 Debug log registration errors. 2015-06-25 19:45:01 +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
James Kasten
06d7e51f22 formatting and documentation 2015-06-24 14:38:30 -07:00
Peter Eckersley
079eb93e53 Satisfy the lintmonster 2015-06-23 15:10:42 -07:00
Peter Eckersley
02f3bb4f05 Use a completely custom usage mesage for plain --help
Keep argparse in place for --help <TOPIC>, but try to make that match
the customised short help as much as possible.
2015-06-23 14:13:52 -07:00
Peter Eckersley
f408ac7296 Draft basic usage text 2015-06-22 09:37:57 -07:00
Peter Eckersley
40871d4c29 Fix merge error 2015-06-16 14:04:41 -07:00
Peter Eckersley
9855ac81bb Merge remote-tracking branch 'letsencrypt/master' into help
Conflicts:
	letsencrypt/cli.py

Not clear what topic that tweak flag should be under; leaving it under testing
for now...
2015-06-16 12:59:09 -07:00
Peter Eckersley
8dc9cc67d9 Satiate the pylint daemons 2015-06-16 12:46:37 -07:00
Jakub Warmuz
635e585226 Initial support for "auth --csr" (fixes: #370) 2015-06-15 11:40:17 +00:00
Jakub Warmuz
8883bd76fd Add --no-simple-http-tls. 2015-06-12 08:25:59 +00:00
Peter Eckersley
c70bce8b7a Some cleaning up 2015-06-08 16:51:15 -07:00
Peter Eckersley
2d65026d6d Help topics now working 2015-06-08 11:42:15 -07:00
Peter Eckersley
1fa5a64abd Draft (somewhat buggy) implementation of help topics 2015-06-08 01:38:39 -07:00
Peter Eckersley
3457a01da2 WIP: Cleaning up the command line help 2015-06-06 15:45:17 -07:00
Brad Warren
986ca6562f Merge remote-tracking branch 'upstream/master' into reporter 2015-06-02 12:19:10 -07:00
Brad Warren
814ab083bd Added account registration message and fixed double output 2015-06-02 11:16:24 -07:00
e00E
73e9956a48 Fixed not passing a string as the private key to deploy_certificate when using an Installer plugin. 2015-06-02 18:17:18 +02:00
Jacob Hoffman-Andrews
325f2ae4ad Merge pull request #463 from kuba/bugs/462
Split --test-mode into --no-verify-ssl and --dvsni-port (fixes #462).
2015-06-01 16:28:47 -07:00
schoen
97489f85fa Merge pull request #464 from kuba/verbose-help
Add help for the --verbose flag.
2015-06-01 14:47:48 -07:00
Jakub Warmuz
f5613ee074 Add help for the --verbose flag. 2015-06-01 21:08:42 +00:00