Daniel Roesler
1858f68204
Merge remote-tracking branch 'imrejonk/python3-interpreter' into v5-python3
2021-09-11 13:38:35 -05:00
Daniel Roesler
ce0bbdb3a1
Merge branch 'issue_241_include_contact_in_registration'
2021-08-21 20:59:22 -05:00
Daniel Roesler
447652afd2
compressed some lines to bring the line count back down under 200 lines, removed example cronjob in command line help since it comflicts with the README
2021-08-21 20:58:07 -05:00
Daniel Roesler
9691f8779c
re-worded pull #254 a bit
2021-08-21 20:45:21 -05:00
Daniel Roesler
ad9b90d711
Merge remote-tracking branch 'chref/skip_valid_auth' into pull_254
2021-08-21 20:42:25 -05:00
Daniel Roesler
ffad759523
some ACME services require contact info in the initial account registration (see issue #241 )
2021-08-21 17:11:36 -05:00
Daniel Roesler
0d97a2d35d
shortened pull #260
2021-08-21 16:12:45 -05:00
Daniel Roesler
907bba2644
Merge remote-tracking branch 'Bombenleger/master'
2021-08-21 16:07:19 -05:00
Daniel Roesler
4a58b8809c
reverted changes from pull #249
2021-08-21 15:15:37 -05:00
Daniel Roesler
a87fb1afc7
Merge remote-tracking branch 'steelman/dry-run'
2021-08-21 15:14:36 -05:00
Daniel Roesler
ee1f8a3cab
updated tests to support both local letsencrypt/pebble server or staging server, increased coverage to 100% for pebble test runs, removed fuse as dependency and instead added instructions to mount remote filesystem on local instead for staging tests
2021-08-12 21:55:26 -05:00
Sven Ertel
9a8ec1db42
log the Let’s Encrypt account ID
2021-05-19 14:18:48 +02:00
Christof Efkemann
c1a57b1ab7
skip valid authorizations
...
Authorizations that already have a status of "valid" do not need
to be validated again (until the authorization expires).
Skipping these authorizations makes it possible to obtain certificates
for domains for which a dns-01 validation is still valid, as
acme_tiny is unable to re-validate them. (The alternative would be
to wait up to a month until the authorization expires, or use a
different acme client.)
2020-09-17 14:05:40 +02:00
Łukasz Stelmach
7604358254
Add --dry-run command line option
...
The --dry-run option is a shortcut
--directory-url https://acme-staging-v02.api.letsencrypt.org/directory
to use Let's Encrypt staging environment for testing.
2020-05-18 12:15:31 +02:00
Imre Jonk
5cb59d7d51
Set interpreter to 'python3'
...
People over at the DebOps project encountered problems running
acme-tiny on Python 3-only systems [1]. As described in the Debian
Python Policy [2], this behaviour is expected when using the
(discouraged) 'python' interpreter. This commit modifies the shebang
line to specify the 'python3' interpreter instead.
[1] https://github.com/debops/debops/issues/1079#issuecomment-562854976
[2] https://www.debian.org/doc/packaging-manuals/python-policy/python.html#interpreter
2020-01-19 14:40:03 +01:00
Daniel Roesler
58752c527c
made public key parsing more robust for windows (still not officially supporting windows though), fixes issue #228
2019-12-10 06:56:04 -06:00
Daniel Roesler
cb094cf3ef
fixed additional POST-as-GET
2019-07-07 08:27:06 -05:00
Daniel Roesler
a6acdc2103
pointed out by @felixfontein in #222 , we shouldn't delete the challenge files on errors, but we should clean them up on success
2019-07-06 21:00:59 -05:00
Felix Fontein
3f75a80d99
Also accept critical SAN extensions.
2019-07-06 20:48:30 -05:00
Daniel Roesler
f24226b15e
added space for assert syntax
2019-07-06 20:35:17 -05:00
Daniel Roesler
84c71cf61e
addresses #205 where @nuxi points out a situation where polling may hang indefinitely
2019-07-06 20:34:36 -05:00
Daniel Roesler
1b6c6bc0e6
fixed #226 , start using POST-as-GET for GET requests
2019-07-06 19:27:55 -05:00
Daniel Roesler
5350420d35
don't skip ValueError when urlopen(Request(nonvalid, ...))
2018-05-17 05:43:16 -07:00
Daniel Roesler
31ff3267b4
Merge remote-tracking branch 'origin/master'
2018-03-17 16:56:34 -07:00
Daniel Roesler
a5738ff017
merged #155 , adding tiny user agent
2018-03-17 16:56:04 -07:00
Daniel Roesler
b4704b1e17
cleaned up help and copyright text
2018-03-17 16:09:24 -07:00
Daniel Roesler
0ba9104386
Merge pull request #120 from legoktm/patch-1
...
Include licensing information in acme_tiny.py itself
2018-03-17 16:04:16 -07:00
Daniel Roesler
aaf1091838
added optional contact details
2018-03-17 14:56:30 -07:00
Daniel Roesler
7a4ea10d08
updated readme to note that ACME v2 certificate downloads now include the intermediate certificate
2018-03-17 12:10:07 -07:00
Daniel Roesler
51ab579635
Merge branch 'setup_merge' into ACMEv2
2018-03-15 22:03:38 -07:00
Daniel Roesler
ea9823d190
removed challenge payload that is no longer needed in new acme spec
2018-03-15 21:10:12 -07:00
Daniel Roesler
d1ccbecdfa
consolidated external commandline execution error handling to bring back under 200 lines of code
2018-03-10 23:53:05 -08:00
Daniel Roesler
68c565ec32
added badNonce retries
2018-03-10 23:51:10 -08:00
Daniel Roesler
c4b79703c8
deprecated CA url in favor of using the direct certificate authority directory url
2018-03-10 21:24:41 -08:00
Jonas Haag
5289e321ed
Merge branch 'master' into pypi
2018-01-23 18:24:08 +01:00
Daniel Roesler
bb248e0012
mostly working ACMEv2, except for letsencrypt/boulder#3367
2018-01-14 17:28:42 -08:00
Daniel Roesler
19b274cf38
damn python3 bytes-to-strings encoding gets you again...
2017-11-14 21:21:27 -08:00
Daniel Roesler
c4940d229a
switched to grabbing the agreement url from /directory, addresses #145 , #148 , #172 , #189
2017-11-14 20:59:49 -08:00
Maximilian Kaul
9537453586
FIX CN parsing to work with OpenSSL 1.1
...
CN used to be without whitespaces around the `=` but OpenSSL 1.1 introduced
whitespaces:
1.0.1: subject=/CN=example.com
1.1.0: subject=CN = example.com
This commit makes them optional.
2017-04-27 08:21:33 +02:00
Jonas Haag
002c9e19a3
Merge branch 'master' into pypi
2016-09-08 15:42:29 +02:00
Daniel Roesler
ecd26b1e78
updated agreement URL since Let's Encrypt is now rejecting the old agreement
2016-08-01 12:53:13 -07:00
Jonas Haag
be8e10a174
Merge branch 'master' into pypi
2016-04-23 21:04:15 +02:00
Kunal Mehta
25ad03a24f
Include licensing information in acme_tiny.py itself
...
Many people simply copy the acme_tiny.py script, meaning they
lose the licensing information that is included in a separate file.
This adds one extra comment line to the top of the file stating
who the copyright owner is, and what license it is under.
2016-04-18 11:18:07 -07:00
Daniel Roesler
fcb7cd6f66
fixed #58 , apparently .reason isn't an attribute on HTTPError in python 2.6 even though it's documented as such
2015-12-29 12:43:12 -08:00
Jonas Haag
9bc3865d8c
Add setup.py
2015-12-29 14:14:49 +01:00
Daniel Roesler
69a457269a
fixed error reading for URLErrors and HTTPErrors
2015-12-22 15:15:01 -08:00
Daniel Roesler
d3c6451a4f
fixed #48 , handle URLErrors in addition to HTTPErrors
2015-12-22 08:38:57 -08:00
Ralf Jung
7f2325e49f
Fix TypeError: 'str' does not support the buffer interface
2015-12-13 12:54:04 +01:00
Daniel Roesler
b37284d218
added error handling tests
2015-12-06 02:26:03 -08:00
Daniel Roesler
e6cad5f0f6
added argparse to requirements for python 2.6 and removed fuse from coverage
2015-12-06 00:38:10 -08:00