Network Working Group J. Vehent
Internet-Draft Mozilla
Expires: December 13, 2019 June 11, 2019

The Sops Document Format
draft-sops-latest

Abstract

The Sops document format stores configuration files in a structured format that protect the confidentiality of values and the integrity of the entire document.

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 December 13, 2019.

Copyright Notice

Copyright (c) 2019 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.


Table of Contents

1. Introduction

The primary goal of Sops is to provide a secure and practical way to manage configuration files. Its intended audience is operational groups that engineer deployment systems for their infrastructure.

The Sops document format is best used with structured file formats, such as JSON or YAML. In those formats, Sops guarantees the confidentiality of configuration values stored in a given file, but does not protect the confidentiality of the document structure. Storing the document structure in cleartext allows for better integration with infrastructure management and versions control tools.

In addition to confidentiality, Sops guarantees the integrity of a document to protect against malicious addition, removal and reordering of configuration values.

Sops is a specialized document format and is not meant to cover the confidentiality needs of the general population.

2. Conventions and Terminology

The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in BCP 14 when, and only when, they appear in all capitals, as shown here.

The following terms are used:

3. Sops Design Rationale and Overview (#sops-rational)

The operation of internet services requires operational teams to manage configuration files that contain sensitive information, such as cryptographic keys and password. Leaking or modifying this information can have critical consequence on services and their users, and it is thus a primary concern of operation teams to maintain the security of configuration files.

The Sops document format provides confidentiality and integrity guarantees to safely manage configuration files while offering features that facilitate integration with operational practices, such as:

foo

3.1. Document key encryption (#doc-key-encrypt)

At a minimum, implementations of the Sops document format SHOULD support master key protocols OpenPGP, RSA OAEP and AES256-GCM.

4. Document Encoding and Decoding (#encoding-decoding)

foo

5. Document Key Splitting (#document-key-splitting)

foo

6. Contributors

Many people have contributed to the Sops open source initiative and they are acknowledged on github.com/mozilla/sops.

In addition, we would like to thank Adrian Utrilla, AJ Bahnken, Jeremy Orem and Daniel Thorn from Mozilla.

Author's Address

Julien Vehent Mozilla EMail: julien@vehent.org