"""ACME protocol implementation. This module is an implementation of the `ACME protocol`_. .. _`ACME protocol`: https://ietf-wg-acme.github.io/acme """ import sys # This code exists to keep backwards compatibility with people using acme.jose # before it became the standalone josepy package. # # It is based on # https://github.com/requests/requests/blob/1278ecdf71a312dc2268f3bfc0aabfab3c006dcf/requests/packages.py import josepy as jose for mod in list(sys.modules): # This traversal is apparently necessary such that the identities are # preserved (acme.jose.* is josepy.*) if mod == 'josepy' or mod.startswith('josepy.'): sys.modules['acme.' + mod.replace('josepy', 'jose', 1)] = sys.modules[mod]
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 726 B | 0644 |
|
challenges.py | File | 21.19 KB | 0644 |
|
client.py | File | 52.86 KB | 0644 |
|
crypto_util.py | File | 16.34 KB | 0644 |
|
errors.py | File | 4.21 KB | 0644 |
|
fields.py | File | 1.84 KB | 0644 |
|
jws.py | File | 2.33 KB | 0644 |
|
magic_typing.py | File | 595 B | 0644 |
|
messages.py | File | 24.74 KB | 0644 |
|
mixins.py | File | 2.78 KB | 0644 |
|
standalone.py | File | 12.83 KB | 0644 |
|
util.py | File | 303 B | 0644 |
|