File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11from aioacme ._client import Client
2+ from aioacme ._directories import LETS_ENCRYPT_DIRECTORY , LETS_ENCRYPT_STAGING_DIRECTORY
23from aioacme ._exceptions import AcmeError
34from aioacme ._models import (
45 Authorization ,
1617from aioacme ._version import __version__ , __version_tuple__
1718
1819__all__ = [
20+ 'Client' ,
21+ 'LETS_ENCRYPT_DIRECTORY' ,
22+ 'LETS_ENCRYPT_STAGING_DIRECTORY' ,
23+ 'AcmeError' ,
1924 'Authorization' ,
2025 'AuthorizationStatus' ,
2126 'Challenge' ,
2732 'Order' ,
2833 'OrderStatus' ,
2934 'RevocationReason' ,
30- 'AcmeError' ,
31- 'Client' ,
3235 '__version__' ,
3336 '__version_tuple__' ,
3437]
Original file line number Diff line number Diff line change 1313from cryptography import x509
1414from cryptography .hazmat .primitives import serialization
1515
16+ from aioacme ._directories import LETS_ENCRYPT_STAGING_DIRECTORY
1617from aioacme ._exceptions import AcmeError
1718from aioacme ._jwk import JWK , jwk_thumbprint , make_jwk
1819from aioacme ._jws import jws_encode
@@ -40,7 +41,7 @@ def __init__(
4041 self ,
4142 * ,
4243 account_key : PrivateKeyTypes ,
43- directory_url : str = 'https://acme-staging-v02.api.letsencrypt.org/directory' ,
44+ directory_url : str = LETS_ENCRYPT_STAGING_DIRECTORY ,
4445 account_uri : str | None = None ,
4546 ) -> None :
4647 """
Original file line number Diff line number Diff line change 1+ LETS_ENCRYPT_DIRECTORY : str = 'https://acme-v02.api.letsencrypt.org/directory'
2+ LETS_ENCRYPT_STAGING_DIRECTORY : str = 'https://acme-staging-v02.api.letsencrypt.org/directory'
You can’t perform that action at this time.
0 commit comments