summaryrefslogtreecommitdiffstats
path: root/acmens.py
Commit message (Collapse)AuthorAgeFilesLines
* acmens.py: update `_agree_to`siddharth2021-05-291-1/+2
| | | | Fix prompt. Send prompt text to stderr instead of stdout.
* acmens.py: update `_agree_to`siddharth2021-05-291-2/+2
| | | | Fix regex.
* acmens.py: update import statementssiddharth2021-05-291-2/+15
| | | | Comply with PEP-0008.
* acmens.py: `_agree_to`: black fmtsiddharth2021-05-291-4/+2
|
* acmens.py: update `sign_csr`siddharth2021-05-291-1/+12
| | | | | Add handling to update account; currently just updates the `contact` to the email provided on the command line.
* acmens.py: Explicitly ask user to agree to LE Subscriber Agreementsiddharth2021-05-291-1/+15
| | | | | * acmens.py (_agree_to): New function. (sign_csr): Update function.
* acmens.py: move around `_do_challenge`siddharth2021-05-051-76/+76
|
* acmens.py: move `_do_challenge` out of `sign_csr`siddharth2021-05-051-95/+96
|
* acmens.py: move `_poll_unitl_not` out of `sign_csr`siddharth2021-05-051-11/+12
|
* acmens.py: move `_send_signed_request` out of `sign_csr` and `revoke_crt`siddharth2021-05-051-66/+94
|
* acmens.py: move `_do_request` out of `sign_csr` and `revoke_crt`siddharth2021-05-051-78/+39
|
* acmens.py: move `_cmd` out of `sign_csr` and `revoke_crt`siddharth2021-05-051-20/+11
|
* acmens.py: move `_b64` out of `sign_csr` and `revoke_crt`siddharth2021-05-021-15/+9
|
* acmens.py: add --version switchsiddharth2021-05-021-1/+7
| | | | Shows `acmens` version.
* acmens.py: black formatsiddharth2021-05-021-2/+6
|
* acmens.py: add --stage switchsiddharth2021-04-181-10/+17
| | | | | | | * acmens.py (CA_PRD, CA_STG): New constants. (sign_csr): Add argument `ca_url`. (revoke_crt): Add argument `ca_url`. (main): Add handling for --stage switch.
* bump to version 0.1.4v0.1.4siddharth2021-04-161-1/+1
|
* update copyrightsiddharth2021-04-161-1/+1
|
* acmens.py: update sign_csrsiddharth2021-04-161-1/+1
| | | | | * acmens.py (sign_csr): Update _do_request; set User-Agent to `acmens`.
* acmens.py: update revoke_crtsiddharth2021-04-161-1/+1
| | | | | * acmens.py (revoke_crt): Update _do_request; set User-Agent to `acmens`.
* acmens.py: update sign_csrsiddharth2021-04-161-2/+14
| | | | | * acmens.py (sign_csr): Update _do_challenge; add handling to fallback to http-01 challenge if dns-01 is preferred but not available.
* acmens.py: update sign_csrsiddharth2021-04-161-89/+103
| | | | * acmens.py (sign_csr): Add support for multiple domains
* acmens.py: bump to version 0.1.3v0.1.3rsiddharth2020-08-021-1/+1
|
* acmens.py: format via blackrsiddharth2020-08-021-13/+18
|
* acmens.py: sign_csr: remove note about TXT recordrsiddharth2020-08-021-3/+0
| | | | The TXT record needs to have quotes.
* acmens.py: sign_csr: update dns challenge inforsiddharth2020-08-021-4/+3
| | | | | - Format it like a bind9 DNS TXT record. - Rename keyword argument `token` to `keyauth`.
* acmens.py: sign_csr: fix dns text record contentrsiddharth2020-08-021-1/+2
| | | | | | It should be base64(sha256(key_authorization)) reference: https://tools.ietf.org/html/rfc8555#section-8.4
* Removing the wildcard from the instructions.Randy Merrill2020-06-271-1/+1
|
* Adding the DNS challenge type.Randy Merrill2020-06-261-17/+41
| | | | For wildcard certs you need to use the DNS challenge.
* acmens.py: Format it via black.rsiddharth2020-06-171-93/+214
|
* Bump to v0.1.2v0.1.2rsiddharth2020-05-311-1/+1
|
* acmens.py: Update main.rsiddharth2020-05-311-2/+2
|
* Bump to v0.1.1v0.1.1rsiddharth2020-04-251-1/+1
|
* acmens.py: Bump to version 0.1.0.v0.1.0rsiddharth2020-04-251-1/+1
|
* README.md: Add 'installation' section.rsiddharth2020-04-251-1/+1
|
* acmens.py: Remove the #1/usr/bin/env python3 declaration.rsiddharth2020-04-251-1/+0
|
* acmens.py: Add copyright header.rsiddharth2020-04-251-0/+6
|
* acmens.py: Add utf-8 coding header.rsiddharth2020-04-251-0/+2
|
* acmens.py: Add __version__.rsiddharth2020-04-251-0/+4
|
* acmens.py: Add main.rsiddharth2020-04-251-1/+4
| | | | | * acmens.py (main): New function. Move code under the "main" block into this function and make "main" block call this.
* acmens.py: Update sign_csr.rsiddharth2020-04-251-66/+59
| | | | | * acmens.py (sign_csr): Process just one domain. * README.md: Update 'getting/renewing a certificate' section.
* acmens.py: Add revoke_crt.rsiddharth2020-04-121-5/+123
| | | | | | Move certicate revocation function -- revoke_crt -- into acmens.py. The revoke_crt.py will be removed.
* acmens.py: Update arguments to acmens.pyrsiddharth2020-04-121-2/+6
| | | | Now CSR path needs to be given via the --csr switch.
* sign_csr.py -> acmens.pyrsiddharth2020-04-121-0/+255