aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-11 17:30:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-11 17:30:05 +0100
commit15a5ad7fa3b877472b5ee7e14883623763eb2bed (patch)
treea6960b03f4359e5d08161c45023fe3a6e39c11f2 /test/functional/configs
parent4ac5ff0349cc5d2c1f2475167f6444fef11cf252 (diff)
downloadrspamd-15a5ad7fa3b877472b5ee7e14883623763eb2bed.tar.gz
rspamd-15a5ad7fa3b877472b5ee7e14883623763eb2bed.zip
[Test] Add ed25519 tests
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/dkim.conf49
1 files changed, 27 insertions, 22 deletions
diff --git a/test/functional/configs/dkim.conf b/test/functional/configs/dkim.conf
index b10cff0c4..d3593a12d 100644
--- a/test/functional/configs/dkim.conf
+++ b/test/functional/configs/dkim.conf
@@ -1,33 +1,38 @@
options = {
- filters = ["dkim"]
- pidfile = "${TMPDIR}/rspamd.pid"
- dns {
- retransmits = 10;
- timeout = 2s;
- }
+ filters = ["dkim"]
+ pidfile = "${TMPDIR}/rspamd.pid"
+ dns {
+ retransmits = 10;
+ timeout = 2s;
+ fake_records = [{ # ed25519
+ name = "test._domainkey.example.com";
+ type = txt;
+ replies = ["k=ed25519; p=yi50DjK5O9pqbFpNHklsv9lqaS0ArSYu02qp1S0DW1Y="];
+ }];
+ }
}
logging = {
- type = "file",
- level = "debug"
- filename = "${TMPDIR}/rspamd.log"
+ type = "file",
+ level = "debug"
+ filename = "${TMPDIR}/rspamd.log"
}
metric = {
- name = "default",
- actions = {
- reject = 100500,
- }
- unknown_weight = 1
+ name = "default",
+ actions = {
+ reject = 100500,
+ }
+ unknown_weight = 1
}
worker {
- type = normal
- bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL}
- count = 1
- keypair {
- pubkey = "${KEY_PUB1}";
- privkey = "${KEY_PVT1}";
- }
- task_timeout = 60s;
+ type = normal
+ bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL}
+ count = 1
+ keypair {
+ pubkey = "${KEY_PUB1}";
+ privkey = "${KEY_PVT1}";
+ }
+ task_timeout = 60s;
}
worker {