rspamd
rspamd copied to clipboard
[BUG] ed25519 keys can not be loaded by the ARC module
trafficstars
Prerequisites
- [X] Put an X between the brackets on this line if you have done all of the following:
- Read about bug reporting in general: https://rspamd.com/doc/faq.html#how-to-report-bugs-found-in-rspamd
- Enabled relevant debugging logs: https://rspamd.com/doc/faq.html#how-to-debug-some-module-in-rspamd
- Checked the FAQs about Core files in case of fatal crash: https://rspamd.com/doc/faq.html#how-to-figure-out-why-rspamd-process-crashed
- Tried ASAN package and obtained the ASAN report (if possible): https://rspamd.com/doc/faq.html#asan-builds
- Checked that your issue isn't already filed: https://github.com/issues?utf8=%E2%9C%93&q=is%3Aissue+user%3Arspamd
- Checked that there is not already an experimental package or master branch
Describe the bug Loading ed25519 ARC keys from a file fails.
Steps to Reproduce
- Create an ed25519 key using the rspamd utility
- Configure the ARC module to use it
- Key fails to load (error indicates that it's interpreted as an RSA key)
Expected behavior Ed25519 keys are loaded by the ARC module
Versions
3.4
Additional Information
Previously discussed on Telegram and confirmed to be a bug.
I was trying to make this work today, it also breaks fallback to rsa selector/key file. As soon as you add ed25519 key file to arc it fails so sign emails.