Re: [Jmap] Auth schemes for JMAP Contacts/Calendars

Robert Stepanek <rsto@fastmailteam.com> Fri, 23 October 2020 07:37 UTC

Return-Path: <rsto@fastmailteam.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB24D3A09C4 for <jmap@ietfa.amsl.com>; Fri, 23 Oct 2020 00:37:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=HpC+NTel; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Vj+erBRN
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 U5yNsSN3GkgJ for <jmap@ietfa.amsl.com>; Fri, 23 Oct 2020 00:37:55 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 387B03A09C1 for <jmap@ietf.org>; Fri, 23 Oct 2020 00:37:55 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7B3DA5C00C8 for <jmap@ietf.org>; Fri, 23 Oct 2020 03:37:54 -0400 (EDT)
Received: from imap7 ([10.202.2.57]) by compute4.internal (MEProxy); Fri, 23 Oct 2020 03:37:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type; s=fm1; bh=sQw+T0j Sz1pcf9BCE0oWGZzA5YlEP9+wnMMDU6CsgRo=; b=HpC+NTelvqDSfKah7ZqdHDV HrMaOJFvoOzmzSxbaOf0U8IAqJkHRLqW4f59t5bHfa7BJwrlSVtIDPXlAEcjEdFk YFEz0S0u3C9GAHPEk4mzGkUw9wY9AlGXst1cLf4/7Iq1esgTttb4+3SuuLOKdrek ZwJP9wL/xfxL6gvYrGwtCpaFA2otQDLSmGBTnJlsHeOAZZQ8nIbm0RtG4CS/mwXc YySNOoRkyo1en331u822Ecv/HKHukbSlxdeoyI58eUz7G6Bx7u/tq+0HWEsnlOG2 m1mAPOXF9PyrXQKrNCFtVpRXvc+pRfEw9gHIiUdQgJSAwJFnqUGHBYfLHYFXEGw= =
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=sQw+T0 jSz1pcf9BCE0oWGZzA5YlEP9+wnMMDU6CsgRo=; b=Vj+erBRN5wOarF6hvzUivT fe85yO7tvpP+PI8xkbAMdwMVReS8od3dG2x/xKUMXEVPvf/M01paIgpj4A0Kh/UJ vdHXx4BBXlTWo493xLkCmAOFUjGx8doL1Wqs1K9jBBIHe6Ck7HrMcSquwk3yXj1+ QTD6DoHheZ6IptNb7hDr9OEZvalL1HRofdbiUy1xUmaaMqCN4rT+vfWUu7/kgKBf QC+/73QFFl8oSj8n9nctpAaEk7RKwR7zbTLAx/sWP184zG4uUTFUGD2xlIy05nLE FWWBKNt1IjGV9ziasNwciwrlj3YW/h22fEWMrgWC1YywvLuK+rBsSTuf3ou2aiVQ ==
X-ME-Sender: <xms:UYiSXyor-ZlrpoAYPXvxVVD2HP-bNa01g67orK_MoNomvJrswNnPNA> <xme:UYiSXwo5jeq9xu5DO2QxFzlupkkWkE2slm599HtZYTyEQETB1_LMtH5mignimrJP- 4PbdXx3MoY5Pw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeelgdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerreejnecuhfhrohhmpedftfhosggvrhhtucfuthgvphgrnhgvkhdfuceorhhsthho sehfrghsthhmrghilhhtvggrmhdrtghomheqnecuggftrfgrthhtvghrnhepfeetgeevff ejtdehgeegffdugfeuffeivdekgeeiffefveeltddugeelffeljefhnecuffhomhgrihhn pehjmhgrphdrihhopdhivghtfhdrohhrghdpghhithhhuhgsrdgtohhmpdgruhgurhhigh grrdgtohhmpdhtfihithhtvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheprhhsthhosehfrghsthhmrghilhhtvggrmhdrtghomh
X-ME-Proxy: <xmx:UYiSX3Od-PcgwrooGAoIMUu3WAvQy5B-2YAqCatwqY7XS0dGGwQ9yw> <xmx:UYiSXx7INxeVXFRR1vvRUyTy8yNioxlGp5fuauGF8yXH7f5r-YCm2w> <xmx:UYiSXx7tdryxV0W9Jpsk2R4VljOWMtXVV_sR5AXnPPqSkjn1Rv6tHg> <xmx:UoiSXzERUHosRslOSuPvpTDliG3krhbmExQNR4F8kxZ3_d8qzo_HEg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 38120180094; Fri, 23 Oct 2020 03:37:53 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-529-g69105b1-fm-20201021.003-g69105b13
Mime-Version: 1.0
Message-Id: <aa03b3b6-ac88-4d5a-9140-78b9e9ae05d1@www.fastmail.com>
In-Reply-To: <38a5a33d-4402-455b-95c8-1aa599bfb3de@audriga.com>
References: <9c836781-81bd-1bd7-4aa7-9475040d48e0@audriga.com> <9c1d3345-8438-56e4-a302-beaaab6dc02a@fastmail.com> <90d01e10-4a53-66f7-2fb3-409a7aec1896@audriga.com> <a7c9726c-7d5a-4c17-888a-700379673a57@www.fastmail.com> <38a5a33d-4402-455b-95c8-1aa599bfb3de@audriga.com>
Date: Fri, 23 Oct 2020 09:37:33 +0200
From: Robert Stepanek <rsto@fastmailteam.com>
To: jmap@ietf.org
Content-Type: multipart/alternative; boundary="a5b09b90b00b496c8ea82ec9ed8da281"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/VXN2kG2Fnj_l72AEVd_sIvHuJ3k>
Subject: Re: [Jmap] Auth schemes for JMAP Contacts/Calendars
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Oct 2020 07:37:57 -0000

