Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp571052ybi; Fri, 7 Jun 2019 12:53:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8E3BF5ijLhw7uEVTge6j85Y2OGm9oAmc2YuHtZ4ameHR4HuG7l6KVjRoVr60Nnhfvs7kF X-Received: by 2002:a17:90a:628a:: with SMTP id d10mr7619633pjj.7.1559937206907; Fri, 07 Jun 2019 12:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559937206; cv=none; d=google.com; s=arc-20160816; b=PyHrZy41lTOp6uVUHfOfEFSqZohE+sDrBY7JqN1lbesegiq9SC8RHm6GXOa2BzGLNT qQtLPFz62JdoJm8HP5arlnHMoI8nVThb3qHulDNKnmpmsgIwFA9wLSYnXpR+hz3Rt8bi tY1LcsFS8om+JeJhQJftxt4+ze0z7NyXijQNi45hZDnxlYtW1nG5GaVxmX+7GKpdLDBY qY74rDWH2Z6Te4ewOE0Ox3iI9eZdXjuCuNpgquRgJVCICkUAXxwDzhMr+Mm+25xslkeT +9oz6Jcd4LbcoLTSjyol/G6oRsrAcbP2iIVQzWa0fnifQClspQ9FwFfAao02+uDj0Ybq Lctg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mN9SlMwFezZ1ZPB+c4+XXB+0uQsuZLbIqjOavdIdlqw=; b=gsMJ4Pa0GyKC+NI13inK6fMG8ST42Eh0iKfxJ8aXBIOig/+IjmyffCG3ZM7Q31Apyf 6SrOJ54+7HRoUYUv49zePRP73Vl7V2Ok5IqNcGD3kpJj5NIoZ3yRfNlIv1oHZUpblKuA 5GGIeANnZFQa8R3Ka0W7AcZx0RFZquzeBXqQGMThy/gn2m0HDRstXQ8qWe2mDqQVI/9w PGt/Iw8EqaGZ0XlH+hgaJnKKkw5VYfmhPBA+J0OTceqgnV+yvGi1zLZUddck0ckG39nh 1itqMEwdXsVIkGqWNuUUs45Xjy3qUNWxPMvSV1uTsh6bW3WUgcFi7pmB+jLi4PDfvQ1y aHlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="HTM+//NT"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2si2816289pgp.343.2019.06.07.12.53.10; Fri, 07 Jun 2019 12:53:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="HTM+//NT"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732171AbfFGSyo (ORCPT + 99 others); Fri, 7 Jun 2019 14:54:44 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42286 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732040AbfFGSyk (ORCPT ); Fri, 7 Jun 2019 14:54:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mN9SlMwFezZ1ZPB+c4+XXB+0uQsuZLbIqjOavdIdlqw=; b=HTM+//NTshmY11VPp3W2zCC0AV AnxnJl/5QTXQPkKrFfbo5L9QXQ+NWhQXx55Bzov9saX3KqjAdGWO5e9rYIJj+km9BAG0LXoJj0bap q1I+rt94/+kmxxLnj2fVapCr8TgoRYqK/dxt0UrHQAIQcESZ2UnEA/WxAiDB5UMaYTYAgxAWYgQCB Vm3QYFxZNeS4ooSrsMJqSGEl3lsWf6/E4fGKje0zAmxn2wJaGnYVVFjT3o+oeayKdH1SYHQUxPh6a I+x+Tv3yFEYYuZItw1vXMeLhh3KzKn8fLI0a4cU45VsOQDmju23QkXlJrpu7dSWxgJVfYKUJk1Bw3 S69+bYTg==; Received: from [179.181.119.115] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hZK0d-0005sj-LB; Fri, 07 Jun 2019 18:54:39 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hZK0b-0007F6-Fo; Fri, 07 Jun 2019 15:54:37 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Mimi Zohar , James Bottomley , Jarkko Sakkinen , linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, James Morris Subject: [PATCH v3 11/20] docs: security: trusted-encrypted.rst: fix code-block tag Date: Fri, 7 Jun 2019 15:54:27 -0300 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The code-block tag is at the wrong place, causing those warnings: Documentation/security/keys/trusted-encrypted.rst:112: WARNING: Literal block expected; none found. Documentation/security/keys/trusted-encrypted.rst:121: WARNING: Unexpected indentation. Documentation/security/keys/trusted-encrypted.rst:122: WARNING: Block quote ends without a blank line; unexpected unindent. Documentation/security/keys/trusted-encrypted.rst:123: WARNING: Block quote ends without a blank line; unexpected unindent. Signed-off-by: Mauro Carvalho Chehab Acked-by: James Morris Acked-by: Jarkko Sakkinen --- Documentation/security/keys/trusted-encrypted.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/security/keys/trusted-encrypted.rst b/Documentation/security/keys/trusted-encrypted.rst index 7b35fcb58933..50ac8bcd6970 100644 --- a/Documentation/security/keys/trusted-encrypted.rst +++ b/Documentation/security/keys/trusted-encrypted.rst @@ -107,12 +107,14 @@ Where:: Examples of trusted and encrypted key usage: -Create and save a trusted key named "kmk" of length 32 bytes:: +Create and save a trusted key named "kmk" of length 32 bytes. Note: When using a TPM 2.0 with a persistent key with handle 0x81000001, append 'keyhandle=0x81000001' to statements between quotes, such as "new 32 keyhandle=0x81000001". +:: + $ keyctl add trusted kmk "new 32" @u 440502848 -- 2.21.0