
From david.a.zoller@nasa.gov  Fri May 10 08:05:01 2013
Return-Path: <david.a.zoller@nasa.gov>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AF33F21F8B2B for <dtn-security@ietfa.amsl.com>; Fri, 10 May 2013 08:05:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pGZKE64TnOSw for <dtn-security@ietfa.amsl.com>; Fri, 10 May 2013 08:04:55 -0700 (PDT)
Received: from ndjsnpf03.ndc.nasa.gov (ndjsnpf03.ndc.nasa.gov [IPv6:2001:4d0:a302:1100::103]) by ietfa.amsl.com (Postfix) with ESMTP id 5B78521F8B54 for <dtn-security@irtf.org>; Fri, 10 May 2013 08:04:52 -0700 (PDT)
Received: from ndmsppt103.ndc.nasa.gov (NDMSPPT103.ndc.nasa.gov [198.117.0.68]) by ndjsnpf03.ndc.nasa.gov (Postfix) with ESMTP id EA0FC2D8040 for <dtn-security@irtf.org>; Fri, 10 May 2013 10:04:51 -0500 (CDT)
Received: from ndmshub02.ndc.nasa.gov (ndmshub02-pub.ndc.nasa.gov [198.117.0.161]) by ndmsppt103.ndc.nasa.gov (8.14.5/8.14.5) with ESMTP id r4AF4pNT008241 for <dtn-security@irtf.org>; Fri, 10 May 2013 10:04:51 -0500
Received: from NDMSSCC05.ndc.nasa.gov ([198.117.2.175]) by ndmshub02.ndc.nasa.gov ([198.117.2.161]) with mapi; Fri, 10 May 2013 10:04:51 -0500
From: "Zoller, David A. (MSFC-EO50)[HOSC SERVICES CONTRACT]" <david.a.zoller@nasa.gov>
To: dtn-security <dtn-security@irtf.org>
Date: Fri, 10 May 2013 10:04:49 -0500
Thread-Topic: BSP mutable canonicalization of CBHE
Thread-Index: Ac5NjSKhKlX5lVhbTO6In/E8TlBZPA==
Message-ID: <04E3D99A62496240BCD6A576813E6E31E0C71676EC@NDMSSCC05.ndc.nasa.gov>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_04E3D99A62496240BCD6A576813E6E31E0C71676ECNDMSSCC05ndcn_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-10_04:2013-05-10, 2013-05-10, 1970-01-01 signatures=0
Subject: [dtn-security] BSP mutable canonicalization of CBHE
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 May 2013 15:05:01 -0000

--_000_04E3D99A62496240BCD6A576813E6E31E0C71676ECNDMSSCC05ndcn_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Noticed while looking through the new DTN2 ciphersuite code...
Is there a specification of the BSP mutable canonicalization of a primary h=
eader in Compressed Bundle Header Encoding format (RFC 6260)?
Would you generate the string "ipn:<scheme offset>:<ssp offset>" and use th=
at for the EIDs and lengths?
And use "dtn:none" for the case where the offsets are both zero?
Thanks,
DZ

--_000_04E3D99A62496240BCD6A576813E6E31E0C71676ECNDMSSCC05ndcn_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CONTENT=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'f=
ont-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Noticed w=
hile looking through the new DTN2 ciphersuite code&#8230;<o:p></o:p></span>=
</p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calib=
ri","sans-serif";color:#1F497D'>Is there a specification of the BSP mutable=
 canonicalization of a primary header in Compressed Bundle Header Encoding =
format (RFC 6260)?<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D=
'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Would y=
ou generate the string &#8220;ipn:&lt;scheme offset&gt;:&lt;ssp offset&gt;&=
#8221; and use that for the EIDs and lengths?<o:p></o:p></span></p><p class=
=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri","sans-se=
rif";color:#1F497D'>And use &#8220;dtn:none&#8221; for the case where the o=
ffsets are both zero?<o:p></o:p></span></p><div><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>T=
hanks,<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:1=
0.0pt;font-family:"Arial","sans-serif";color:#1F497D'>DZ</span><span style=
=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p=
></o:p></span></p></div></div></body></html>=

--_000_04E3D99A62496240BCD6A576813E6E31E0C71676ECNDMSSCC05ndcn_--

