<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Does StrongSwan (5.3.x) support IKEV2 authentication payload RSA signatures using a sha-256 as the hash digest function?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The 5.3.0 change log mentions support for RFC 7427, but it’s not clear if StrongSwan added stronger hash support for both RSA and ECDSA, or just ECDSA.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m testing against another IKE client, which is using sha256 as the digest, and I’m getting this StrongSwan log:<o:p></o:p></p><p class=MsoNormal><b><i> “expected hash algorithm HASH_SHA1, but found HASH_SHA256 (OID: 30:0d:06:09:60:86:48:01:65:03:04:02:01:05:00)”<o:p></o:p></i></b></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Of course changing the other client to a SHA1 digest works, but I’d prefer the stronger hash.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Also came across this old email in the archives:<o:p></o:p></p><pre style='margin-left:45.8pt'><span style='color:black'>Hello Mugur,<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'><o:p> </o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>strongSwan only supports SHA-1 with the RSA Digital Signature AUTH<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>payload but we are planning to support<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'><o:p> </o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'><a href="http://tools.ietf.org/html/draft-kivinen-ipsecme-signature-auth-05">http://tools.ietf.org/html/draft-kivinen-ipsecme-signature-auth-05</a><o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'><o:p> </o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>as soon as the "Signature Authentication in IKEv2" RFC is goint to be<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>published.<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'><o:p> </o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>Best regards<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'><o:p> </o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>Andreas<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'><o:p> </o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>On 28.03.2014 15:09, ABULIUS, MUGUR (MUGUR) wrote:<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>><i> Hello,<o:p></o:p></i></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>><i> Can you please specify if StrongSwan supports for IKEv2 Authentication<o:p></o:p></i></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>><i> Payload<o:p></o:p></i></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>><i> RSA Digital signatures using SHA-256 as hash function?<o:p></o:p></i></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>><i> The RFC 5596 (IKEv2) at “§3.8 Authentication Payload” makes reference to<o:p></o:p></i></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>><i> RSAES-PKCS1-v1_5<o:p></o:p></i></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>><i> signature scheme for which the RFC 3447 includes SHA-256.<o:p></o:p></i></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>><i> Best Regards<o:p></o:p></i></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>><i> Mugur<o:p></o:p></i></span></pre><pre style='margin-left:45.8pt'><span style='color:black'><o:p> </o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>======================================================================<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>Andreas Steffen <a href="https://lists.strongswan.org/mailman/listinfo/users">andreas.steffen at strongswan.org</a><o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>strongSwan - the Open Source VPN Solution! <a href="http://www.strongswan.org">www.strongswan.org</a><o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>Institute for Internet Technologies and Applications<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>University of Applied Sciences Rapperswil<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>CH-8640 Rapperswil (Switzerland)<o:p></o:p></span></pre><pre style='margin-left:45.8pt'><span style='color:black'>===========================================================[ITA-HSR]==<o:p></o:p></span></pre><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks<o:p></o:p></p><p class=MsoNormal>Bob<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>