]> git.ipfire.org Git - thirdparty/dehydrated.git/log
thirdparty/dehydrated.git
9 years agoAdd --signcsr command 95/head
Niels Laukens [Wed, 20 Jan 2016 10:32:56 +0000 (11:32 +0100)] 
Add --signcsr command

9 years agoAdd extract_altnames() function
Niels Laukens [Wed, 20 Jan 2016 10:15:15 +0000 (11:15 +0100)] 
Add extract_altnames() function

9 years agoSplit off CSR signing to separate function
Niels Laukens [Wed, 20 Jan 2016 10:15:01 +0000 (11:15 +0100)] 
Split off CSR signing to separate function

9 years agoMerge pull request #89 from germeier/master
Lukas Schauer [Sat, 16 Jan 2016 21:41:03 +0000 (22:41 +0100)] 
Merge pull request #89 from germeier/master

add support for  Elliptic Curve Cryptography (ECC)

9 years agoadded header with script-name and url to github repository
Lukas Schauer [Sat, 16 Jan 2016 21:29:09 +0000 (22:29 +0100)] 
added header with script-name and url to github repository

9 years agomoved OSTYPE check and use built-in [[ for OSTYPE check
Lukas Schauer [Sat, 16 Jan 2016 21:28:17 +0000 (22:28 +0100)] 
moved OSTYPE check and use built-in [[ for OSTYPE check

9 years agocheck exitcode of `curl -V` because of some issue with ancient versions of curl retur...
Lukas Schauer [Sat, 16 Jan 2016 20:50:15 +0000 (21:50 +0100)] 
check exitcode of `curl -V` because of some issue with ancient versions of curl returning error codes on checking the version number

9 years agouse different sed version for different system types (mostly for compatibility with...
Lukas Schauer [Sat, 16 Jan 2016 20:40:12 +0000 (21:40 +0100)] 
use different sed version for different system types (mostly for compatibility with ancient linux distros nobody should be using anyway ¯\_(ツ)_/¯)

9 years agoadd support for Elliptic Curve Cryptography (ECC) 89/head
Markus Germeier [Sat, 16 Jan 2016 17:55:36 +0000 (18:55 +0100)] 
add support for  Elliptic Curve Cryptography (ECC)

9 years agoMerge pull request #88 from f1rebird/master
Lukas Schauer [Fri, 15 Jan 2016 22:36:28 +0000 (23:36 +0100)] 
Merge pull request #88 from f1rebird/master

9 years agoMerge pull request #82 from jantore/wellknown-http-only
Lukas Schauer [Fri, 15 Jan 2016 22:29:14 +0000 (23:29 +0100)] 
Merge pull request #82 from jantore/wellknown-http-only

Require $WELLKNOWN only when using http-01.

9 years agoMerge pull request #85 from jaquer/fix-exit
Lukas Schauer [Fri, 15 Jan 2016 22:24:45 +0000 (23:24 +0100)] 
Merge pull request #85 from jaquer/fix-exit

Added missing space before exit code.

9 years agoI's are important 88/head
Moritz Kick [Fri, 15 Jan 2016 22:22:24 +0000 (23:22 +0100)] 
I's are important

9 years agoMerge pull request #86 from petrkle/lock-dir-writable
Lukas Schauer [Fri, 15 Jan 2016 22:20:28 +0000 (23:20 +0100)] 
Merge pull request #86 from petrkle/lock-dir-writable

Check if directory for LOCKFILE is writable.

9 years agocheck for sed with support for extended regular expressions
Lukas Schauer [Fri, 15 Jan 2016 22:03:12 +0000 (23:03 +0100)] 
check for sed with support for extended regular expressions

9 years agoFix typo 86/head
Petr [Fri, 15 Jan 2016 09:43:34 +0000 (10:43 +0100)] 
Fix typo

9 years agoCheck if directory for LOCKFILE is writable.
Petr [Fri, 15 Jan 2016 09:25:06 +0000 (10:25 +0100)] 
Check if directory for LOCKFILE is writable.

9 years agoAdded missing space before exit code. 85/head
Arturo R [Thu, 14 Jan 2016 04:33:13 +0000 (20:33 -0800)] 
Added missing space before exit code.

9 years agouse -z instead of `== ""`.. it's late.
Lukas Schauer [Sun, 10 Jan 2016 03:46:52 +0000 (04:46 +0100)] 
use -z instead of `== ""`.. it's late.

9 years agoshow help if no arguments are provided
Lukas Schauer [Sun, 10 Jan 2016 03:44:44 +0000 (04:44 +0100)] 
show help if no arguments are provided

9 years agoRequire $WELLKNOWN only when using http-01. 82/head
Jan Tore Morken [Sat, 9 Jan 2016 17:42:50 +0000 (18:42 +0100)] 
Require $WELLKNOWN only when using http-01.

9 years agoMerge pull request #81 from pascalj/remove-home-path
Lukas Schauer [Sat, 9 Jan 2016 14:51:33 +0000 (15:51 +0100)] 
Merge pull request #81 from pascalj/remove-home-path

Remove home path from config.sh.example

9 years agoRemove home path from config.sh.example 81/head
Pascal Jungblut [Sat, 9 Jan 2016 14:13:09 +0000 (15:13 +0100)] 
Remove home path from config.sh.example

9 years agocall mktemp with `-t XXXXXX` for compatibility with older BSD versions
Lukas Schauer [Sat, 9 Jan 2016 00:38:44 +0000 (01:38 +0100)] 
call mktemp with `-t XXXXXX` for compatibility with older BSD versions

9 years agofixed whitespace-stripping, replace all whitespace in domains.txt entries with single...
Lukas Schauer [Fri, 8 Jan 2016 22:03:06 +0000 (23:03 +0100)] 
fixed whitespace-stripping, replace all whitespace in domains.txt entries with single space character (fixes #60 and #78)

9 years agocleanup for dns-01-challenge-support code
Lukas Schauer [Fri, 8 Jan 2016 21:51:57 +0000 (22:51 +0100)] 
cleanup for dns-01-challenge-support code

9 years agomade link in readme clickable
Lukas Schauer [Fri, 8 Jan 2016 21:29:36 +0000 (22:29 +0100)] 
made link in readme clickable

9 years agomoved import notice up in readme
Lukas Schauer [Fri, 8 Jan 2016 21:28:06 +0000 (22:28 +0100)] 
moved import notice up in readme

9 years agoMerge pull request #77 from germeier/master
Lukas Schauer [Fri, 8 Jan 2016 21:26:45 +0000 (22:26 +0100)] 
Merge pull request #77 from germeier/master

add support for dns-01 challenge - try 2

9 years agomoved import scripts from repository to wiki and updated readme a bit
Lukas Schauer [Fri, 8 Jan 2016 21:20:16 +0000 (22:20 +0100)] 
moved import scripts from repository to wiki and updated readme a bit

9 years agoadd support for dns-01 challenge - try 2 77/head
Markus Germeier [Fri, 8 Jan 2016 21:09:27 +0000 (22:09 +0100)] 
add support for dns-01 challenge - try 2

9 years agocheck for mktemp dependency
Lukas Schauer [Fri, 8 Jan 2016 21:01:59 +0000 (22:01 +0100)] 
check for mktemp dependency

9 years agofixed BASEDIR dependent default config values
Lukas Schauer [Fri, 8 Jan 2016 20:55:38 +0000 (21:55 +0100)] 
fixed BASEDIR dependent default config values

9 years agore-set RENEW_DAYS to 30 (got accidentally reverted in one of the previous commits)
Lukas Schauer [Fri, 8 Jan 2016 20:41:47 +0000 (21:41 +0100)] 
re-set RENEW_DAYS to 30 (got accidentally reverted in one of the previous commits)

9 years agomake hook a command line parameter 76/head
Markus Germeier [Fri, 8 Jan 2016 20:05:16 +0000 (21:05 +0100)] 
make hook a command line parameter

9 years agodo not change exit code of loop in command_sign_domains
Lukas Schauer [Fri, 8 Jan 2016 19:33:59 +0000 (20:33 +0100)] 
do not change exit code of loop in command_sign_domains

9 years agochanged urlbase64 helper to also use sed for character replacements
Lukas Schauer [Fri, 8 Jan 2016 19:18:31 +0000 (20:18 +0100)] 
changed urlbase64 helper to also use sed for character replacements

9 years agouse _exiterr helper in a few more places
Lukas Schauer [Fri, 8 Jan 2016 18:48:02 +0000 (19:48 +0100)] 
use _exiterr helper in a few more places

9 years agoadded a few more comments
Lukas Schauer [Fri, 8 Jan 2016 18:45:29 +0000 (19:45 +0100)] 
added a few more comments

9 years agoremoved get_json_array helper, rearranged sign_domain method a bit, made grep for...
Lukas Schauer [Fri, 8 Jan 2016 18:39:20 +0000 (19:39 +0100)] 
removed get_json_array helper, rearranged sign_domain method a bit, made grep for PEM-format-check quiet

9 years agoreturn error on invalid request method in http_request, shortened http_request a bit
Lukas Schauer [Fri, 8 Jan 2016 18:35:55 +0000 (19:35 +0100)] 
return error on invalid request method in http_request, shortened http_request a bit

9 years agoremoved anti_newline helper
Lukas Schauer [Fri, 8 Jan 2016 18:33:18 +0000 (19:33 +0100)] 
removed anti_newline helper

9 years agomoved _openssl helper a bit up to be near the other helper methods
Lukas Schauer [Fri, 8 Jan 2016 18:30:56 +0000 (19:30 +0100)] 
moved _openssl helper a bit up to be near the other helper methods

9 years agorewritten command_revoke method (shortened + changed output to look less like one...
Lukas Schauer [Fri, 8 Jan 2016 18:28:19 +0000 (19:28 +0100)] 
rewritten command_revoke method (shortened + changed output to look less like one of those weird openssl error messages)

9 years agoupdated readme
Lukas Schauer [Fri, 8 Jan 2016 18:26:44 +0000 (19:26 +0100)] 
updated readme

9 years agofixed --domain syntax in test.sh
Lukas Schauer [Fri, 8 Jan 2016 18:25:58 +0000 (19:25 +0100)] 
fixed --domain syntax in test.sh

9 years agorewritten init_system method and parts of command_sign_domains (DOMAINS_TXT handling)
Lukas Schauer [Fri, 8 Jan 2016 18:16:39 +0000 (19:16 +0100)] 
rewritten init_system method and parts of command_sign_domains (DOMAINS_TXT handling)

9 years agorewritten help method to get rid of `column` dependency
Lukas Schauer [Fri, 8 Jan 2016 18:13:50 +0000 (19:13 +0100)] 
rewritten help method to get rid of `column` dependency

9 years agorewritten argument handling and moved to new main() method, added dependency checks...
Lukas Schauer [Fri, 8 Jan 2016 18:10:50 +0000 (19:10 +0100)] 
rewritten argument handling and moved to new main() method, added dependency checks, added _exiterr helper

9 years agorewritten hex2bin method
Lukas Schauer [Fri, 8 Jan 2016 18:02:13 +0000 (19:02 +0100)] 
rewritten hex2bin method

9 years agomoved loading of configuration to seperate method
Lukas Schauer [Fri, 8 Jan 2016 17:59:01 +0000 (18:59 +0100)] 
moved loading of configuration to seperate method

9 years agorenamed _request method to http_request
Lukas Schauer [Fri, 8 Jan 2016 16:59:46 +0000 (17:59 +0100)] 
renamed _request method to http_request

9 years agoMerge pull request #71 from chrisb86/master
Lukas Schauer [Wed, 6 Jan 2016 19:55:23 +0000 (20:55 +0100)] 
Merge pull request #71 from chrisb86/master

Changed shebang of import-certs.sh to #!/usr/bin/env bash

9 years agoChanged shebang of import-certs.sh to #!/usr/bin/env bash 71/head
Christian Busch [Wed, 6 Jan 2016 18:12:08 +0000 (19:12 +0100)] 
Changed shebang of import-certs.sh to #!/usr/bin/env bash

9 years agoMerge pull request #68 from onovy/master
Lukas Schauer [Tue, 5 Jan 2016 14:21:49 +0000 (15:21 +0100)] 
Merge pull request #68 from onovy/master

Renew certificate 30 days before expiration

9 years agoMerge pull request #69 from olf/upstream
Lukas Schauer [Tue, 5 Jan 2016 14:20:56 +0000 (15:20 +0100)] 
Merge pull request #69 from olf/upstream

fix typo in test.sh (ngrok not found)

9 years agofix typo in test.sh (ngrok not found) 69/head
Olaf Peters [Tue, 5 Jan 2016 11:20:36 +0000 (12:20 +0100)] 
fix typo in test.sh (ngrok not found)

9 years agoRenew certificate 30 days before expiration 68/head
Ondřej Nový [Sat, 2 Jan 2016 17:31:42 +0000 (18:31 +0100)] 
Renew certificate 30 days before expiration

According to https://community.letsencrypt.org/t/quick-start-guide/1631
Renewals and Lifetimes:
Certificates from Let's Encrypt are valid for 90 days. We recommend
renewing them every 60 days to provide a nice margin of error.

9 years agoadded license (fixes #63)
Lukas Schauer [Tue, 22 Dec 2015 14:11:39 +0000 (15:11 +0100)] 
added license (fixes #63)

9 years agohide output of grep for pem-format-check
Lukas Schauer [Sun, 20 Dec 2015 18:54:39 +0000 (19:54 +0100)] 
hide output of grep for pem-format-check

9 years agoMerge pull request #59 from erdgeist/master
Lukas Schauer [Sat, 19 Dec 2015 22:34:08 +0000 (23:34 +0100)] 
Merge pull request #59 from erdgeist/master

when using printf, we do not need inline expansion of variables

9 years agowhen using printf, we do not need inline expansion of variables 59/head
Dirk Engling [Sat, 19 Dec 2015 22:26:49 +0000 (23:26 +0100)] 
when using printf, we do not need inline expansion of variables

9 years agowat. removed some unnecessary code.
Lukas Schauer [Sat, 19 Dec 2015 22:24:29 +0000 (23:24 +0100)] 
wat. removed some unnecessary code.

9 years agoreadme: mores infos about WELLKNOWN
Lukas Schauer [Sat, 19 Dec 2015 16:45:24 +0000 (17:45 +0100)] 
readme: mores infos about WELLKNOWN

9 years agoshellcheck fixes
Lukas Schauer [Sat, 19 Dec 2015 01:36:18 +0000 (02:36 +0100)] 
shellcheck fixes

9 years agorevoke: follow symlink, exit with error on non-existing certificate file
Markus Germeier [Wed, 16 Dec 2015 18:30:20 +0000 (19:30 +0100)] 
revoke: follow symlink, exit with error on non-existing certificate file

9 years agoadd perl shebang
Dominik Heidler [Fri, 18 Dec 2015 09:20:10 +0000 (10:20 +0100)] 
add perl shebang

9 years agouse temporary openssl config instead of weird fake fds (fixes #57)
Lukas Schauer [Sat, 19 Dec 2015 00:57:58 +0000 (01:57 +0100)] 
use temporary openssl config instead of weird fake fds (fixes #57)

9 years agoalso test SAN config
Lukas Schauer [Sat, 19 Dec 2015 00:56:04 +0000 (01:56 +0100)] 
also test SAN config

9 years agoformat CA certificate as PEM
Lukas Schauer [Thu, 17 Dec 2015 17:42:36 +0000 (18:42 +0100)] 
format CA certificate as PEM

9 years agonever PASS with content in errorlog
Lukas Schauer [Thu, 17 Dec 2015 17:40:45 +0000 (18:40 +0100)] 
never PASS with content in errorlog

9 years agocheck if renewal works
Lukas Schauer [Thu, 17 Dec 2015 17:33:54 +0000 (18:33 +0100)] 
check if renewal works

9 years agouse different fake-ca for travis tests
Lukas Schauer [Thu, 17 Dec 2015 17:22:01 +0000 (18:22 +0100)] 
use different fake-ca for travis tests

9 years agoRevert "tests are failing because of api limits, removed badge from readme"
Lukas Schauer [Thu, 17 Dec 2015 17:20:53 +0000 (18:20 +0100)] 
Revert "tests are failing because of api limits, removed badge from readme"

This reverts commit 76e2f0dc9c44ad02fa077b6330bcaddeae6c2330.

9 years agotests are failing because of api limits, removed badge from readme
Lukas Schauer [Thu, 17 Dec 2015 14:45:50 +0000 (15:45 +0100)] 
tests are failing because of api limits, removed badge from readme

9 years agooops.. repaired test script
Lukas Schauer [Thu, 17 Dec 2015 14:41:18 +0000 (15:41 +0100)] 
oops.. repaired test script

9 years agoremoved TODO mark from help text on renew of changed domains
Lukas Schauer [Thu, 17 Dec 2015 14:38:57 +0000 (15:38 +0100)] 
removed TODO mark from help text on renew of changed domains

9 years agoadditional tests and show log output if script execution fails
Lukas Schauer [Thu, 17 Dec 2015 14:37:30 +0000 (15:37 +0100)] 
additional tests and show log output if script execution fails

9 years agoforce a renew if given domain name(s) don't match the domain name(s) of the existing...
Markus Germeier [Wed, 16 Dec 2015 20:36:23 +0000 (21:36 +0100)] 
force a renew if given domain name(s) don't match the domain name(s) of the existing cert

9 years agoMerge pull request #54 from germeier/fixdomainparameter
Lukas Schauer [Wed, 16 Dec 2015 19:34:53 +0000 (20:34 +0100)] 
Merge pull request #54 from germeier/fixdomainparameter

fix: --domain/-d is a parameter and not a command!

9 years agofixed test.sh script 54/head
Markus Germeier [Wed, 16 Dec 2015 19:03:43 +0000 (20:03 +0100)] 
fixed test.sh script

9 years agofix: --domain/-d is a parameter and not a command!
Markus Germeier [Wed, 16 Dec 2015 18:48:48 +0000 (19:48 +0100)] 
fix: --domain/-d is a parameter and not a command!

9 years agomore verbose messages on certificate verification
Lukas Schauer [Wed, 16 Dec 2015 14:10:04 +0000 (15:10 +0100)] 
more verbose messages on certificate verification

9 years agotest for force-resign
Lukas Schauer [Wed, 16 Dec 2015 14:03:20 +0000 (15:03 +0100)] 
test for force-resign

9 years agoa bit more verbose on tests
Lukas Schauer [Wed, 16 Dec 2015 13:51:53 +0000 (14:51 +0100)] 
a bit more verbose on tests

9 years agorearranged and extended travis tests a bit
Lukas Schauer [Wed, 16 Dec 2015 12:58:49 +0000 (13:58 +0100)] 
rearranged and extended travis tests a bit

9 years agoreplace pcre-ism with posix class (thanks to @awaw, fixes #52)
Lukas Schauer [Wed, 16 Dec 2015 12:46:33 +0000 (13:46 +0100)] 
replace pcre-ism with posix class (thanks to @awaw, fixes #52)

9 years agodo not create WELLKNOWN directory, output error message if directory is missing
Lukas Schauer [Wed, 16 Dec 2015 12:03:48 +0000 (13:03 +0100)] 
do not create WELLKNOWN directory, output error message if directory is missing

9 years agoswitch to sign_domains command if domain parameter is given
Lukas Schauer [Wed, 16 Dec 2015 11:59:13 +0000 (12:59 +0100)] 
switch to sign_domains command if domain parameter is given

9 years agochanged default command to 'help'
Lukas Schauer [Wed, 16 Dec 2015 11:54:51 +0000 (12:54 +0100)] 
changed default command to 'help'

9 years agodo not return exit code 1 if domains.txt is empty, fixes #51
Lukas Schauer [Wed, 16 Dec 2015 11:48:11 +0000 (12:48 +0100)] 
do not return exit code 1 if domains.txt is empty, fixes #51

9 years agowrite error messages to stderr
Lukas Schauer [Wed, 16 Dec 2015 00:09:40 +0000 (01:09 +0100)] 
write error messages to stderr

9 years agohandle whitespace in domains.txt a bit different to be compatible with bsd sed, hopef...
Lukas Schauer [Tue, 15 Dec 2015 23:50:42 +0000 (00:50 +0100)] 
handle whitespace in domains.txt a bit different to be compatible with bsd sed, hopefully fixes #45

9 years agoMerge pull request #49 from germeier/commands2
Lukas Schauer [Tue, 15 Dec 2015 22:48:43 +0000 (23:48 +0100)] 
Merge pull request #49 from germeier/commands2

remove command --sign in favor of two parameters "--force" and "--domain"

9 years agoremove --sign in favor of two options "--force" and "--domain" (try 2) 49/head
Markus Germeier [Tue, 15 Dec 2015 19:56:07 +0000 (20:56 +0100)] 
remove --sign in favor of two options "--force" and "--domain" (try 2)

9 years agoMerge pull request #44 from digint/bugfix_config_private_key
Lukas Schauer [Mon, 14 Dec 2015 17:21:14 +0000 (18:21 +0100)] 
Merge pull request #44 from digint/bugfix_config_private_key

bugfix: keep configured PRIVATE_KEY

9 years agobugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this variable after... 44/head
Axel Burri [Mon, 14 Dec 2015 17:08:52 +0000 (18:08 +0100)] 
bugfix: PRIVATE_KEY is now configurable in config.sh, don't alter this variable after set_defaults()

9 years agoupdated readme
Lukas Schauer [Mon, 14 Dec 2015 14:03:10 +0000 (15:03 +0100)] 
updated readme

9 years agofixed travis config? maybe. again.
Lukas Schauer [Mon, 14 Dec 2015 13:44:38 +0000 (14:44 +0100)] 
fixed travis config? maybe. again.

9 years agofixed travis config? maybe.
Lukas Schauer [Mon, 14 Dec 2015 13:39:31 +0000 (14:39 +0100)] 
fixed travis config? maybe.