From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4CF8C433E1 for ; Thu, 13 Aug 2020 20:11:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9FBE520675 for ; Thu, 13 Aug 2020 20:11:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="puDTx/di" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726384AbgHMULb (ORCPT ); Thu, 13 Aug 2020 16:11:31 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:9816 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbgHMULb (ORCPT ); Thu, 13 Aug 2020 16:11:31 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 07DK1xUJ194939; Thu, 13 Aug 2020 16:11:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=pp1; bh=8jEMlM1CmRRBZdFTTDSHcPE1VNqUYW3ux+Vq+t2id8o=; b=puDTx/diSUWFqksmmftKPGExMBm8k+UsD5iUKyEKJFXLQjUqaPSiUNtU7lahb9c7oL5R w0OcSEunIp7oDNatbaXbrHD6zuloU5N9A78KnKNsFmgsmgEIE2CM7yiVkm08xp4R55TU e5gQpUPCzejIIEz+18GVJ3QQ/w2IfB8Ij3NTNS/O+jlVY7Jedtf6EqCvA150x+kR9cO7 Z9lKXYqycbEGxnq7xw41S7hZM66xntKqUPZ12ZMzCUAM8M3nxvMkeyheJdmEv/TEpjBI 6mB3b64nPfiiJKE6JCmp6JgEVRtiWHu6nzpvVTtyvAb7P0oh4qjBybMSWbZQLU6o1gft OA== Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 32w4b5qk5j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Aug 2020 16:11:24 -0400 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 07DKAKbn011139; Thu, 13 Aug 2020 20:11:22 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma05fra.de.ibm.com with ESMTP id 32skp83n09-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Aug 2020 20:11:22 +0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 07DKBJC730474642 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Aug 2020 20:11:20 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D853542041; Thu, 13 Aug 2020 20:11:19 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CC54E4204B; Thu, 13 Aug 2020 20:11:18 +0000 (GMT) Received: from li-f45666cc-3089-11b2-a85c-c57d1a57929f.ibm.com (unknown [9.160.122.169]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 13 Aug 2020 20:11:18 +0000 (GMT) Message-ID: Subject: Re: [ima-evm-utils: PATCH 5/5] ima-evm-utils: travis: openssl gost engine From: Mimi Zohar To: Petr Vorel Cc: Vitaly Chikunov , linux-integrity@vger.kernel.org Date: Thu, 13 Aug 2020 16:11:17 -0400 In-Reply-To: <20200813182800.GA6029@dell5510> References: <20200803164635.GB4914@dell5510> <20200804072234.GA4337@dell5510> <20200804075453.GA7285@dell5510> <980a1c491dcc03606635cdddce8b19e7a2e041c5.camel@linux.ibm.com> <20200805094215.GA32709@dell5510> <20200811173303.GA31322@dell5510> <146ee0acc5d5f619b6b19ae2a3bcb6a66cacce32.camel@linux.ibm.com> <20200812130548.GB4994@gacrux.arch.suse.de> <93793b105fc2945435e3c26a6f74eee28ae03e0f.camel@linux.ibm.com> <20200813182800.GA6029@dell5510> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.28.5 (3.28.5-12.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-08-13_16:2020-08-13,2020-08-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=999 lowpriorityscore=0 malwarescore=0 priorityscore=1501 spamscore=0 adultscore=0 suspectscore=0 phishscore=0 bulkscore=0 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008130138 Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Thu, 2020-08-13 at 20:28 +0200, Petr Vorel wrote: > Hi Mimi, Vitaly, > > ... > > > > > The biggest problem is with ibmswtpm2 [2], which contain tpm_server binary. This > > > > > project is not packaged in distros, compiles only with gcc (no clang, I tested > > > > > versions 1332 and 1637) and ignore CFLAGS and LDFLAGS settings. It doesn't even > > > > > have git repository (the one on sourceforge is empty). > > > > > We could simply patch this file, but I'm not going to do it. > > > > > I guess I just skip tpm_server dependency for all non-native projects. > > > > > I also need always install gcc even clang is going to be used due tpm_server. > > > > Agreed, getting docker/travis working is independent of tpm_server. > > > > Without a software TPM, the boot_aggregate test will be skipped. For > > > > now, until we can straighten this out, I would modify "make check" to > > > > run the other tests (e.g. make check TESTS="ima_hash.test > > > > sign_verify.test"). > > > Yes, specifying tests to be tested is an option. But if skipping the compilation > > > for non-native builds works (e.g. tests which don't specify $VARIANT), I'd go > > > this way. That help us not having to remember to update tests for non-native > > > builds (once the new ones are added). > > Sure. libtmps/swtpm could be installed in lieu of the ibmswtpm2. > > Sample directions for using it are here: > > https://github.com/stefanberger/swtpm/wiki/Using-the-IBM-TSS-with-swtpm > > Nice! > I've just send a patch which builds green without this (ibmswtpm2 is installed > just for native gcc builds). I'd prefer to leave this for somebody else. Wow, I saw the "green" button. Thank you so much for spending so much time on this. Yes, of course we'll add the libtmps/swtpm support. Mimi