Re: [dmarc-ietf] DKIM

Erik Lax <erik@halon.se> Wed, 24 April 2019 12:03 UTC

Return-Path: <erik@halon.se>
X-Original-To: dmarc@ietfa.amsl.com
Delivered-To: dmarc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2672D12006B for <dmarc@ietfa.amsl.com>; Wed, 24 Apr 2019 05:03:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=halon.se header.b=Ebl96Rrs; dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=halon.se header.b=xKaUpKMI
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RXkLu3ts3FjD for <dmarc@ietfa.amsl.com>; Wed, 24 Apr 2019 05:03:04 -0700 (PDT)
Received: from se1-gles-flk1.inumbo.com (se1-gles-flk1.inumbo.com [IPv6:2a02:750:1::161:babe]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DF422120145 for <dmarc@ietf.org>; Wed, 24 Apr 2019 05:03:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=halon.se; s=spaceship2; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:to:subject:from; bh=Cd3/sMpqUH8vcaz4sUA5hgWA19JmUENS+V7ZNZBkfi4=; b=Ebl96Rrsiwl2S51NyukktmmIyzsx59ucoXCpeO0T2Lva2+LLXO4175kjXsk5phLg5AKQk6z4hMi5H 65oIf4M/aBsZdT0fevnqE9SIbcFKKifisVET5Wy8CJu1V8OaLqz3Pi0lk3bIDEo6Cx8HG6/W5S8mkF wGYnPRAXFye/J3sxPJ6mKPz1zvUN84PHAh8+WwjWJtqXDMBrIngP8uprZ57y9R/AiWzb11IHrnmsAi S4YkjVbEuXCLvHkn1u71drQjnk4R8pTB7XdfBjCC08TnpKKjLbIxKitQmm0vT9yjPVq3luKEB2yeNQ 6Ug0+/QHsz43Qi+agEayYI4XzA9s4Fw==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=halon.se; s=rocketship1; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:to:subject:from; bh=Cd3/sMpqUH8vcaz4sUA5hgWA19JmUENS+V7ZNZBkfi4=; b=xKaUpKMIpJ5H6/igvaKvWF55tBb0GkkcsiWN5vlY7FqALk5JyiCMWGEKLmuk2rVtoY0O+YQsaC5lJ qqpULnzBA==
X-Inumbo-Out-ID: e771ee73-6688-11e9-a99d-bdd877a52a68
X-Inumbo-Cookie: f98a7681a392d6505ab172aab160ce7195d1a355
ARC-Seal: i=1; a=rsa-sha256; t=1556107380; cv=none; d=halon.se; s=spaceship2; b=g4XgBqb2vCKjFbeT27a/47ZKmHV3c/rACfOTscZiqGIlFuSQgfXkk02JDROEuf1zBziCqt2rzD6cI EYMYPhAmgCuHhbP4UgcKQs0qHMqECjFA1yCepRlhbPogk5faEWJBs7mPEM+EfUfAdM66af3SbYtifm jnINHgJS1qpfplVI5ZBge8MKmaUHOCMTTmBdQNZhcaiHZYad+Yr7iN1VBrc+9YsmWX7Yetf9TQtEAi pMQJd3ZYxkuYMMsczsbwqXQUavmNlfzghwJSNNGMrNIRbqlx6rdaGwiaEj4TtiViP2fAnxCSYIxAW4 XU9/joo7TMLT+R05LMfM/H1g4biE2iw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=halon.se; s=spaceship2; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:to:subject:from; bh=Cd3/sMpqUH8vcaz4sUA5hgWA19JmUENS+V7ZNZBkfi4=; b=lgnHvenZK9Ae0BzULXuNuQQ+8JvsYeWSjT/eDVpRtLqv9xQeLAXNF8qfdQeSE5DluwzQU0UWmr7nY DrWRFFqzx8pJZCfwCh4B43e2zbAuQec7DXETxfr+h0qFjuBeiyg5GSVk0Np/9BtypbeNALNKhfjQMU fhMMJUK0kI0y/FQzLpFaUy8W1B8PqQow0xb9E/SVM+1y88uEDsK/qF5X92D84AmJLh1yuOk3i5LWpt 5TYbQji1K7LNIfUtc1+ZC5wmlXkQY0Jbw/zjm5CLfq0CgwIvqJlfhUvLbVoCWHEDHQ1rsboXUeqRXs hO1UQPRT72SahG/ArGxQhebeQKje9vw==
ARC-Authentication-Results: i=1; se1-gles-flk1.inumbo.com; auth=pass;
Received: from mail.halon.se (unknown [212.85.68.184]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPSA id e771ee73-6688-11e9-a99d-bdd877a52a68; Wed, 24 Apr 2019 14:02:59 +0200 (CEST)
Received: from Eriks-MacBook-Pro.local (unknown [10.2.50.15]) (Authenticated sender: erik) by mail.halon.se (Postfix) with ESMTPSA id 830214E04E for <dmarc@ietf.org>; Wed, 24 Apr 2019 14:02:59 +0200 (CEST)
To: dmarc@ietf.org
References: <5CBFC3C6.2000107@isdg.net> <1171c16a35e2285d95f00c0dd01d31c99c273d1b.camel@aegee.org>
From: Erik Lax <erik@halon.se>
Message-ID: <ce3f442e-8111-9d34-4fe4-c24205ef57bf@halon.se>
Date: Wed, 24 Apr 2019 14:02:58 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <1171c16a35e2285d95f00c0dd01d31c99c273d1b.camel@aegee.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/SalwrHQJMLlozLONWEwmPlc3FDU>
Subject: Re: [dmarc-ietf] DKIM
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Domain-based Message Authentication, Reporting, and Compliance \(DMARC\)" <dmarc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmarc>, <mailto:dmarc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmarc/>
List-Post: <mailto:dmarc@ietf.org>
List-Help: <mailto:dmarc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmarc>, <mailto:dmarc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Apr 2019 12:03:06 -0000

And this using libsodium

https://github.com/halon/libdkimpp/commit/7e73f5b6a115b2cfdf8122824575b321d1c114f2

Regards
Erik

On 2019-04-24 13:34, Дилян Палаузов wrote:
> Hello Hector,
>
> you can check
>
> https://github.com/Exim/exim/commit/286b9d5fa4344de72fe6575fa089237 (Exim+GnuTLS)
>
> or
>
> https://github.com/trusteddomainproject/OpenDKIM/commit/35bf6c901a2 (OpenDKIM+OpenSSL)
>
> and the last discussion at https://mailarchive.ietf.org/arch/browse/dcrup/ (dcrup@ietf.org) .
>
> Regards
>    Дилян
>
>
> On Tue, 2019-04-23 at 22:02 -0400, Hector Santos wrote:
>> Can anyone provide me some C/C++ or pseudo-code to do DKIM ecdhc
>> encryption?... Using OpenSSL API in v1.1 format?
>>
>> Thanks
>>
>> PS: Not sure where to post this, but it equally applies to OpenSSL at
>> GitHub.
>>
> _______________________________________________
> dmarc mailing list
> dmarc@ietf.org
> https://www.ietf.org/mailman/listinfo/dmarc