Debian Codegraph @

test/functional/cases/320_arc_signing/004_ed25519.robot

raw
1 *** Settings ***
2 Suite Setup Rspamd Setup
3 Suite Teardown Rspamd Teardown
4 Library ${RSPAMD_TESTDIR}/lib/rspamd.py
5 Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot
6 Variables ${RSPAMD_TESTDIR}/lib/vars.py
7
8 *** Variables ***
9 ${CONFIG} ${RSPAMD_TESTDIR}/configs/arc_signing/ed25519.conf
10 ${MESSAGE_RSA} ${RSPAMD_TESTDIR}/messages/dmarc/fail_none.eml
11 ${MESSAGE_ED25519} ${RSPAMD_TESTDIR}/messages/dmarc/ed25519_from.eml
12 ${REDIS_SCOPE} Suite
13 ${RSPAMD_SCOPE} Suite
14 ${RSPAMD_URL_TLD} ${RSPAMD_TESTDIR}/../lua/unit/test_tld.dat
15
16 *** Test Cases ***
17 ARC ED25519 BASIC SIGNING
18 ${result} = Scan Message With Rspamc ${MESSAGE_ED25519} -u [email protected] --mime
19 Should Contain ${result.stdout} ARC_SIGNED
20 Should Contain ${result.stdout} a=ed25519-sha256
21
22 ARC RSA BASIC SIGNING
23 ${result} = Scan Message With Rspamc ${MESSAGE_RSA} -u [email protected] --mime
24 Should Contain ${result.stdout} ARC_SIGNED
25 Should Contain ${result.stdout} a=rsa-sha256