DTN Bundle Protocol Security COSE Security Contexts
draft-bsipos-dtn-bpsec-cose-03

Document Type Active Internet-Draft (individual)
Author Brian Sipos 
Last updated 2020-11-16
Stream (None)
Intended RFC status (None)
Formats plain text html xml pdf htmlized (tools) htmlized bibtex
Additional Resources
- GitHub Repository
- GitHub Repository
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Delay-Tolerant Networking                                       B. Sipos
Internet-Draft                                           RKF Engineering
Intended status: Standards Track                        14 November 2020
Expires: 18 May 2021

          DTN Bundle Protocol Security COSE Security Contexts
                     draft-bsipos-dtn-bpsec-cose-03

Abstract

   This document defines a security context suitable for using CBOR
   Object Signing and Encryption (COSE) algorithms within Bundle
   Protocol Security (BPSec) integrity and confidentiality blocks.  A
   profile of COSE is also defined for BPSec interoperation.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 18 May 2021.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Sipos                      Expires 18 May 2021                  [Page 1]
Internet-Draft               DTN BPSec COSE                November 2020

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Scope . . . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.2.  PKIX Environments and CA Policy . . . . . . . . . . . . .   3
   2.  Requirements Language . . . . . . . . . . . . . . . . . . . .   4
   3.  BPSec Security Context  . . . . . . . . . . . . . . . . . . .   4
     3.1.  COSE Security Parameters  . . . . . . . . . . . . . . . .   4
     3.2.  COSE Integrity  . . . . . . . . . . . . . . . . . . . . .   5
     3.3.  COSE Confidentiality  . . . . . . . . . . . . . . . . . .   6
   4.  COSE Profile for BPSec  . . . . . . . . . . . . . . . . . . .   7
     4.1.  COSE Messages . . . . . . . . . . . . . . . . . . . . . .   7
     4.2.  Interoperability Algorithms . . . . . . . . . . . . . . .   8
     4.3.  Asymmetric Key Types and Identifiers  . . . . . . . . . .   9
       4.3.1.  PKIX Certificates . . . . . . . . . . . . . . . . . .  10
   5.  Implementation Status . . . . . . . . . . . . . . . . . . . .  11
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  11
     6.1.  Threat: BPSec Block Replay  . . . . . . . . . . . . . . .  11
     6.2.  Threat: BP Node Impersonation . . . . . . . . . . . . . .  12
     6.3.  Threat: Unidentifiable Key  . . . . . . . . . . . . . . .  12
     6.4.  Threat: Non-Trusted Public Key  . . . . . . . . . . . . .  12
     6.5.  Threat: Passive Leak of Key Material  . . . . . . . . . .  13
     6.6.  Threat: Algorithm Vulnerabilities . . . . . . . . . . . .  13
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  13
     7.1.  BPSec Security Contexts . . . . . . . . . . . . . . . . .  13
   8.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  13
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  13
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  13
     9.2.  Informative References  . . . . . . . . . . . . . . . . .  15
   Appendix A.  Examples . . . . . . . . . . . . . . . . . . . . . .  16
     A.1.  Symmetric Key COSE_Mac0 . . . . . . . . . . . . . . . . .  16
     A.2.  RSA Keypair COSE_Sign1  . . . . . . . . . . . . . . . . .  18
     A.3.  Symmetric Key COSE_Encrypt0 . . . . . . . . . . . . . . .  20
     A.4.  Symmetric KEK COSE_Encrypt  . . . . . . . . . . . . . . .  22
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  25

1.  Introduction

   The Bundle Protocol Security (BPSec) Specification
   [I-D.ietf-dtn-bpsec] defines structure and encoding for Block
   Integrity Block (BIB) and Block Confidentiality Block (BCB) types but
   does not specify any security contexts to be used by either of the
   security block types.  The CBOR Object Signing and Encryption (COSE)
   specification [RFC8152] defines a structure, encoding, and algorithms
Show full document text