letsencrypt/docs/api
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
..
plugins ManualAuthenticator for SimpleHTTP. 2015-06-14 18:12:10 +00:00
account.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
achallenges.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
auth_handler.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
client.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
configuration.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
constants.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
continuity_auth.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
crypto_util.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
display.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
errors.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
index.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
interfaces.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
le_util.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
log.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
proof_of_possession.rst Fix references to letsencrypt.client 2015-05-12 22:08:00 +00:00
recovery_token.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
renewer.rst Add API docs for renewer and storage 2015-05-28 07:45:41 +00:00
reporter.rst Minor fixes for #453 and reporter API docs. 2015-06-01 19:09:39 +00:00
reverter.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
revoker.rst Move letsencrypt.client to letsencrypt 2015-05-10 12:32:05 +00:00
storage.rst Add API docs for renewer and storage 2015-05-28 07:45:41 +00:00