Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalDAV/CardDAV support #20

Open
kjarex opened this issue Sep 13, 2022 · 2 comments
Open

CalDAV/CardDAV support #20

kjarex opened this issue Sep 13, 2022 · 2 comments

Comments

@kjarex
Copy link

kjarex commented Sep 13, 2022

Sorry for the question as it's somewhat unrelated, but as you all have the the relevant certificates and obviously also care about push notifications - has anyone of you also push for card/caldav running? If so, can you please point me to the project if there is any public source?

IF there isn't (I couldn't find any), would the xaps-daemon as it is be able to support those, too? Or would it need adjusting (I'm fully aware that CCS (or any other carddav/caldav server) would still need the plugin to even speak to the daemon in the first place - but this might be easier to get if it just needs to support the dovecot-xaps-daemon instead of the full way up to Apple's servers (with http/2 etc).

@freultwah
Copy link

freultwah commented Sep 13, 2022

AFAIK CalDAV/CardDAV push is done via XMPP PubSub and involves installing a Jabber server and setting up all kinds of SRV records in DNS. While there is some support for it in DAViCal, the code is very old and smells of mold and even though I've tried to make it work, I have not been able to.

@freswa
Copy link
Owner

freswa commented Sep 13, 2022

The first implementation of the APNS (Apple Push Noticiation Service) relied on XMPP. Many of the client implementations that are well known, were made when that protocol was still in use. Though, XMPP was replaced with APNS binary protocol which has been deprecated for years and stopped working 1-2 years ago. The implementation of the APNS that has to be used by all services relies on HTTP/2. YMMV, this is just a brain dump.

I worked for a company a couple of years ago, where I helped implementing CalDAV/CardDAV APNS push for Apple devices.

I've been thinking about implementing the daemon part for some time, but there is no CalDAV/CardDAV implementation that is easily adoptable to finish the implementation on a few weekends.

If there is someone interested in sponsoring the work and we find a CalDAV/CardDAV project that is willing to implement the client part or is willing to accept a MR that implements it, I'd give it a shot.

@freswa freswa changed the title Somewhat unrelated - caldav/carddav CalDAV/CardDAV support Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants