Conversation
|
Previously entry looked like this: Now: Hetzner seems to have split single line with one |
|
Would be also nice to use ed25519 keys (https://datatracker.ietf.org/doc/rfc8463/) but maybe they are not that widely supported yet. Otherwise ed25519 keys look very nice and much easier to deal with, you can check some examples at https://www.mailhardener.com/kb/how-to-use-dkim-with-ed25519 There are reports that it is not supported yet by any large email provider: Signing with both will just make outgoing messages larger. |
9d0cc3e to
e354e8a
Compare
e354e8a to
7765cce
Compare
8b899f3 to
cfb89ae
Compare
7765cce to
bf7c367
Compare
|
I rebased it, you can test it. |
bf7c367 to
9ab615b
Compare
|
Hm, the zonefile is not written properly, but cece3dc is no proper fix either, it results in this faulty DNS record: |
|
Ah, that was because it didn't use quotes, and then nsd treats the But 0a0e7f4 doesn't help either, it leads to this error: Which suggests that one line DKIM records are not possible because of DNS limits :/ Maybe we have to drop this approach. |
Should be still possible if we split into multiple strings. They don't have to be on multiple lines. |
9ab615b to
fac2274
Compare
fac2274 to
b008225
Compare
|
I think I fixed it. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
missytake
left a comment
There was a problem hiding this comment.
With the dot at least the zonefile works, but cmdeploy dns still throws an error:
$ cmdeploy dns
Checking your DKIM keys and DNS entries...
[$ ssh root@staging.testrun.org -- acmetool account-url]
[$ ssh root@staging.testrun.org -- openssl rsa -in /etc/dkimkeys/opendkim.private -pubout 2>/dev/null | awk '/-/{next}{printf("%s",$0)}']
Traceback (most recent call last):
File "/home/user/code/chatmail/venv/bin/cmdeploy", line 8, in <module>
sys.exit(main())
File "/home/user/code/chatmail/cmdeploy/src/cmdeploy/cmdeploy.py", line 304, in main
res = args.func(args, out, **kwargs)
File "/home/user/code/chatmail/cmdeploy/src/cmdeploy/cmdeploy.py", line 85, in dns_cmd
exit_code = show_dns(args, out)
File "/home/user/code/chatmail/cmdeploy/src/cmdeploy/dns.py", line 146, in show_dns
if current.replace('" "', "") != value:
AttributeError: 'NoneType' object has no attribute 'replace'
0b2b599 to
2dda9e6
Compare
|
Hm, you force-pushed two times since my last review, did you change more than just the |
a87990d to
1434238
Compare
Generating our own DKIM entry as it is easy to do without
opendkim-genzoneand single line is easier to copy-paste for admins who are using DNS providers with bad web interfaces that require copy-pasting DNS values into single-line fields.Based on #186