DKIM: highlight found signer

This commit is contained in:
M66B
2024-05-20 16:27:57 +02:00
parent 6abb6dd47d
commit 3e9fa1a7f5
2 changed files with 21 additions and 10 deletions

View File

@@ -2386,7 +2386,9 @@ public class MessageHelper {
}
try {
// https://serverfault.com/questions/591655/what-domain-name-should-appear-in-a-dkim-signature
String signer = kv.get("d");
String dns = kv.get("s") + "._domainkey." + signer;
Log.i("DKIM lookup " + dns);
DnsHelper.DnsRecord[] records = DnsHelper.lookup(context, dns, "txt");