certbot/letsencrypt_apache
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
..
tests fix unittest 2015-06-26 16:07:39 -07:00
__init__.py Move plugins to top-level 2015-05-10 12:26:54 +00:00
augeas_configurator.py Merge remote-tracking branch 'github/letsencrypt/master' into logging 2015-06-25 21:11:46 +00:00
configurator.py Address comments 2015-06-26 14:47:03 -07:00
constants.py Merge remote-tracking branch 'github/letsencrypt/master' into cli-config-fixes 2015-06-11 21:46:16 +00:00
display_ops.py Address comments 2015-06-26 14:47:03 -07:00
dvsni.py Rewrite acccounts and registration. 2015-07-09 06:43:45 +00:00
obj.py Address comments 2015-06-26 14:47:03 -07:00
options-ssl-apache.conf Rename the apache config file to match the nginx one 2015-06-07 20:31:50 +12:00
parser.py logger = logging.getLogger(__name__) 2015-06-25 19:55:22 +00:00