summaryrefslogtreecommitdiffstats
path: root/acmens.py
Commit message (Collapse)AuthorAgeFilesLines
* acmens: update _cmdsiddharth2022-05-071-2/+3
| | | | Instead of raising an exception, barf out stderr and exit.
* bump to v0.1.7v0.1.7siddharth2021-06-271-1/+1
|
* acmens.py: main: update help descriptionsiddharth2021-06-271-29/+3
|
* acmens.py: remove `__main__` if blocksiddharth2021-06-271-5/+1
|
* 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.
* 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.