Hi,

The Calendars and Contacts specifications at https://jmap.io/spec.html are drafts.

For calendars, the specification at jmap.io is identical to the latest IETF draft https://datatracker.ietf.org/doc/html/draft-ietf-jmap-calendars. The JSEvent object type is defined at https://datatracker.ietf.org/doc/html/draft-ietf-calext-jscalendar.

For contacts, the specification at jmap.io is what will be the starting point for an IETF draft in the near future. The JSContact object type is defined at https://datatracker.ietf.org/doc/draft-ietf-jmap-jscontact/

The more implementations exist for these draft specifications, the better. It's the best way to identify improvements for the drafts and helps reaching consensus at IETF to publish the RFC.

Cheers,
Robert

On Fri, Oct 23, 2020, at 9:13 AM, Joris Baum wrote:
> Hi Robert,

> that already gives me quite a good overview! Thanks.

> However, I am still a bit confused what you mean by "spec" and "draft". The way I understand it the "specs" are what lives on https://jmap.io/spec.html and is what is supposed to be implemented by client developers (like us), while the IETF "drafts" are still heavily WIP and will gradually merge into https://jmap.io/spec.html in the coming months. Now, you mentioned "JSContact spec drafts". However, there is currently no mention of JSContact at jmap.io . Could you clarify a bit?

> Regards,

> Joris

> 

> On 23.10.20 08:53, Robert Stepanek wrote:
>> Hi Joris,
>> 
>> For calendars, the Cyrus master branch implements what is also currently in use at Fastmail. It implements the CalendarEvent and Calendar JMAP object types. The JSEvent implementation is close to the latest spec for jscalendar.
>> 
>> There is also a work-in-progress branch at https://github.com/cyrusimap/cyrus-imapd/tree/jmap-calendars-01 which aims to implement the latest JMAP calendars spec draft https://jmap.io/spec-calendars.html. I can't say when we will merge that on master, but if you want to play with the branch don't hesitate to contact me for any questions!
>> 
>> For contacts, the Cyrus implementation substantially lags the latest JMAP Contacts and JSContact spec drafts. That's because both of these drafts haven't seen much progress in the past months, and I don't expect that to change until the calendar specs have settled. Mario Loffredo, the co-author of JSContact, maintains tools to convert between VCARD and the JSContact draft object model: https://github.com/consiglionazionaledellericerche/jscontact-tools
>> 
>> Cheers,
>> Robert
>> 
>> On Fri, Oct 23, 2020, at 8:33 AM, Joris Baum wrote:
>>> Hi Ken,
>>> 
>>> thanks a lot for your fast reply and for clarifying. Do you suggest to
>>> play around with Cyrus in the meantime until Fastmail allows access to
>>> contacts/calendars? Or is there another software you can recommend for
>>> exploring the JMAP contacts/calendars protocol?
>>> 
>>> Regards,
>>> 
>>> Joris
>>> 
>>> 
>>> On 23.10.20 01:42, Ken Murchison wrote:
>>> > Hi Joris,
>>> >
>>> > Fastmail currently isn't allowing public JMAP access to calendars and
>>> > contacts because the standards have yet to be finalized.  Once they
>>> > are finalized, and Cyrus is compliant, you can expect to have direct
>>> > access to your resources via JMAP.
>>> >
>>> >
>>> > On 10/22/20 11:02 AM, Joris Baum wrote:
>>> >> Hi all,
>>> >>
>>> >> I would like to play around with several service providers that support
>>> >> JMAP Contacts/Calendars to push forward the JMAP standard by extending a
>>> >> JMAP library. While I was able to do some testing with Cyrus and Basic
>>> >> Auth, I was unable to use Basic Auth for Fastmail, since the app
>>> >> password seems to be specific for mail.
>>> >>
>>> >> Is there a preferred way to authenticate without a UI towards Fastmail?
>>> >> Something like an app password not tied to JMAP mail but also JMAP
>>> >> Contacts/Calendars?
>>> >>
>>> >> Regards,
>>> >>
>>> >> Joris Baum
>>> >>
>>> -- 
>>> Joris Baum
>>> Tel: +49 721 170293 16
>>> Fax: +49 721 170293 179
>>> 
>>> http://www.audriga.com | http://www.twitter.com/audriga
>>> 
>>> --------------------------------------------------------------------------
>>> audriga GmbH | Durlacher Allee 47 | 76131 Karlsruhe
>>> Sitz der Gesellschaft: Karlsruhe - Amtsgericht Mannheim - HRB 713034
>>> Geschäftsführer: Dr. Frank Dengler, Dr.-Ing. Hans-Jörg Happel
>>> --------------------------------------------------------------------------
>>> 
>>> 
>>> _______________________________________________
>>> Jmap mailing list
>>> Jmap@ietf.org
>>> https://www.ietf.org/mailman/listinfo/jmap
>>> 
>> 
>> 
>> _______________________________________________
Jmap mailing list
>> Jmap@ietf.org
>> https://www.ietf.org/mailman/listinfo/jmap
>> 
> -- 
Joris Baum
Tel: +49 721 170293 16
Fax: +49 721 170293 179

> http://www.audriga.com | http://www.twitter.com/audriga

--------------------------------------------------------------------------
audriga GmbH | Durlacher Allee 47 | 76131 Karlsruhe
Sitz der Gesellschaft: Karlsruhe - Amtsgericht Mannheim - HRB 713034
Geschäftsführer: Dr. Frank Dengler, Dr.-Ing. Hans-Jörg Happel
--------------------------------------------------------------------------
> _______________________________________________
> Jmap mailing list
> Jmap@ietf.org
> https://www.ietf.org/mailman/listinfo/jmap
>