Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ACME version 2 #104

Closed
wants to merge 28 commits into from
Closed

Use ACME version 2 #104

wants to merge 28 commits into from

Commits on Jun 4, 2019

  1. sign_csr.py: Begin switch to Python 3 only.

    Import only Python 3 modules.
    r5d committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    72a96df View commit details
    Browse the repository at this point in the history
  2. sign_csr.py: Update subprocess.Popen calls.

    Set `universal_newlines` argument to True for `subprocess.Popen` calls
    that require the `stdout_data` from `proc.communicate()` to be of type
    `str`.
    r5d committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    bc9f923 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c5c4255 View commit details
    Browse the repository at this point in the history
  4. sign_csr.py: Update _b64 function.

    - Convert `b` to `bytes` if it is a `str`.
    - Convert the base64 encoded `bytes` to `str` before using `replace`
      for stripping `=`.
    r5d committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    6aa91b4 View commit details
    Browse the repository at this point in the history
  5. sign_csr.py: Write bytes to temporary files.

    Files opened using `tempfile.NamedTemporaryFile` are opened by default
    in binary mode. Writing `str` to the temporary file causes it error
    out.
    r5d committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    6613465 View commit details
    Browse the repository at this point in the history
  6. sign_csr.py: Update handling of HTTPError.

    Update error handling sections to treat the result of `HTTPError.read`
    as `bytes`.
    r5d committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    075f43b View commit details
    Browse the repository at this point in the history
  7. sign_csr.py: Update construction of signed cert.

    Decode `signed_der64` to `str` before passing it to `textwrap.wrap`.
    r5d committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    5f5d277 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2019

  1. sign_csr.py: Encode accountkey_json.

    Encode accountkey_json (to bytes) before passing to hashlib.sha256.
    r5d committed Jul 6, 2019
    Configuration menu
    Copy the full SHA
    13280fd View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2019

  1. revoke_crt.py: Begin switch to Python 3 only.

    - Import urllib.request
    - Remove python2 urllib2 import.
    r5d committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    38dda56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d99bd9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f4354e View commit details
    Browse the repository at this point in the history
  4. revoke_crt.py: Update subprocess.Popen call.

    Set `universal_newlines` argument to True for the `subprocess.Popen`
    that reads the public key so that the `out` returned from
    proc.communicate is of type `str`.
    r5d committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    6dffeef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fd4386c View commit details
    Browse the repository at this point in the history
  6. revoke_crt.py: Write bytes to temporary file.

    Files opened using `tempfile.NamedTemporaryFile` are opened by default
    in binary mode. Writing `str` to the temporary file causes it error
    out.
    r5d committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    a88781c View commit details
    Browse the repository at this point in the history
  7. revoke_crt.py: Update _b64 function.

    - Convert `b` to `bytes` if it is a `str`.
    - Convert the base64 encoded `bytes` to `str` before using `replace`
      for stripping `=`.
    r5d committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    b56fb9a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2a4e0d6 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2020

  1. sign_csr.py: Refactor script to use acmev2.

    Initial version.
    r5d committed Feb 2, 2020
    Configuration menu
    Copy the full SHA
    6d24382 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2970792 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2020

  1. README.md: Update introduction.

    The ACME v2 of the sign_csr.py and revoke_crt.py require the user
    account private key.
    r5d committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    e084c0e View commit details
    Browse the repository at this point in the history
  2. README.md: Update 'How to use the signing script' section.

    Update this section to reflect the ACME v2 version of the
    `sign_csr.py` script.
    r5d committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    9a4fe03 View commit details
    Browse the repository at this point in the history
  3. sign_csr.py: Update help text.

    r5d committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    a592901 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. Configuration menu
    Copy the full SHA
    a0066a0 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2020

  1. Configuration menu
    Copy the full SHA
    2696264 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e10ea0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f806b8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af0aec9 View commit details
    Browse the repository at this point in the history
  5. revoke_crt.py: Update help text.

    r5d committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    e50f5a5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e832234 View commit details
    Browse the repository at this point in the history