summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* acmens.py: update _do_requestsiddharth2022-05-071-22/+26
| | | | | | | Don't raise exceptions. Just return the result. Move the response error handling to `_send_signed_request` and again don't use exceptions. Instead just barf to stderr and exit on error.
* acmens: update _cmdsiddharth2022-05-071-2/+3
| | | | Instead of raising an exception, barf out stderr and exit.
* .github: remove workflows/codeql.ymlsiddharth2022-05-041-29/+0
|
* bump to v0.1.7v0.1.7siddharth2021-06-271-1/+1
|
* acmens.py: main: update help descriptionsiddharth2021-06-271-29/+3
|
* .github/workflows: add codeql.ymlsiddharth2021-06-271-0/+29
|
* README.md: update installation sectionsiddharth2021-06-271-3/+0
| | | | update documentation on how to use the repo version of `acmens`.
* README.md: update installation sectionsiddharth2021-06-271-0/+21
| | | | Add documentation on how to use the repo version of `acmens`.
* acmens.py: remove `__main__` if blocksiddharth2021-06-271-5/+1
|
* Makefile: add venv (phony target)siddharth2021-06-271-0/+6
|
* Bump to version 0.1.6v0.1.6siddharth2021-06-261-1/+1
|
* acmens.py: update `sign_csr`siddharth2021-06-261-5/+4
| | | | | | | | Send the "you can remove acme resource" message to stderr after completing a challenge instead of sending it after completing all challenges. The message is also challenge specific now.
* acmens.py: refac if/elseRobin C. Ladiges2021-06-261-9/+8
|
* acmens.py: fallback to `dns`Robin C. Ladiges2021-06-261-3/+14
| | | | | | | | | | | | | Sometimes `http` isn't available as a challenge type. E.g. for wildcards or when `dns` was used for the domain lately. Instead of being forced to use `--challenge dns` for wildcard certificates, the `--challenge` flag can be omitted now and it will automatically fallback to `dns`. This is especially useful for SAN certificates, where it can fallback to the other challenge type, if the preferred type isn't available for one of the multiple domains.
* Bump to version 0.1.5v0.1.5siddharth2021-05-291-1/+1
|
* acmens.py: update `revoke_crt`siddharth2021-05-291-2/+2
| | | | Fix payload of the newAccount request.
* 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.
* update README.mdsiddharth2021-05-051-37/+9
|
* 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
|
* Makefile: update developsiddharth2021-05-021-0/+1
| | | | Install/upgrade pip, black, and, twine
* 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
|
* README.md: document multiple domain supportsiddharth2021-04-161-1/+4
|
* update copyrightsiddharth2021-04-162-2/+2
|
* setup.py: update authorsiddharth2021-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
|
* README.md: dns challenge: update commandrsiddharth2020-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
|
* Updating the readme for the dns challenge.Randy Merrill2020-06-261-0/+10
|