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

Robert Stepanek <rsto@fastmailteam.com> Fri, 23 October 2020 06:54 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 E94363A05D0 for <jmap@ietfa.amsl.com>; Thu, 22 Oct 2020 23:54:07 -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=LP8fWH9h; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=ppnMjmgV
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 7SBdSLroNk9M for <jmap@ietfa.amsl.com>; Thu, 22 Oct 2020 23:54:05 -0700 (PDT)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE98A3A05A6 for <jmap@ietf.org>; Thu, 22 Oct 2020 23:54:04 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0A09D5C00E6 for <jmap@ietf.org>; Fri, 23 Oct 2020 02:54:04 -0400 (EDT)
Received: from imap7 ([10.202.2.57]) by compute4.internal (MEProxy); Fri, 23 Oct 2020 02:54:04 -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=tr4SS5h o1VZWfQA4O4jUoQP+CDKN3tyJsjcJRAITZSU=; b=LP8fWH9hBk23GQag/Lw7up+ bgVPdI0cqSzaXXrs4zvk5ZL8nA09TDk+j4uQri7MejQyqCbnivGGUJEMsSUQnOr8 aGvCxfBtcUlR7rfm7J/TFT/QPv4vMhFmAdDr/J1aO2T3Y0IA07PH0sDZKREkws8P DHV1FOVfo45+se9IcsrqRqMfVv9eABcR2b4F95dTkpF6HFstnJRyxSr5gmSjOLmI /Qx2H4uMsNGTeF/R8mRbJ0uz1Hg3KWfm/86H32xf+kBtdgjRRTBLhrmpnHEg7oVd lcZnxdtSaWgQkOxfQElO/4FSMbYuiB5qrdZmRn7Mu/88orfZvgGxJD7gThL9zPA= =
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=tr4SS5 ho1VZWfQA4O4jUoQP+CDKN3tyJsjcJRAITZSU=; b=ppnMjmgV5EDQYo7DqtA9m/ CaNDXo7Wg+G93UqE4Ln+7O92ZJWCdlUKP1QFzEDleFQ35KZ6LJuJUbIRmiLVXpEA AZ5HwYtMlKy0XtrxDBSRzKiQ3uwoeliOofZr7nc858KuzNG15TrOdq2GRY9UA9P/ CniUa8w8WzKhmwoU+x7UdZWoo9UO+W57nzRNZ0LyO6Rlq06eMwUIHr8uX3hgKKNX 7pEhCtq5H7Pt1iGiuHbtLJkbuWWC7nUYWncNeLvmo2elBKnPSIFwOkeChtuu+To7 RBOZ120Fbg69o0ngtEPQqLAOkO4Gg6Nm/tUe2jd6fjuKBD1bt6hB5mmfcdWt0ckg ==
X-ME-Sender: <xms:Cn6SX5-tQYtFKHk8s9E7eYk2lXhzuyzfukwZJNb8SkmIQ2K7TKn9ew> <xme:Cn6SX9vifYX0XfKVSCvG3RaVEF0KDDbGS1-X5_8cxuY90j8PV-XVOftSUJ6XAHwYp EqjrTWiW7sJ7A>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeelgdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerreejnecuhfhrohhmpedftfhosggvrhhtucfuthgvphgrnhgvkhdfuceorhhsthho sehfrghsthhmrghilhhtvggrmhdrtghomheqnecuggftrfgrthhtvghrnheptdeguefhfe euvefgleekteejleffteekleetiefhjeeiheevteffffeutdetleelnecuffhomhgrihhn pehgihhthhhusgdrtghomhdpjhhmrghprdhiohdprghuughrihhgrgdrtghomhdpthifih htthgvrhdrtghomhdpihgvthhfrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheprhhsthhosehfrghsthhmrghilhhtvggrmhdrtghomh
X-ME-Proxy: <xmx:Cn6SX3CxrvNr_gpxaapZSn6SeGsKpkxSZnJelt-zFh9ETnUL8gLaxA> <xmx:Cn6SX9eY76xV5ZUWd3-vXxXIe5eOW1mbI8XVy7MwSv_Emp08SQ93tQ> <xmx:Cn6SX-MBzXmOy8m0W8fJQ0g3W-DEPAfbT_fKjjdXQ4rooRqIlksGzw> <xmx:DH6SX0aNmCN9alMV9Ez14DhnzuuGdqrB0svI6KwfrS1MNeJ-COryZw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id C15B2180094; Fri, 23 Oct 2020 02:54:02 -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: <a7c9726c-7d5a-4c17-888a-700379673a57@www.fastmail.com>
In-Reply-To: <90d01e10-4a53-66f7-2fb3-409a7aec1896@audriga.com>
References: <9c836781-81bd-1bd7-4aa7-9475040d48e0@audriga.com> <9c1d3345-8438-56e4-a302-beaaab6dc02a@fastmail.com> <90d01e10-4a53-66f7-2fb3-409a7aec1896@audriga.com>
Date: Fri, 23 Oct 2020 08:53:05 +0200
From: Robert Stepanek <rsto@fastmailteam.com>
To: jmap@ietf.org
Content-Type: multipart/alternative; boundary="5d4495ebcd94416db90f2c459d9377c5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/8YH4Ze8NmkxTLqareRq7w8vmZy0>
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 06:54:08 -0000

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
>