Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1166062pxb; Fri, 21 Jan 2022 11:15:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3OSQADFyofByEm8Zo9IW0hLntFGdSYvww5U9sZfLHRgowKCOT+P7MuUC0tdSjryauWoHw X-Received: by 2002:a62:7602:0:b0:4c6:864b:6400 with SMTP id r2-20020a627602000000b004c6864b6400mr5050482pfc.14.1642792518848; Fri, 21 Jan 2022 11:15:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642792518; cv=none; d=google.com; s=arc-20160816; b=AmsZNQSHzHeB57G78U7In5ChxxgBuYmq4C4wmjpEYpoMtUVrSkXJeWsRSck7Fx1ijy /Q7VGB4aFT5h+IkFxN9Ux2jZv+m7lStGCJJuVdGBNoTZ1m4d8XZPMf7i1cxtoiEcdKuX wSBDLbqiY8N9MUyvYcWcyXmkk5DnYpZT5EdmCNCJQJuAINdhWQzL+QJ8SrcBC9Dr8fWC Szp7sh1Een8bJRDiA2sZyHKcMFV0k5X3ZWieutGG+iJ7I/27pY3E4WahTc8dJwd78ddW VYLv/ARzQVz5ik8mlwDQNB9pO+8D33PiAuRXERrF34EIiXaNZQNDQDMJU75M5U6Hj2DG ICaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=1jfyPULyUkKuJuvQyZk0NIuFAPD3lGJnhbxgAY21gZs=; b=WPZiepGHp2LHYLXKvChpEmZkyeXqz4q/IgXmPPM3FXXEmO9LJh19qo4J2SlQHbE/mJ yStxEvzoLfL7kBrKhqPaZLiHM/jfRqt6kgs149CdJZ972eNrROXmgLMzqZow7LHjFZhj xGby8YbcGODto8ngCQs0MXo/pqUJJWv42maqCdvYopUhbbXuhkg/H81KTQZtw1s6xE1d uu4tgkxx0PVn38bi/4UJVEfvJGnPm4rF3qO2Cl176q1GTpdfi2LZcE+k2daksFLj/rMK Bb9r2p7Pgs5w1h5BCuI0OAozhpCY4vM2+KkngDxpZohRwgMZ1RN9p85YTuShYeyWd9+a PDiQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c19si8534068pfl.166.2022.01.21.11.15.06; Fri, 21 Jan 2022 11:15:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354709AbiASNZQ (ORCPT + 99 others); Wed, 19 Jan 2022 08:25:16 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:4432 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350184AbiASNZP (ORCPT ); Wed, 19 Jan 2022 08:25:15 -0500 Received: from fraeml712-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Jf5wV6qk1z67HKP; Wed, 19 Jan 2022 21:24:58 +0800 (CST) Received: from fraeml714-chm.china.huawei.com (10.206.15.33) by fraeml712-chm.china.huawei.com (10.206.15.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 19 Jan 2022 14:25:12 +0100 Received: from fraeml714-chm.china.huawei.com ([10.206.15.33]) by fraeml714-chm.china.huawei.com ([10.206.15.33]) with mapi id 15.01.2308.021; Wed, 19 Jan 2022 14:25:12 +0100 From: Roberto Sassu To: Eric Biggers , Antony Vennard CC: James Bottomley , "Jason A. Donenfeld" , "dhowells@redhat.com" , "dwmw2@infradead.org" , "herbert@gondor.apana.org.au" , "davem@davemloft.net" , "keyrings@vger.kernel.org" , "linux-crypto@vger.kernel.org" , "linux-integrity@vger.kernel.org" , "linux-fscrypt@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "zohar@linux.ibm.com" Subject: RE: [PATCH 00/14] KEYS: Add support for PGP keys and signatures Thread-Topic: [PATCH 00/14] KEYS: Add support for PGP keys and signatures Thread-Index: AQHYBxWUAJoIvMeqLk2UYoD6PZRMZ6xnP9oAgAAHlwCAAfOkgIAAJTmAgAD7bXA= Date: Wed, 19 Jan 2022 13:25:12 +0000 Message-ID: References: <20220111180318.591029-1-roberto.sassu@huawei.com> <079f10b9-060b-3a36-2224-fa1b483cbad5@vennard.ch> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.48.214.59] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org PiBGcm9tOiBFcmljIEJpZ2dlcnMgW21haWx0bzplYmlnZ2Vyc0BrZXJuZWwub3JnXQ0KPiBTZW50 OiBXZWRuZXNkYXksIEphbnVhcnkgMTksIDIwMjIgMTI6MDQgQU0NCj4gT24gVHVlLCBKYW4gMTgs IDIwMjIgYXQgMDk6NTA6MjFQTSArMDEwMCwgQW50b255IFZlbm5hcmQgd3JvdGU6DQo+ID4NCj4g PiBIaSBBbGwsDQo+ID4NCj4gPiBPbiAxNy8wMS8yMDIyIDE2OjAyLCBKYW1lcyBCb3R0b21sZXkg d3JvdGU6DQo+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