From scott.c.burleigh@jpl.nasa.gov  Fri May 10 08:26:02 2013
Return-Path: <scott.c.burleigh@jpl.nasa.gov>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D208D21F8521 for <dtn-security@ietfa.amsl.com>; Fri, 10 May 2013 08:26:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level: 
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nibhJy3n1ksq for <dtn-security@ietfa.amsl.com>; Fri, 10 May 2013 08:25:56 -0700 (PDT)
Received: from mail.jpl.nasa.gov (sentrion2.jpl.nasa.gov [128.149.139.106]) by ietfa.amsl.com (Postfix) with ESMTP id 6234E21F81FE for <dtn-security@irtf.org>; Fri, 10 May 2013 08:25:54 -0700 (PDT)
Received: from mail.jpl.nasa.gov (ap-ehub-sp02.jpl.nasa.gov [128.149.137.149]) by smtp.jpl.nasa.gov (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r4AFPrsx008417 (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits) verified NO); Fri, 10 May 2013 08:25:53 -0700
Received: from AP-EMBX-SP40.RES.AD.JPL ([169.254.7.50]) by ap-ehub-sp02.RES.AD.JPL ([fe80::dd85:7b07:1e36:7e3c%15]) with mapi id 14.02.0342.003; Fri, 10 May 2013 08:25:53 -0700
From: "Burleigh, Scott C (313B)" <scott.c.burleigh@jpl.nasa.gov>
To: "Zoller, David A. (MSFC-EO50)[HOSC SERVICES CONTRACT]" <david.a.zoller@nasa.gov>, dtn-security <dtn-security@irtf.org>
Thread-Topic: BSP mutable canonicalization of CBHE
Thread-Index: Ac5NjSKhKlX5lVhbTO6In/E8TlBZPAABGsPA
Date: Fri, 10 May 2013 15:25:52 +0000
Message-ID: <A5BEAD028815CB40A32A5669CF737C3B235CACE0@ap-embx-sp40.RES.AD.JPL>
References: <04E3D99A62496240BCD6A576813E6E31E0C71676EC@NDMSSCC05.ndc.nasa.gov>
In-Reply-To: <04E3D99A62496240BCD6A576813E6E31E0C71676EC@NDMSSCC05.ndc.nasa.gov>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [128.149.137.26]
Content-Type: multipart/alternative; boundary="_000_A5BEAD028815CB40A32A5669CF737C3B235CACE0apembxsp40RESAD_"
MIME-Version: 1.0
X-Source-Sender: scott.c.burleigh@jpl.nasa.gov
X-AUTH: Authorized
Subject: Re: [dtn-security] BSP mutable canonicalization of CBHE
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 May 2013 15:26:02 -0000

--_000_A5BEAD028815CB40A32A5669CF737C3B235CACE0apembxsp40RESAD_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Interesting question, David.  I would say there's no problem, though, becau=
se the CBHE specification says that (formally) the compression happens at t=
he convergence layer, after the bundle has been queued for forwarding.  All=
 of the BSP signing and encryption procedures should already have been perf=
ormed prior to this time - i.e., on the original uncompressed bundle - when=
 all EIDs still existed in string form to support canonicalization.

Scott

From: dtn-security-bounces@irtf.org [mailto:dtn-security-bounces@irtf.org] =
On Behalf Of Zoller, David A. (MSFC-EO50)[HOSC SERVICES CONTRACT]
Sent: Friday, May 10, 2013 8:05 AM
To: dtn-security
Subject: [dtn-security] BSP mutable canonicalization of CBHE

Noticed while looking through the new DTN2 ciphersuite code...
Is there a specification of the BSP mutable canonicalization of a primary h=
eader in Compressed Bundle Header Encoding format (RFC 6260)?
Would you generate the string "ipn:<scheme offset>:<ssp offset>" and use th=
at for the EIDs and lengths?
And use "dtn:none" for the case where the offsets are both zero?
Thanks,
DZ

--_000_A5BEAD028815CB40A32A5669CF737C3B235CACE0apembxsp40RESAD_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Interesting question, Dav=
id.&nbsp; I would say there&#8217;s no problem, though, because the CBHE sp=
ecification says that (formally) the compression happens at the convergence
 layer, after the bundle has been queued for forwarding.&nbsp; All of the B=
SP signing and encryption procedures should already have been performed pri=
or to this time &#8211; i.e., on the original uncompressed bundle &#8211; w=
hen all EIDs still existed in string form to support
 canonicalization.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Scott<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> dtn-secu=
rity-bounces@irtf.org [mailto:dtn-security-bounces@irtf.org]
<b>On Behalf Of </b>Zoller, David A. (MSFC-EO50)[HOSC SERVICES CONTRACT]<br=
>
<b>Sent:</b> Friday, May 10, 2013 8:05 AM<br>
<b>To:</b> dtn-security<br>
<b>Subject:</b> [dtn-security] BSP mutable canonicalization of CBHE<o:p></o=
:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Noticed while looking thr=
ough the new DTN2 ciphersuite code&#8230;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Is there a specification =
of the BSP mutable canonicalization of a primary header in Compressed Bundl=
e Header Encoding format (RFC 6260)?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Would you generate the st=
ring &#8220;ipn:&lt;scheme offset&gt;:&lt;ssp offset&gt;&#8221; and use tha=
t for the EIDs and lengths?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">And use &#8220;dtn:none&#=
8221; for the case where the offsets are both zero?<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D">DZ</span><span style=3D"fon=
t-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:=
#1F497D"><o:p></o:p></span></p>
</div>
</div>
</body>
</html>

