Re: [Acme] AD Review: draft-ietf-acme-star-04

"Diego R. Lopez" <diego.r.lopez@telefonica.com> Wed, 16 January 2019 23:21 UTC

Return-Path: <diego.r.lopez@telefonica.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD950131208; Wed, 16 Jan 2019 15:21:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.552
X-Spam-Level:
X-Spam-Status: No, score=-6.552 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=telefonica.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 t1-3i7keWjHA; Wed, 16 Jan 2019 15:21:18 -0800 (PST)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00101.outbound.protection.outlook.com [40.107.0.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A3EB613120A; Wed, 16 Jan 2019 15:21:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telefonica.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=81tyGMwARMH6TejfVoxqToge2z6jAm9nWEhQnYA6yCc=; b=KBcjwYTFxHmVwA2CZBe0kntLi7xlK6t0avztik9DN4sYi9pcmtyJotBTSAEQuUsg/p9k3TCNEM4Wk5Yw/G7I27A5BEDbi8hlW9KuOhk4RFxef86iZiBfnUfPTNmu/P1phb05vceT7lqG6D+iY4JaVjjb6xau+vPTdmxFhCtFk5U=
Received: from DB3PR0602MB3788.eurprd06.prod.outlook.com (52.134.70.148) by DB3PR0602MB3737.eurprd06.prod.outlook.com (52.134.68.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1537.24; Wed, 16 Jan 2019 23:21:14 +0000
Received: from DB3PR0602MB3788.eurprd06.prod.outlook.com ([fe80::d8d3:60ff:12b6:9a9c]) by DB3PR0602MB3788.eurprd06.prod.outlook.com ([fe80::d8d3:60ff:12b6:9a9c%4]) with mapi id 15.20.1516.019; Wed, 16 Jan 2019 23:21:02 +0000
From: "Diego R. Lopez" <diego.r.lopez@telefonica.com>
To: Eric Rescorla <ekr@rtfm.com>, "draft-ietf-acme-star@ietf.org" <draft-ietf-acme-star@ietf.org>, IETF ACME <acme@ietf.org>
Thread-Topic: AD Review: draft-ietf-acme-star-04
Thread-Index: AQHUm8XXVhsDbdAi0kOyF0EWjklF1aWyvYAA
Date: Wed, 16 Jan 2019 23:21:01 +0000
Message-ID: <7FCC99B8-C9FF-4F56-93D5-15AF3F519151@telefonica.com>
References: <CABcZeBMSXR_bQTf10mgBwvrjD=XZHughKvoE=kX7K6zDrY_qxw@mail.gmail.com>
In-Reply-To: <CABcZeBMSXR_bQTf10mgBwvrjD=XZHughKvoE=kX7K6zDrY_qxw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.10.5.181209
authentication-results: spf=none (sender IP is ) smtp.mailfrom=diego.r.lopez@telefonica.com;
x-originating-ip: [83.61.2.176]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB3PR0602MB3737; 6:COIkyl8xW4VH0EnhvI/M1oJkgX0emmNSxPko6X+OoaOTobHlRJNXJgWEP5drR5sRzG4PkcdAPyJFVr40wR24plxoVfrY8y3F2SNXg9xGLr+BV8DW7F+jcIYKRBGJqpFQ3JeY7DYLRCnP7VgjHgV/J2vb4RZMVkBOFjDnaqf0Y4god1+5qJQrHmN1tQG8N3qOn+WA+w+KbJKJkOyVOBaP2uitpTbMD2b3UbJoEMPK9j+qKsqg8Zel6Wigjgfe6PxYFii9qKPNQ6lwAJyWrwMqG++OcfeU+30QTboith9+82Bt6v6yyoC1DdzPzosMSGPE9kjStJGlnjzy6JydhZBo641Q0+4uGVmoeLGiw43cl4ocH4uraNQNa7Rl8RSqpj5MWB6OWq6D29jmLDgVEqQG2Tv+WKxHhEi3OABXW1E29wBDWqRZiEhKBLzN/zfX2QNIAUeV9uiI7WBw0MFX4UjHbw==; 5:NdOlhivRpaeEIdxzPIcDfrO08ZzVKVK6A2jUzYNTf7hdaoxjBGhRg5+Cks+QZO6r7Co0anO3BzazgK8+0TfdpNtcmze2Efst/Ljk5ZP7Q3UOrFG0y7O0dfFzvP95TQrpgtwjLU8goRbdVsTr4TF71euZ0nY+NDxzS2xvlGLNMrQgGK+JalW81YzQORgxiMBM+8tdHfHgrO8S1o2W7oB4EQ==; 7:LLjcGWQQ7sbAUG9cWqxNddvOgX7UKBMJdb7C5jvYwIeEHKZ3SY3vUIn7DOObUlTceQcEnIJZqhPORNy3f5OQCKcpuk60nwUNT/QZvJLQlJqvPy/KhHD1E3cVkI6h5CvruNaNrTzBSY8OdXt4n+XutQ==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 640bb594-93ce-4306-d065-08d67c0947c4
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB3PR0602MB3737;
x-ms-traffictypediagnostic: DB3PR0602MB3737:
x-microsoft-antispam-prvs: <DB3PR0602MB3737C811E7762851881A1EBFDF820@DB3PR0602MB3737.eurprd06.prod.outlook.com>
x-forefront-prvs: 091949432C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(366004)(376002)(39860400002)(346002)(136003)(396003)(199004)(189003)(40134004)(476003)(2616005)(106356001)(68736007)(53546011)(97736004)(99286004)(6506007)(6436002)(446003)(229853002)(76176011)(606006)(102836004)(71190400001)(71200400001)(105586002)(25786009)(58126008)(110136005)(7736002)(786003)(82746002)(2906002)(316002)(11346002)(83716004)(66574012)(6246003)(186003)(486006)(6116002)(5660300001)(8676002)(54896002)(6512007)(6306002)(45080400002)(478600001)(236005)(66066001)(2501003)(26005)(3846002)(14454004)(81156014)(966005)(6486002)(81166006)(33656002)(86362001)(8936002)(53936002)(36756003)(14444005)(256004)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB3PR0602MB3737; H:DB3PR0602MB3788.eurprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: telefonica.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: JsEtBK4bODTYSc+3ojj0lCurUsSfm3eFQ/aguhLvmvREflJQ4B+Jmb6VvmHY7yDWJGuMkZh492KeKga3vfggzAoWiAXOtW8ODHa76/f7phQKQASrmqP+4mfKCqMrMNxJ1gl4R+CyCQ7LsgvefGkk4xU8ubRjJhOyLc+jc3erZg8qu//Mm0+Sq/mfjeW3Dmq22ovpvobfDMPa4r3nkeQTAYmz4THksiVWZqiL4AWpSXeZwPbgOH2hDhhk3xmjQwGgNP5WSRfu0ypfgtZ58biVmA+T9yC0Fcp0EKx5zcPsm/O1ZXgG+G/JYXH8OXo2UNX9F24X41iaqEIeS5txFtKZojmVgb/9Xh9di75nZM47w86KB2/ggG22WaV2O0VB3enpdgkkKc95a38XwQRYYDS1Fmx6+yJ2e3ys32KOxE0qB+Q=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_7FCC99B8C9FF4F5693D515AF3F519151telefonicacom_"
MIME-Version: 1.0
X-OriginatorOrg: telefonica.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 640bb594-93ce-4306-d065-08d67c0947c4
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2019 23:21:01.8415 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9744600e-3e04-492e-baa1-25ec245c6f10
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0602MB3737
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/ZWRzPxrWBrp_xjEn98A4HOBxkc4>
Subject: Re: [Acme] AD Review: draft-ietf-acme-star-04
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Automated Certificate Management Environment <acme.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/acme>, <mailto:acme-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/acme/>
List-Post: <mailto:acme@ietf.org>
List-Help: <mailto:acme-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/acme>, <mailto:acme-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jan 2019 23:21:23 -0000

Hi,

There is a Boulder-based full implementation (including the delegation mechanisms in draft-ietf-acme-star-delegation) available in Github:

https://github.com/mami-project/lurk

(the repository is called “lurk” and not “star” because pure historical reasons)

It has been used in several demos and pilots of STAR, within Telefonica and elsewhere.

Be goode,

--
"Esta vez no fallaremos, Doctor Infierno"

Dr Diego R. Lopez
Telefonica I+D
https://www.linkedin.com/in/dr2lopez/

e-mail: diego.r.lopez@telefonica.com<mailto:diego.r.lopez@telefonica.com>
Tel:         +34 913 129 041
Mobile:  +34 682 051 091
----------------------------------

On 24/12/2018, 21:18, "Eric Rescorla" <ekr@rtfm.com<mailto:ekr@rtfm.com>> wrote:

Rich version of this review at:
https://mozphab-ietf.devsvcdev.mozaws.net/D4723


After reviewing this document, I'd like to reconsider the proposed
status of this document. Based on Section 5, it doesn't appear that
there are any production implementations of this document. Are there
any existing or planned production implementations from live CAs or
clients?  If not, this seems like a better fit for Experimental.


IMPORTANT
S 3.4.
>         present and set to true, the client requests the server to allow
>         unauthenticated GET to the star-certificate associated with this
>         Order.
>
>      If the server accepts the request, it MUST reflect the key in the
>      Order.

it seems like some security considerations are needed here to prevent
enumeration.


S 4.1.
>      of clock-related breakage reports which account for clients that are
>      more than 24 hours behind - happen to be within 6-7 days.
>
>      In order to avoid these spurious warnings about a not (yet) valid
>      server certificate, it is RECOMMENDED that site owners pre-date their
>      Web facing certificates by 5 to 7 days.  The exact number depends on

I don't understand how this works. The client is able to provide the
notbefore date, which gives a pre-date for the first certificate, but
S 2.2 just says that the re-issue is "before the previous one
expires". So suppose it is currently 2018-07-15" and I ask for a
certificate with "recurrent-start-date=2018-07-10" and "recurrent-
certificate-validity=5", I thus get back a cert with validity
"2018-07-10 -- 2018-07-20", i.e., pre-dated by 5 days. The next
certificate needs to be issued on or before "2018-07-20", but the text
doesn't say when it's notbefore has to be, so it could have validity
"2018-07-19 -- 2018-07-25". It seems like this document needs to
specify an explicit way to pre-date, but it doesn't.


COMMENTS
S 1.
>      new short-term certificate is needed - e.g., every 2-3 days.  If done
>      this way, the process would involve frequent interactions between the
>      registration function of the ACME Certification Authority (CA) and
>      the identity provider infrastructure (e.g.: DNS, web servers),
>      therefore making the issuance of short-term certificates exceedingly
>      dependent on the reliability of both.

I don't see why this is the case. Once you have authorized once, the
CA can just return that no authorizations are required.


S 3.1.1.
>      o  recurrent-certificate-validity (required, integer): the maximum
>         validity period of each STAR certificate, an integer that denotes
>         a number of seconds.  This is a nominal value which does not
>         include any extra validity time which is due to pre-dating.  The
>         client can use this value as a hint to configure its polling
>         timer.

This text is confusing. The client produces the order, so how is it
using it as a hint.


S 3.1.2.
>
>      Issuing a cancellation for an order that is not in "valid" state has
>      undefined semantics.  A client MUST NOT send such a request, and a
>      server MUST return an error response with status code 400 (Bad
>      Request) and type
>      "urn:ietf:params:acme:error:recurrentCancellationInvalid".

This doesn't sound like undefined semantics. It's just illegal.

________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição