Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1127967ybh; Thu, 23 Jul 2020 00:45:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrjRJSrKx5fEMWj1ijZgC0gfg4gC0tTJfdGkBTX0mGI9JKDKAK1/vfjNuRA6miylRoGFyQ X-Received: by 2002:a50:bb2f:: with SMTP id y44mr2939933ede.351.1595490309205; Thu, 23 Jul 2020 00:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595490309; cv=none; d=google.com; s=arc-20160816; b=Os37j75+aIe78YRareOLB1h0o1Zpr1dgieTlyk+Qnw4cQ4Rq6660iMC0EwfOKBNcAU KeS4xfm0K3ywQBY3Iw0Roov0yEB6HEhwu0VbnvPNaZ/fjjlsTp1W70f5c7flC4KpWxKn fsBuUECoL62v5U32ksf/a/x9T0cfEvgKs77ZKl5HVt1VGgYYHMPOIxIPwVpKi+jZGEDE UbQ+OYY8kfBicA4OANf7qYFIpbThqE8ZhNAhOGd8rz+OJhANSAbJu6W63C9RO9dybmAP /aJuNtIXxqTqK54WfbhPwCrRLPvYNHxpUbSgwLWlSNnq7TjP36NVgcJDL6GaObhpcljC jrwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :dkim-signature; bh=//Yfojb2+5l/9c7yxk/wQkjqrs7GK4h6tRXxyXSn7Co=; b=f4R/o455AesJEahjjK60uSZqlHiSMBBBJScEW0/N9OkYvJCFiRFBiYjpXLob/Zseta 1B7JTjHaCk/u4xr1m75UUBLTJHyFI+djxuFo0Q/uTimEi5zMvFAS5/qFUd5rb5rpUBig 4H55xf5hmy0YqlaBUwmehQrJWmT9RBmkBYYjcQgNPxKXbRWvKpAEqd/br5AaI6KNh1Qi i1lHJqpuMEBozGutP5iaVktX8PE+9o26Y5M54CTUjcCXcXw5DsqYRRiZC1brTWtu1Aej 7y5fuekJsagsI6V2ePO7x5uEGcRIbRoO4jBNPDPdjfZJ+8FN0TadTNVRD21KZMlEoHHO 4adQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SkYdK+up; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si1329893edn.92.2020.07.23.00.44.45; Thu, 23 Jul 2020 00:45:09 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SkYdK+up; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726945AbgGWHme (ORCPT + 99 others); Thu, 23 Jul 2020 03:42:34 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:33482 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725911AbgGWHme (ORCPT ); Thu, 23 Jul 2020 03:42:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595490153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=//Yfojb2+5l/9c7yxk/wQkjqrs7GK4h6tRXxyXSn7Co=; b=SkYdK+up4ljAmRNISHwhmyI/C+4LupHkN4e+j01e6uy9syzsUTUJQENXk6dBqw6qk1imM7 hQHq3S85Z7ojMMY97//4tb5xgyu+5vqpYrJyi6/xOio1CH7wwhJD+xLVeOpFRrCDxDUbSE lfZl6d3jNzGS8BFp8/TN/c9ps1MtJZE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-233-6kTqSsMROdmuFJgLBoZ4mA-1; Thu, 23 Jul 2020 03:42:29 -0400 X-MC-Unique: 6kTqSsMROdmuFJgLBoZ4mA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BFB96100CCC0; Thu, 23 Jul 2020 07:42:27 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-112-32.rdu2.redhat.com [10.10.112.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 614E610013C0; Thu, 23 Jul 2020 07:42:26 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20200723013223.GA45081@linux.intel.com> References: <20200723013223.GA45081@linux.intel.com> <159485211858.2340757.9890754969922775496.stgit@warthog.procyon.org.uk> To: Jarkko Sakkinen Cc: dhowells@redhat.com, torvalds@linux-foundation.org, Wei Yongjun , keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] keys: asymmetric: fix error return code in software_key_query() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1269136.1595490145.1@warthog.procyon.org.uk> Date: Thu, 23 Jul 2020 08:42:25 +0100 Message-ID: <1269137.1595490145@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jarkko Sakkinen wrote: > Why f1774cb8956a lacked any possible testing? It extends ABI anyway. > > I think it is a kind of change that would require more screening before > getting applied. Yeah. It went in via a round-about route. I left off development of it when the tpm stuff I wrote broke because the tpm2 stuff went in upstream. I then handed the patches off to Denis who did the tpm support, but I never got my stuff finished enough to work out how to do the testsuite (since it would involve using a tpm). However, since I did the PKCS#8 testing module as well, I guess I don't need that to at least test the API. I'll look at using that to add some tests. Any suggestions as to how to do testing via the tpm? David