--_000_A5BEAD028815CB40A32A5669CF737C3B235CACE0apembxsp40RESAD_--

From david.a.zoller@nasa.gov  Fri May 10 10:55:35 2013
Return-Path: <david.a.zoller@nasa.gov>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AF0821F86D8 for <dtn-security@ietfa.amsl.com>; Fri, 10 May 2013 10:55:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TUBG3A5ETxIS for <dtn-security@ietfa.amsl.com>; Fri, 10 May 2013 10:55:29 -0700 (PDT)
Received: from ndmsnpf02.ndc.nasa.gov (ndmsnpf02.ndc.nasa.gov [IPv6:2001:4d0:8302:1100::102]) by ietfa.amsl.com (Postfix) with ESMTP id 4E2E921F86DD for <dtn-security@irtf.org>; Fri, 10 May 2013 10:55:28 -0700 (PDT)
Received: from ndmsppt104.ndc.nasa.gov (NDMSPPT104.ndc.nasa.gov [198.117.0.69]) by ndmsnpf02.ndc.nasa.gov (Postfix) with ESMTP id 53844D0043; Fri, 10 May 2013 12:55:24 -0500 (CDT)
Received: from ndmshub05.ndc.nasa.gov (ndmshub05.ndc.nasa.gov [198.117.2.164]) by ndmsppt104.ndc.nasa.gov (8.14.5/8.14.5) with ESMTP id r4AHtO7v013154; Fri, 10 May 2013 12:55:24 -0500
Received: from NDMSSCC05.ndc.nasa.gov ([198.117.2.175]) by ndmshub05.ndc.nasa.gov ([198.117.2.164]) with mapi; Fri, 10 May 2013 12:55:24 -0500
From: "Zoller, David A. (MSFC-EO50)[HOSC SERVICES CONTRACT]" <david.a.zoller@nasa.gov>
To: "Burleigh, Scott C (JPL-313B)[Jet Propulsion Laboratory]" <scott.c.burleigh@jpl.nasa.gov>, dtn-security <dtn-security@irtf.org>
Date: Fri, 10 May 2013 12:55:23 -0500
Thread-Topic: BSP mutable canonicalization of CBHE
Thread-Index: Ac5NjSKhKlX5lVhbTO6In/E8TlBZPAABGsPAAAM/VlA=
Message-ID: <04E3D99A62496240BCD6A576813E6E31E0C7167843@NDMSSCC05.ndc.nasa.gov>
References: <04E3D99A62496240BCD6A576813E6E31E0C71676EC@NDMSSCC05.ndc.nasa.gov> <A5BEAD028815CB40A32A5669CF737C3B235CACE0@ap-embx-sp40.RES.AD.JPL>
In-Reply-To: <A5BEAD028815CB40A32A5669CF737C3B235CACE0@ap-embx-sp40.RES.AD.JPL>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_04E3D99A62496240BCD6A576813E6E31E0C7167843NDMSSCC05ndcn_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-10_04:2013-05-10, 2013-05-10, 1970-01-01 signatures=0
Subject: Re: [dtn-security] BSP mutable canonicalization of CBHE
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 May 2013 17:55:35 -0000

--_000_04E3D99A62496240BCD6A576813E6E31E0C7167843NDMSSCC05ndcn_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Agreed. I believe this may have uncovered a non-conformant implementation o=
f 6260 in DTN2. The CBHE is done at the block processing level instead of t=
he CLA and in the receive processing does not re-create the uncompressed pr=
imary block needed for BSP validation.
Thanks and I'll investigate further,
DZ

From: Burleigh, Scott C (313B) [mailto:scott.c.burleigh@jpl.nasa.gov]
Sent: Friday, May 10, 2013 10:26 AM
To: Zoller, David A. (MSFC-EO50)[HOSC SERVICES CONTRACT]; dtn-security
Subject: RE: BSP mutable canonicalization of CBHE

Interesting question, David.  I would say there's no problem, though, becau=
se the CBHE specification says that (formally) the compression happens at t=
he convergence layer, after the bundle has been queued for forwarding.  All=
 of the BSP signing and encryption procedures should already have been perf=
ormed prior to this time - i.e., on the original uncompressed bundle - when=
 all EIDs still existed in string form to support canonicalization.

Scott

From: dtn-security-bounces@irtf.org<mailto:dtn-security-bounces@irtf.org> [=
mailto:dtn-security-bounces@irtf.org] On Behalf Of Zoller, David A. (MSFC-E=
O50)[HOSC SERVICES CONTRACT]
Sent: Friday, May 10, 2013 8:05 AM
To: dtn-security
Subject: [dtn-security] BSP mutable canonicalization of CBHE

