Re: [Uta] smtp-sts-04 JSON
Binu Ramakrishnan <prbinu@yahoo.com> Tue, 25 April 2017 04:22 UTC
Return-Path: <prbinu@yahoo.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2F6E1314D9 for <uta@ietfa.amsl.com>; Mon, 24 Apr 2017 21:22:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.41
X-Spam-Level:
X-Spam-Status: No, score=-0.41 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 UViMZX2RwjHj for <uta@ietfa.amsl.com>; Mon, 24 Apr 2017 21:22:13 -0700 (PDT)
Received: from nm22-vm2.bullet.mail.sg3.yahoo.com (nm22-vm2.bullet.mail.sg3.yahoo.com [106.10.151.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 11E01120326 for <uta@ietf.org>; Mon, 24 Apr 2017 21:22:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1493094130; bh=EleaaBetJhZRHkDwgmoFeztsDPChvj9SpBNXT15s7Tw=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=Yuo+RGKp9Eq7ugKI4stByHStDkFrMTUWa3fzhIjxA/7Z4s2+0ziUl82Zka3aUUO0y/n2Uv23fU6dYrghIY/7jTXYbrXrknzyZVyb4ObJoMR6cKalZj2CTKADVi8jPCvsDB6n8xo9dBwoV+FNn7991Bf/Fh4pseqQbIVXjbnRDdpR6Rs30e4ZUsDWfz5rLPT1fXlNwZ9AJIcXLcRyIznwYlltmavapTwS0djsVDCdtb+K8pvAhl1THiHHXrI6ido8U8rKpUZAQG0oCq1QVYzD9pwXHrT7mAavqNN9THMEzdaH2yNgdAzqPXS4gm+CpQq8UEmbrnjsuwx1vpV142iFzA==
Received: from [106.10.166.113] by nm22.bullet.mail.sg3.yahoo.com with NNFMP; 25 Apr 2017 04:22:10 -0000
Received: from [106.10.151.254] by tm2.bullet.mail.sg3.yahoo.com with NNFMP; 25 Apr 2017 04:22:10 -0000
Received: from [127.0.0.1] by omp1003.mail.sg3.yahoo.com with NNFMP; 25 Apr 2017 04:22:10 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 962158.19623.bm@omp1003.mail.sg3.yahoo.com
X-YMail-OSG: zDpmtawVM1mxHES13fURZvTt5l5oSJPQGQEZ4UR_74Td8xqanFMMY.XKsIbJKPi HwVRXw2X9lgwZQf3Jnf5EabO8QmiDqc_jKeuh4NorHc8.SP4BEg5o6lLgrVFkhXamI1U0fnV_Lmv blS1FdMCm6f3VBdm.YjbVenOzr51mTMQlWwJfXdwEOKwv_e1JhhNJQNQXl2qwjCkZSAyfrXtw1DG gqpWzIAgrV6dE9eVvbDwDtL4N0wgIYVSv4p_.4nwa3mVzQzYba13FPlM7uV49InLRJy4O0nmxk3R WigXNWr4mNyjPsJZnSykOViOjBFruSbmTCMVpbVK.pHh2JPXWP06SumrnATAGVg2vfoGg4azPCDr 2azoGuPp05QJT3_emz0xGEeecD.1aWq04NMAAPw5YeqL89lZMYnK5mvXJQKosDl.K4fhZEZRlLJG 7wyglupg5wczOCZ2oLtKbNh7yA.zdCh45B3OdzSgreXr3TO5TRXDM_.v2QNa4wexAh_URPw.4m9M xh3d3sMKBfyFYX_pMNKSNSd9E
Received: from jws600031.mail.sg3.yahoo.com by sendmailws114.mail.sg3.yahoo.com; Tue, 25 Apr 2017 04:22:10 +0000; 1493094130.590
Date: Tue, 25 Apr 2017 04:21:53 +0000
From: Binu Ramakrishnan <prbinu@yahoo.com>
Reply-To: Binu Ramakrishnan <prbinu@yahoo.com>
To: "uta@ietf.org" <uta@ietf.org>
Message-ID: <1706958889.8319848.1493094113668@mail.yahoo.com>
In-Reply-To: <271D533C-7C48-438C-8BBE-0EEC0DFB92DF@dukhovni.org>
References: <52dde16a-a3bb-5844-7daa-a349def85049@wizmail.org> <80676A32-78CB-4FFA-AEE4-94DA95102B98@dukhovni.org> <a2a6e5f5-ff3b-272b-abda-b49fe23a485d@wizmail.org> <605FE793-3D82-4C4F-9F93-D50DF4320DF5@dukhovni.org> <9402ac0a4990432f994656ddaf94b9e2@COPDCEX19.cable.comcast.com> <CE55E42E-9845-46A6-B0AA-F56CE56F2936@dukhovni.org> <CANtKdUevHbQaUga2=X0tFy4K=po=DL=pKUn-2KZQgRUPTtYAig@mail.gmail.com> <DE3A2AC6-63C0-4C17-9D9E-BF9CB2B3A289@dukhovni.org> <CANtKdUer3CSruZRf-mXp+yvMKY_kCTaQ1vyZGVenNgVf5a9T2g@mail.gmail.com> <907547420.8067868.1493073246224@mail.yahoo.com> <271D533C-7C48-438C-8BBE-0EEC0DFB92DF@dukhovni.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_8319847_287722899.1493094113665"
X-Mailer: WebService/1.1.9408 YahooMailNeo Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30
Archived-At: <https://mailarchive.ietf.org/arch/msg/uta/QA52VKm4fMFHO63H2tWkDgC5Fms>
Subject: Re: [Uta] smtp-sts-04 JSON
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Apr 2017 04:22:15 -0000
As an engineer I agree with you and would be hesitant to add additional dependencies to my software. But when we talk about IETF and standards, is it not better to promote widely accepted syntax/format? Wondering why IETF doesn't have a RFC doc for kv pair syntax. thanks-binu From: Viktor Dukhovni <ietf-dane@dukhovni.org> To: uta@ietf.org Sent: Monday, 24 April 2017 3:49 PM Subject: Re: [Uta] smtp-sts-04 JSON > On Apr 24, 2017, at 6:34 PM, Binu Ramakrishnan <prbinu@yahoo.com> wrote: > > IMO the main hurdle with key-value format is that we do not have a standard > format, and by extension off-the-shelf library support. So the question is > - whether to write custom kv parsers or use a standard format - JSON. SMTP MTAs already parse key-value pairs in EHLO responses, and ESMTP extensions to the MAIL FROM and RCPT TO commands. No additional code is required to do similar parsing of the policy in question. JSON is not a standard "format" it is a general syntax, that can represent a stream of composite objects. This is a poor fit in terms of the libraries needed to support JSON and having to deal with attributes that hold the wrong kind of data (list instead of scalar) or multiple objects instead of one... -- Viktor. _______________________________________________ Uta mailing list Uta@ietf.org https://www.ietf.org/mailman/listinfo/uta
- Re: [Uta] back to smtp-sts-04 Viktor Dukhovni
- Re: [Uta] back to smtp-sts-04 Benjamin Kaduk
- Re: [Uta] back to smtp-sts-04 Daniel Margolis
- Re: [Uta] smtp-sts-04 JSON James Cloos
- Re: [Uta] smtp-sts-04 JSON Daniel Margolis
- Re: [Uta] back to smtp-sts-04 Daniel Margolis
- Re: [Uta] smtp-sts-04 JSON Viktor Dukhovni
- Re: [Uta] smtp-sts-04 JSON Viktor Dukhovni
- Re: [Uta] smtp-sts-04 JSON Binu Ramakrishnan
- Re: [Uta] smtp-sts-04 JSON Viktor Dukhovni
- Re: [Uta] smtp-sts-04 JSON Binu Ramakrishnan
- Re: [Uta] smtp-sts-04 JSON Salz, Rich
- Re: [Uta] back to smtp-sts-04 Peter Gutmann
- Re: [Uta] STS policy removal Viktor Dukhovni
- Re: [Uta] smtp-sts-04 JSON Viktor Dukhovni
- Re: [Uta] STS policy removal Daniel Margolis
- [Uta] mtp-tlsrpt-04 review Jeremy Harris
- Re: [Uta] mtp-tlsrpt-04 review Viktor Dukhovni
- Re: [Uta] mtp-tlsrpt-04 review Jeremy Harris
- Re: [Uta] mtp-tlsrpt-04 review Viktor Dukhovni
- Re: [Uta] mtp-tlsrpt-04 review Brotman, Alexander
- Re: [Uta] mtp-tlsrpt-04 review Jeremy Harris
- Re: [Uta] back to smtp-sts-04 Viktor Dukhovni
- Re: [Uta] mtp-tlsrpt-04 review Brotman, Alexander