Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1408079pxb; Fri, 21 Jan 2022 17:58:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxml7UbtDG1pygHxks7EYYiduaygcRYZ9m7Ks2fBtTkXCSceUqgmoX0zob8/CtxrBhVPHn X-Received: by 2002:a63:6c89:: with SMTP id h131mr4747841pgc.106.1642816737609; Fri, 21 Jan 2022 17:58:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642816737; cv=none; d=google.com; s=arc-20160816; b=YcqiCIz8DR16JXpIwimlKOE5xLVUz3FgGDZMWQ+AOreoos7rQ7pfqf/zkxUkwmc9wY 29lyLmzRiO4ZNIPsqFa5WzqLqWbNso+766sbh4SugFz9DQT1yZ8Gf+KDfwNKtLV0S1Mh 88nfFow2NqqYt7LvdgjuohbQkXnW/wH8UndPpoD8arrO0CfhrY2uh5rCZsVIBk2wluq2 SyhQuLzEecGIV0tJlxT1dxamE7tv/rE0THpQyL9CTRJ7K6dArSg9rOuALkHQk6YFe9pf o7XSByxPh9xzf96Hmamf/dawk2dY//PL36lcrCoH9luS6w5xDCLeU7HP0hWRgB1G9Pti 1C9Q== 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=MWC3HKbRBrazthvyaWOeu9allAoX+7ClmAFyUKjLVF8=; b=ZdSIofxSMF5zmSHIl+m6Pm18jiSdBYghKjpTuf+2aF0teltB+2XY1tdEfTBxQcwiAj FCPCBmIZ7bBpWSnOJ7EZBhlhDWjF39+13xzvDykVGvijd7HlHn7v1VWhusjV1sYqW1gg MkQ8hjSdYDxB1zsOmfvri+w53YYxnAjrbPQjBWgrahBsdx+QEzwmHTaT6DARDRI8u4BG zo69Ok9F5eV9C/XwsFzWTtkXybZWw6UxmVD4ejJplGtoSN5AB0AWSRpQWV3JbNdwmNjp VjD24tUp7uxVS2X5t8oPH3aQUABUtPXOS8Dm87EEYwKxQCcZbAPJQ18MtwEiaKdyyDxQ tNMw== 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 m16si7621496pfc.211.2022.01.21.17.58.37; Fri, 21 Jan 2022 17:58:57 -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 S1351226AbiAUQu5 (ORCPT + 99 others); Fri, 21 Jan 2022 11:50:57 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:4440 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349221AbiAUQu5 (ORCPT ); Fri, 21 Jan 2022 11:50:57 -0500 Received: from fraeml715-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4JgQKQ2tgTz67qjY; Sat, 22 Jan 2022 00:47:38 +0800 (CST) Received: from fraeml714-chm.china.huawei.com (10.206.15.33) by fraeml715-chm.china.huawei.com (10.206.15.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 21 Jan 2022 17:50:52 +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; Fri, 21 Jan 2022 17:50:52 +0100 From: Roberto Sassu To: Roberto Sassu , 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: AQHYBxWUAJoIvMeqLk2UYoD6PZRMZ6xnP9oAgAAHlwCAAfOkgIAAJTmAgAD7bXCAA18/UA== Date: Fri, 21 Jan 2022 16:50:52 +0000 Message-ID: <289f4694fc084f029187af7e8a3120cc@huawei.com> 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.204.63.33] 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 PiBGcm9tOiBSb2JlcnRvIFNhc3N1IFttYWlsdG86cm9iZXJ0by5zYXNzdUBodWF3ZWkuY29tXQ0K PiBTZW50OiBXZWRuZXNkYXksIEphbnVhcnkgMTksIDIwMjIgMjoyNSBQTQ0KPiA+IEZyb206IEVy aWMgQmlnZ2VycyBbbWFpbHRvOmViaWdnZXJzQGtlcm5lbC5vcmddDQo+ID4gU2VudDogV2VkbmVz ZGF5LCBKYW51YXJ5IDE5LCAyMDIyIDEyOjA0IEFNDQo+ID4gT24gVHVlLCBKYW4gMTgsIDIwM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ICAgICAgICAgc2lnbmF0dXJlLCBzaWdf c2l6ZSwgZnN2ZXJpdHlfa2V5cmluZywNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgVkVSSUZZSU5HX1VOU1BFQ0lGSUVEX1NJR05BVFVSRSwNCj4gKyAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgTlVMTCwgTlVMTCk7DQo+ICsg ICAgICAgICAgICAgICBicmVhazsNCj4gKyAgICAgICBjYXNlIFBLRVlfSURfUEdQOg0KPiArICAg ICAgICAgICAgICAgZXJyID0gdmVyaWZ5X3BncF9zaWduYXR1cmUoZCwgc2l6ZW9mKCpkKSArIGhh c2hfYWxnLT5kaWdlc3Rfc2l6ZSwNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIHNpZ25hdHVyZSwgc2lnX3NpemUsIGZzdmVyaXR5X2tleXJpbmcsDQo+ICsgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBWRVJJRllJTkdfVU5TUEVDSUZJ RURfU0lHTkFUVVJFLA0KPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgTlVMTCwgTlVMTCk7DQo+ICsgICAgICAgICAgICAgICBicmVhazsNCj4gKyAgICAgICBkZWZh dWx0Og0KPiArICAgICAgICAgICAgICAgZXJyID0gLUVPUE5PVFNVUFA7DQo+ICsgICAgICAgfQ0K PiANCj4gQXMgeW91IGNhbiBzZWUsIHRoZSBjaGFuZ2Ugd2lsbCBiZSBzdHJhaWdodGZvcndhcmQu DQo+IA0KPiBPbiB1c2VyIHNwYWNlIHNpZGUsIEkgcGxhbiB0byBhZGQgdGhlIGNhcGFiaWxpdHkg dG8gZnN2ZXJpdHktdXRpbHMNCj4gdG8gcHJvZHVjZSBhIFBHUCBzaWduYXR1cmUgd2l0aCB0aGUg R1BHIGtleSBwYXNzZWQgYnkgcnBtc2lnbi4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