Re: [lamps] [EXTERNAL] Re: [CMP Updates] Requesting a current CRL

"Brockhaus, Hendrik" <hendrik.brockhaus@siemens.com> Sat, 09 October 2021 07:31 UTC

Return-Path: <hendrik.brockhaus@siemens.com>
X-Original-To: spasm@ietfa.amsl.com
Delivered-To: spasm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 62CAA3A00E2 for <spasm@ietfa.amsl.com>; Sat, 9 Oct 2021 00:31:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.798
X-Spam-Level:
X-Spam-Status: No, score=-1.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=siemens.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U31lb5KIebLq for <spasm@ietfa.amsl.com>; Sat, 9 Oct 2021 00:31:29 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2041.outbound.protection.outlook.com [40.107.20.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 660A63A00E1 for <spasm@ietf.org>; Sat, 9 Oct 2021 00:31:29 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X88Pdyj2Hk4ls7Zx05Skz/BbVct0xeBw1onM8jQ21cZMnWJmAk3RbsPaooveX5yVWSkk9x7XqtqCBLwa50TQCyxMGVntzwxeXBlf57xXg074x1ySEvu/FexaCdn0dqz4AqV+ygPdDMY1dqHzckeDh5+PPfH9T9Kbvg5ECUYL8hlU3+Cm1WpiGggewiRawWvSs1rGQFYNBZVESy3uRuqqKc5URAJ2mplrrab2q+YYPcmPURRqgW7hBaRqxBCITMndDiR7kxfCBb5N1u+Nkmcn6JyrFdE/2bV1ZlxVenAE1ENsGnB7WS1Z9yNQHZhECgUfzV0uqyBdgV4sRVid2VxelQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9zISK5g0GBXAvmN7sp/Olt7V6W0tMDcu7cKycqpVmt8=; b=FLBbgDB7/mglHRV8JBpYyyDXWdz0Np0TpPQgAc0VQphkK40VYp/3B/V2Kc79oFuA9yxJ7HJwy6YtVZXge8eMZE4/1yPTntE30jg67d8wmjV5D5dSZI7mzklqVg6BfFCOsnbK3bN4tv9hVVw5XzJmPd8kwIQRaO65GTrbMzos2IZR96rWfk4vyECfryuLIR50/lw1HQrq98hrGbV7h8MtdRt2yG47HprrGrfqCMF0CjpW/LnZXC/bHnLeDh0seZg2AkrEh+/WZWoaBMb0e/VUEEaMPpx0WatVd6Tg0ts08NYjj5C41SAQLUTEgFgiFhiXJlotTbL8vslslgvysMq7iQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.onmicrosoft.com; s=selector1-siemens-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9zISK5g0GBXAvmN7sp/Olt7V6W0tMDcu7cKycqpVmt8=; b=mihoknicM4w276wjSaCAiK3Ux1CUleynIO0AuXp40sd5Fz95GTgsrcT6Cq0wJR/tXGDp13NG+3FGhqOaNYYtfffefVrtleiM345qOriTDYNvjhpYUR6oVUMKMQnVWpsJ0IKM7v9TDSShhlC/N8FKEG6v+Z+jCB150sKnlGO9Ql0=
Received: from AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:dd::17) by AM0PR10MB3362.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:160::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Sat, 9 Oct 2021 07:31:22 +0000
Received: from AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM ([fe80::dd30:5800:70a4:8b29]) by AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM ([fe80::dd30:5800:70a4:8b29%5]) with mapi id 15.20.4587.024; Sat, 9 Oct 2021 07:31:22 +0000
From: "Brockhaus, Hendrik" <hendrik.brockhaus@siemens.com>
To: Lijun Liao <lijun.liao@gmail.com>
CC: "spasm@ietf.org" <spasm@ietf.org>, "david.von.oheimb@siemens.com" <david.von.oheimb@siemens.com>, John Gray <John.Gray@entrust.com>, Russ Housley <housley@vigilsec.com>
Thread-Topic: [lamps] [EXTERNAL] Re: [CMP Updates] Requesting a current CRL
Thread-Index: AQHXvICw5lKlXeFImkiFFvAECAJpoqvKRMaQ
Date: Sat, 09 Oct 2021 07:31:22 +0000
Message-ID: <AM0PR10MB241826FC11C177252B3678B7FEB39@AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM>
References: <AM0PR10MB24181E0CB7F13C5969337F56FEB09@AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM> <C81D6269-EA75-4A0F-9C47-63ED46BA43E0@vigilsec.com> <DM6PR11MB25853662F94B5B12933C23F9EAB09@DM6PR11MB2585.namprd11.prod.outlook.com> <VI1PR10MB24298128902B438BCAF406D4FEB19@VI1PR10MB2429.EURPRD10.PROD.OUTLOOK.COM> <FD4EBC6E-77CE-4D96-8D9E-D929C27159D6@vigilsec.com> <AM0PR10MB2418E1DE7004C868C0E3AEA2FEB29@AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM> <EDA2ACBF-E745-430A-A13F-A144B08125AC@vigilsec.com> <AM0PR10MB241887D39072B393C56FB28AFEB29@AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM> <8D6D333A-14A3-4487-967F-CFCAC22D856C@vigilsec.com> <AM0PR10MB241865E9784CC03F81AA9D39FEB29@AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM> <B92F36D2-605F-4E60-A654-AA0F89E310CA@vigilsec.com> <CANNx7D8AaT3+7Ah7tZHXUYRkcgx7CW_ExgciJ4nB90WAuP6tzw@mail.gmail.com>
In-Reply-To: <CANNx7D8AaT3+7Ah7tZHXUYRkcgx7CW_ExgciJ4nB90WAuP6tzw@mail.gmail.com>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Enabled=true; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_SetDate=2021-10-09T07:31:21Z; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Method=Standard; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Name=restricted-default; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_SiteId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_ActionId=e336edbd-f1e3-456b-b5ff-b0e8203253d5; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_ContentBits=0
document_confidentiality: Restricted
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=siemens.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 09d50c1a-97e3-4699-4c11-08d98af6cb5e
x-ms-traffictypediagnostic: AM0PR10MB3362:
x-ld-processed: 38ae3bcd-9579-4fd4-adda-b42e1495d55a,ExtAddr
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <AM0PR10MB33625BD2D4B78169408F99DDFEB39@AM0PR10MB3362.EURPRD10.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: OiSU5WNtTt/cWLGO+6C6GErJDvIUbxiFNqceWZ/op/8L+SdP6wTMSXgpWFpFM7ZD77RfDl/ImkPSoanNQQHO+lGpUadEkSMMboPBZPXqs+aUzNQu9PlRk0B6IS8SSMRmFCHf81zMH+NYQeKAjIg4aW7lXlV55nkc47Mqa0pvLLrqquUthZV4Xvy1ITbAiS0J5M/unlFd/cVsiLpa+ZaOaaPuIi+NP90j1fap23EAF1fRczRV/4lout/iEnFoJM44/HxA8e187gWENYtrEbC9hjFVuU8qA6WBlM3ulL3mzCcyzsY/Sohncx1yBvCmwejwRNhMQP4oWYMjzOFzfoWiNWhCFDLBUcMptK8qzvL8rhfGt51Drfw4DeqCYsAdxbTAu+1qO5UF5Y6Kikca/LoYMuEonG5M5PI/rNSl+4HiDCcI2sjSnujsGFPtQQxHNnGbKSeFricDOAQ4Bg609mYWLYxJfwpWuUbq2GeOA4ENvnwVwYF+rXsqVifkfL+bLGsjClnhLKVTYLC2Zw6dttdSUIVcv4UGZJT4sZQ5YNgjptFi5nEHCh52ps+9EGa063kmhOn/aaOte/k2WfHTP1ZUBhXmAdq4yllfU8qgSIWV6LhCgBAqdsVNz0v3ujcLqGLxFO8q/DlsfTVeJwsHrjFQQdHa0KTxX4ICZM+0higLrMqYs2AHdcqGfwmv+KZeKwSLiaTDzNP7c+dp0zNzm1pRms6NliNulQ6x309p3sK7uC5agRJM8ldup/OesO4fwyg5GbTRgwHR+/elES33GwuPt9UM+m2y4HqjZEp63HpZvQE=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(83380400001)(38100700002)(5660300002)(7696005)(55016002)(2906002)(6916009)(316002)(4326008)(508600001)(966005)(122000001)(54906003)(66946007)(76116006)(26005)(8936002)(71200400001)(33656002)(52536014)(9686003)(6506007)(53546011)(186003)(66446008)(64756008)(66556008)(66476007)(166002)(15650500001)(86362001)(38070700005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 2KMGYYfJaZY981QBW1iyaPFZmpo5uHSs1IFyuxP8NadQzLKCigSCb4JiDA/D4B+2W4YBP4j6QqJfz/Fiu6ELEQNvrlZ4KdcwgtgcBE2yh+b87KUR5t0F0nGX0yfScVogw1hiVD/NWHUp4qhZ9vowv9oxFNwMX5dO37wHyeV2e4C+daf5HTxFOWSDE2XL64ZArFbK9xZWvQNIMkGeMoTSkIPjsECg0fFryHmR9T1Wz6KLhJtp5vz2SYQiCoLV9w4Euf6otHYmEGsCaqJacv7Xp2W5/4w9BtjmlsQ4GiB8XWLXm/aPMft1mbWPBPg0LQnH3wac/7VsDMNz0Qd/lGSNcHdzq8eOg+wHGK2P8jPPO/gYy8TpI9a52GI7eFDjcZEnzeQbtAi46vI4jcJ6dGrqSettVIz89K1oW9Vzr2wf5jZ5ff2HhDDX97/f9x6aUAM7N5ZEaMOr1GgQVIicjzI7m3yh8IDhNOWPiJfdsHDcmhxymB6BMpVO5Xdk+Boug8P+ZDKj1L8psog1jFVHNQzCnSHf6EhjuzB3ZXOrtOwGNkRYRsXyQapzCdhIY3941/CYXNuu51p7XrEIfQJK/DRSIyB0PJVxkdgdUUGv9r4X4Kp8cz97UWJT3/phcBb/WqW89T15KVkD31iRvDtF7tc1IBjqjKtfr+HBIBYXiAzMyFPJBeudKiL+MWsMDgXuiLNtFPBK0rWmtfD/Ug6dcVOfabv8N0V29D6DVT7qcdvlXoQcRiODGU5wLeq2ersPGdQH2gz7MYkn81ilc8pMYppsyoR2ul5BYBH/4lq1hXZ+GtuRLGygX7suWpSkzqamDe1b3eQK3TlZas3zVp7ZZu2gliUlUAqlXo0+910rTNVqYaU9A9ZYuW3YDdbdvOTs1T+1cYDwkCp0yBqTEgj7ogvNs2PMnpeN4+HpJHIP3unlNlnkdBXkqZ8TPVrlEefzqfNO1qjAUo9RRKtVsnqW0o5ija4lz9qieJLMYCW0Hj+y7MMXwBURL9I96zvl6eKcIBrfsNegxkNwKv0lrfib8I2E/KtTqO4qvm0Xa5tuXfz/2gXxN1pfYgfG5uoPKpvNr84sh5O7jvFMjIfigfK1CRBv5+OjAJf45jplVNF2+2yWfMzu2RqwcfJEHrOESzNXJzhSY0H/42DLxK0LYihx5vqjMSpQpzdFdIKNq7gLfyMaDFH7vu6XrhG5T9bX+9w0E+HnO/en06DRxZMj9ZaAwdl3mTRGb6SWzjMTOILymeBzQUZYCD2uQqoTqTnLwRByAkgu9H+zGyxhPivyitjkPg/nlOvQHEHrQma2IZfCM+W3QO0RFlLq7rJcHhNMr/o+kHl3
Content-Type: multipart/alternative; boundary="_000_AM0PR10MB241826FC11C177252B3678B7FEB39AM0PR10MB2418EURP_"
MIME-Version: 1.0
X-OriginatorOrg: siemens.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR10MB2418.EURPRD10.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 09d50c1a-97e3-4699-4c11-08d98af6cb5e
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2021 07:31:22.7039 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: yPdKPoF3l5jutsyJGXyf7XCuXNst2R2G0JOocPcDTsDa2zEE/4Siq5+yV6c2g8DUWR+dXV5on26z8D4yyJ/MsZ/J1XNd3J6/4VzESUkgRkk=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR10MB3362
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/Plhtl3JVfTsrjYjsv-zXRsOsVf4>
Subject: Re: [lamps] [EXTERNAL] Re: [CMP Updates] Requesting a current CRL
X-BeenThere: spasm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This is a venue for discussion of doing Some Pkix And SMime \(spasm\) work." <spasm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spasm>, <mailto:spasm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spasm/>
List-Post: <mailto:spasm@ietf.org>
List-Help: <mailto:spasm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spasm>, <mailto:spasm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Oct 2021 07:31:35 -0000

Hello Lijun

Thank you for describing this use case and solution proposal.
We also discussed briefly the use of delta CRLs in larger environments.
For example in IoT environments CRLs my become quite large and OCSP may not be available.
So it could be, that delta CRLs are a solution here. We just started investigating.

We will discuss you proposal and come back with concrete feedback.

Hendrik

Von: Lijun Liao <lijun.liao@gmail.com>
Gesendet: Freitag, 8. Oktober 2021 22:11
An: Russ Housley <housley@vigilsec.com>
Cc: Brockhaus, Hendrik (T RDA CST SEA-DE) <hendrik.brockhaus@siemens.com>; spasm@ietf.org; von Oheimb, David (T RDA CST SEA-DE) <david.von.oheimb@siemens.com>; John Gray <John.Gray@entrust.com>
Betreff: Re: [lamps] [EXTERNAL] Re: [CMP Updates] Requesting a current CRL

Please also consider the following some complicated scenarios:

1. The CA may have multiple CRLs with different scopes. In RFC 4210, id-it 6
seems to work only for the CA with maximal one CRL scope.

2. The CA may issue full CRL and delta CRLs. Between the period of two full
CRLs, one or more delta CRLs will be issued.

Specifying only thisUpdate does not cover above scenarios, I will suggest to
define a new GenMesage (following the direction of Option B) as follows:

New Section
5.3.19.x Extended CRL Retrieval

CRLGenMsg: {id-it TBD}, ExtendedCRLRetrieval

ExtendedCRLRetrieval ::= SEQUENCE {
   lastCRL    LastCRL OPTIONAL,
              -- the meta data of last CRL known to the client
   crlNumber  INTEGER OPTIONAL
              -- only CRL with this number will be returned
}

LastCRL ::= SEQUENCE {
   thisUpdate          TIME,
   sha256DigestValue   OCTET STRING
                       -- SHA256 Fingerprint of CRL
}

GenRep: {id-it TBD}, SEQUENCE (0..MAX) OF CertificateList
                     -- The CA may have multiple CRLs with different scopes

At the first time, the client sends an ExtendedCRLRetrieval with an empty
SEQUENCE, and the CA returns the current CRLs of all scopes.

For the case without delta CRL, the client sends the following request to
get the current CRL only if it is generated after the lastCRL.

ExtendedCRLRetrieval
   lastCRL
       thisUpdate
       sha256DigestValue

The field sha256DigestValue is needed to identify the scope of CRL.

If the current CRL is a delta CRL, the client has to get the full CRL on
which this delta CRL bases on. It sends the following request:

ExtendedCRLRetrieval
    lastCRL   -- required only if there is more than 1 scope, since
              -- RFC 5280 allows two CRLs with different scopes to have
              -- the same crlNumber
    crlNumber


Since the response is a sequence of CertificateList, option 1A cannot be
applied here.

Lijun

On Fri, Oct 8, 2021 at 6:41 PM Russ Housley <housley@vigilsec.com<mailto:housley@vigilsec.com>> wrote:



On Oct 8, 2021, at 12:36 PM, Brockhaus, Hendrik <hendrik.brockhaus@siemens.com<mailto:hendrik.brockhaus@siemens.com>> wrote:

My question is, is it OK to reuse id-it-currentCrl together with id-it-crlThisUpdate like this

   GenMsg:    {id-it 6}, < absent >
   GenRep:    {id-it 6}, CertificateList  |  < absent >

Yes, because <absent> is exactly the same response that would be given if {id-it 6} is unrecognized by the server.

Russ
_______________________________________________
Spasm mailing list
Spasm@ietf.org<mailto:Spasm@ietf.org>
https://www.ietf.org/mailman/listinfo/spasm<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fspasm&data=04%7C01%7Chendrik.brockhaus%40siemens.com%7Ca4f0e7ceae8647b9e38808d98a97b9f2%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637693206938578404%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=8HA%2Fi%2F6m4OlV%2Fyo50E9xeoaZSMsMDlqIHRnQZ1o8GTQ%3D&reserved=0>


--
Lijun Liao