Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2611023pxa; Mon, 17 Aug 2020 14:18:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRauM0KCGWf60Uao+6Txr8Ii5gSOb84ut67fgQLG6Q46ykJRve+1vQEV8oTy1Z7irdASD7 X-Received: by 2002:aa7:ce0b:: with SMTP id d11mr16368661edv.357.1597699095373; Mon, 17 Aug 2020 14:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597699095; cv=none; d=google.com; s=arc-20160816; b=VoClam6jjaRIWKEK5b5yeG1J7IwNOnYQfcSE+UUaRIFWUUNu9tQLJyO6pdthdXf3/g 6GuS6djD3/IsSUaMM47QKPWtQK9+hDXeM+P/KjHQvYPqG8KDQhSI42TeCjc0DFDN6R5N +LkviinHuEl1Va9t+XxhEGjk3EHNiv9XT6T1aYTRfvDUKfJX1ztHiM1Z6I5aJWxW8EqG XHx08JWO1mFQxywZD5KZIlYECgwVECjIP0BVgdygASU0G7rzW1xL51wO8cJlVJNc73s4 M39NiEIkB4xFZiwonan6nOs0g1EyCAdhNsjPrTtSDuJVYzkqr97b9Ck1zjtirBZ8hAFq IieQ== 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 :message-id:date:subject:cc:to:from; bh=mC2cOTL1QqbdqmBXwK/Z8tpo23tuP/5zrIgphgye+24=; b=NCNbxCIQmN2dV2Jwi7sFVTtxzV5DcGnWtuig3WWFmbnoTIU+dnDYDePwXlYuqkbqYs 990QS1TK0UWQmDqgutorJG/i/x4DSPzNCcznrIs6Simpun/DP5h5n3vsqKMGHoXswD3W iDttJrUsv71PMyCdciLs/F9TpaGR7yqmnXjcEkNj47R/RZMYLyxo/ClowifxFYEYYI2q 7yCgziCc3DWQPU9k2ZnyltqHiA0RaY3sM4p0W7M/mEVf6Qz2P/UxjgaPq5KZS0hk27d+ D7jgLfxBIS4/jCL90Wa3+gidzRpscEPTTKkrEcnY7kD4ubZyau0skSVILcte3okg+Va+ n2Tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si11419260edy.387.2020.08.17.14.17.52; Mon, 17 Aug 2020 14:18:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728921AbgHQO2r (ORCPT + 99 others); Mon, 17 Aug 2020 10:28:47 -0400 Received: from mx2.suse.de ([195.135.220.15]:55152 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728669AbgHQO2q (ORCPT ); Mon, 17 Aug 2020 10:28:46 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id DCA04AB8B; Mon, 17 Aug 2020 14:29:09 +0000 (UTC) From: Coly Li To: keyrings@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Coly Li , Dan Williams , James Bottomley , Jarkko Sakkinen , Mimi Zohar , Stefan Berger Subject: [PATCH v2] docs: update trusted-encrypted.rst Date: Mon, 17 Aug 2020 22:28:37 +0800 Message-Id: <20200817142837.5224-1-colyli@suse.de> X-Mailer: git-send-email 2.26.2 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 parameters in tmp2 commands are outdated, people are not able to create trusted key by the example commands. This patch updates the paramerters of tpm2 commands, they are verified by tpm2-tools-4.1 with Linux v5.8 kernel. Signed-off-by: Coly Li Cc: Dan Williams Cc: James Bottomley Cc: Jarkko Sakkinen Cc: Mimi Zohar Cc: Stefan Berger --- Changelog: v2: remove the change of trusted key related operation. v1: initial version. Documentation/security/keys/trusted-encrypted.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/security/keys/trusted-encrypted.rst b/Documentation/security/keys/trusted-encrypted.rst index 9483a7425ad5..1da879a68640 100644 --- a/Documentation/security/keys/trusted-encrypted.rst +++ b/Documentation/security/keys/trusted-encrypted.rst @@ -39,10 +39,9 @@ With the IBM TSS 2 stack:: Or with the Intel TSS 2 stack:: - #> tpm2_createprimary --hierarchy o -G rsa2048 -o key.ctxt + #> tpm2_createprimary --hierarchy o -G rsa2048 -c key.ctxt [...] - handle: 0x800000FF - #> tpm2_evictcontrol -c key.ctxt -p 0x81000001 + #> tpm2_evictcontrol -c key.ctxt 0x81000001 persistentHandle: 0x81000001 Usage:: -- 2.26.2