- 09 Jan, 2019 4 commits
-
-
Petr Špaček authored
-
Petr Špaček authored
Formerly keys with invalid public key data were accepted, leading to negative keytag values in RFC 5011 metadata.
-
Petr Špaček authored
At the moment tests are quite dumb and test only basic HTTPS certificate validation and XML parsing/error detection. We need to refactor code first to allow more detailed testing. FIXME: webserv.lua is not terminated when tests are finished
-
Petr Špaček authored
We are not RFC 7958 compliant and support only XML with just root zone TA. Full compliance would require either proper Lua XML parser or CMS parser and both are hard to get packaged in Fedora and elsewhere. Also timestamps related to TA validity are limited to UTC timezone because cross-platform timezone parsing is hard. (Mac OS libc does not have usable strptime(%z).) Closes: #435
-
- 07 Aug, 2018 1 commit
-
-
Vladimír Čunát authored
Previously multiple kresd processes might use the same .lock file at once and thus have a race between writing and renaming. That could happen relatively often if starting many instances *at once*.
-
- 23 Jan, 2018 4 commits
-
-
Petr Špaček authored
-
Petr Špaček authored
-
Vitezslav Kriz authored
Config tests now have ability to run daemon with different arguments and to check exit code.
-
Vitezslav Kriz authored
Arguments --keyfile, -k for managed mode and --keyfile-ro, -K for unmanaged (readonly) mode. Automatic setting based on the file permission is removed because it was confusing and could easily lead to state where automatic update does not happen because of unexpected file permissions. Check if folder is writeable was moved into Lua code. Default unmanaged keyfile path can be specified at compile time with option KEYFILE_DEFAULT. This default configuration can be disabled in configuration file with trust_anchors.keyfile_default = nil.
-
- 04 Dec, 2017 1 commit
-
-
Vitezslav Kriz authored
-
- 28 Nov, 2017 1 commit
-
-
Vitezslav Kriz authored
Also removed priming query from trust anchor module. Updated deckard repository.
-
- 24 Nov, 2017 1 commit
-
-
Marek Vavruša authored
Also fixed improper promotion of `ffi` to global variable. ``` $ luacheck --codes daemon/lua/ Checking daemon/lua/config.lua OK Checking daemon/lua/kres-gen.lua OK Checking daemon/lua/kres.lua OK Checking daemon/lua/sandbox.lua OK Checking daemon/lua/trust_anchors.lua OK Checking daemon/lua/zonefile.lua OK Total: 0 warnings / 0 errors in 6 files ```
-
- 01 Aug, 2017 1 commit
-
-
Vladimír Čunát authored
-
- 21 Mar, 2017 2 commits
-
-
Vladimír Čunát authored
function `add_file` is added as an alias to `config`, but otherwise the interface is almost identical.
-
Vladimír Čunát authored
- update() had nothing to do in the public interface - config() implementation moved out of the definition of the main table
-
- 15 Mar, 2017 1 commit
-
-
Vladimír Čunát authored
Fixes #167.
-
- 28 Feb, 2017 1 commit
-
-
Vladimír Čunát authored
engine_cmd() doesn't print the error() exceptions thrown from lua; it only leaves the message on lua stack. (cherry picked from commit a316b9f7)
-
- 27 Feb, 2017 1 commit
-
-
Vladimír Čunát authored
The format of TA store is compatible both ways with old kresd. Note: it requires the parent commit to work, i.e. new libzscanner.
-
- 13 Feb, 2017 2 commits
-
-
Vladimír Čunát authored
engine_cmd() doesn't print the error() exceptions thrown from lua; it only leaves the message on lua stack.
-
Vladimír Čunát authored
-
- 10 Feb, 2017 2 commits
-
-
Petr Špaček authored
-
Ondřej Surý authored
trust anchor fixes Closes #151 See merge request !193
-
- 09 Feb, 2017 2 commits
-
-
Vladimír Čunát authored
... via trust_anchors.{bootstrap_url,bootstrap_ca}
-
Vladimír Čunát authored
-
- 16 Jan, 2017 3 commits
-
-
Petr Špaček authored
-
Ondřej Surý authored
-
Ondřej Surý authored
-
- 16 Jul, 2016 1 commit
-
-
Daniel Kahn Gillmor authored
-
- 06 Apr, 2016 1 commit
-
-
Marek Vavrusa authored
new trust anchors variables: * trust_anchors.hold_down_time = 30 * day * trust_anchors.refresh_time = nil * trust_anchors.keep_removed = 0 these could be used to control how often should root trust anchors be checked and how many removed keys should be kept in log (0 by default)
-
- 03 Feb, 2016 1 commit
-
-
Marek Vavrusa authored
kresd accepts DS records in root keys if provided, it will eventually replace them with DNSKEY in automatic mode
-
- 30 Jan, 2016 1 commit
-
-
Marek Vavrusa authored
-
- 23 Jan, 2016 1 commit
-
-
Marek Vavrusa authored
the utility supports most of the 'unbound-host' functionality except PTR records
-
- 22 Jan, 2016 1 commit
-
-
Marek Vavrusa authored
when boostrapping root TA, the DNSKEYs are updated immediately after retrieving DS from the side channel
-
- 21 Jan, 2016 2 commits
-
-
Marek Vavrusa authored
the quiet mode doesn't print neither intro messages nor prompt in the interactive mode, which makes it useful for scripted usage
-
Marek Vavrusa authored
-
- 23 Dec, 2015 1 commit
-
-
Marek Vavruša authored
-
- 17 Dec, 2015 1 commit
-
-
Marek Vavruša authored
-
- 10 Dec, 2015 1 commit
-
-
Marek Vavruša authored
-
- 05 Dec, 2015 1 commit
-
-
Marek Vavruša authored
if the root key file doesn’t exist, it will be populated from root DNSKEY query, which will be validated against root trust anchors retrieved over HTTPS with IANA cert verification against built-in current IANA cert CA. it requires luasocket and luasec for it to work. trust anchors XML file signature is not checked, as there’s no facility for PKCS7 checking yet.
-
- 12 Nov, 2015 1 commit
-
-
Marek Vavruša authored
-