Noticed while looking through the new DTN2 ciphersuite code...
Is there a specification of the BSP mutable canonicalization of a primary h=
eader in Compressed Bundle Header Encoding format (RFC 6260)?
Would you generate the string "ipn:<scheme offset>:<ssp offset>" and use th=
at for the EIDs and lengths?
And use "dtn:none" for the case where the offsets are both zero?
Thanks,
DZ

--_000_04E3D99A62496240BCD6A576813E6E31E0C7167843NDMSSCC05ndcn_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CONTENT=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'f=
ont-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Agreed. I=
 believe this may have uncovered a non-conformant implementation of 6260 in=
 DTN2. The CBHE is done at the block processing level instead of the CLA an=
d in the receive processing does not re-create the uncompressed primary blo=
ck needed for BSP validation. &nbsp;<o:p></o:p></span></p><p class=3DMsoNor=
mal><span style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";colo=
r:#1F497D'>Thanks and I&#8217;ll investigate further,<o:p></o:p></span></p>=
<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";color:#1F497D'>DZ<o:p></o:p></span></p><p class=3DMsoNormal><s=
pan style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F4=
97D'><o:p>&nbsp;</o:p></span></p><div><div style=3D'border:none;border-top:=
solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><spa=
n style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Bur=
leigh, Scott C (313B) [mailto:scott.c.burleigh@jpl.nasa.gov] <br><b>Sent:</=
b> Friday, May 10, 2013 10:26 AM<br><b>To:</b> Zoller, David A. (MSFC-EO50)=
[HOSC SERVICES CONTRACT]; dtn-security<br><b>Subject:</b> RE: BSP mutable c=
anonicalization of CBHE<o:p></o:p></span></p></div></div><p class=3DMsoNorm=
al><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span style=3D'font-size:11.0p=
t;font-family:"Calibri","sans-serif";color:#1F497D'>Interesting question, D=
avid.&nbsp; I would say there&#8217;s no problem, though, because the CBHE =
specification says that (formally) the compression happens at the convergen=
ce layer, after the bundle has been queued for forwarding.&nbsp; All of the=
 BSP signing and encryption procedures should already have been performed p=
rior to this time &#8211; i.e., on the original uncompressed bundle &#8211;=
 when all EIDs still existed in string form to support canonicalization.<o:=
p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;fon=
t-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p>=
<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";color:#1F497D'>Scott<o:p></o:p></span></p><p class=3DMsoNormal=
><span style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#=
1F497D'><o:p>&nbsp;</o:p></span></p><div><div style=3D'border:none;border-t=
op:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><=
span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</sp=
an></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
<a href=3D"mailto:dtn-security-bounces@irtf.org">dtn-security-bounces@irtf.=
org</a> [<a href=3D"mailto:dtn-security-bounces@irtf.org">mailto:dtn-securi=
ty-bounces@irtf.org</a>] <b>On Behalf Of </b>Zoller, David A. (MSFC-EO50)[H=
OSC SERVICES CONTRACT]<br><b>Sent:</b> Friday, May 10, 2013 8:05 AM<br><b>T=
o:</b> dtn-security<br><b>Subject:</b> [dtn-security] BSP mutable canonical=
ization of CBHE<o:p></o:p></span></p></div></div><p class=3DMsoNormal><o:p>=
&nbsp;</o:p></p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-f=
amily:"Calibri","sans-serif";color:#1F497D'>Noticed while looking through t=
he new DTN2 ciphersuite code&#8230;<o:p></o:p></span></p><p class=3DMsoNorm=
al><span style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color=
:#1F497D'>Is there a specification of the BSP mutable canonicalization of a=
 primary header in Compressed Bundle Header Encoding format (RFC 6260)?<o:p=
></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;font=
-family:"Calibri","sans-serif";color:#1F497D'>Would you generate the string=
 &#8220;ipn:&lt;scheme offset&gt;:&lt;ssp offset&gt;&#8221; and use that fo=
r the EIDs and lengths?<o:p></o:p></span></p><p class=3DMsoNormal><span sty=
le=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>An=
d use &#8220;dtn:none&#8221; for the case where the offsets are both zero?<=
o:p></o:p></span></p><div><p class=3DMsoNormal><span style=3D'font-size:10.=
0pt;font-family:"Arial","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></spa=
n></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Ari=
al","sans-serif";color:#1F497D'>DZ</span><span style=3D'font-size:11.0pt;fo=
nt-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p></div=
></div></body></html>=

--_000_04E3D99A62496240BCD6A576813E6E31E0C7167843NDMSSCC05ndcn_--
