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

End-to-end-encrypt contacts #9782

Closed
rugk opened this issue Jun 7, 2018 · 12 comments
Closed

End-to-end-encrypt contacts #9782

rugk opened this issue Jun 7, 2018 · 12 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement feature: encryption (client-side) Nice to have

Comments

@rugk
Copy link

rugk commented Jun 7, 2018

From nextcloud/contacts#569 by @mejo-

Now that Nextcloud has end to end (e2e) encryption support, it would be awesome to extend that support to the Contacts and Calendar apps.

One would have to agree on a standard for delivering encrypted content via cardDAV/calDAV, implement it server-side in the Nextcloud apps and then coordinate with the cardDAV/calDAV clients (e.g. DAVdroid, Thunderbird Lightning, ...) to make them support the new e2e feature.

Do you think, that's feasible?

Certainly, the web applications no longer would work with e2e encryption, but that's an acceptable tradeoff in my opinion. It's quite common to merely use the contacts & calendars apps for syncing via cardDAV/calDAV and don’t use the web interface at all.

There's a related discussion on help.nextcloud.com: Add end-to-end encryption for contacts & calendar

@skjnldsv skjnldsv added enhancement 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jun 7, 2018
@mejo-
Copy link
Member

mejo- commented Jun 7, 2018

Thanks for copying the feature request over here, @rugk.

@rugk rugk changed the title End-to-end-encryot contacts End-to-end-encryüt contacts Jun 7, 2018
@rugk rugk changed the title End-to-end-encryüt contacts End-to-end-encrypt contacts Jun 7, 2018
@GoetheG
Copy link

GoetheG commented Jun 10, 2018

I second it!

@rugk
Copy link
Author

rugk commented Jun 10, 2018

Again here the link to the previous discussion, why this is needed, and why I think many people would use it even when they cannot search contacts in the web interface then: https://help.nextcloud.com/t/add-end-to-end-encryption-for-contacts-calendar/28879

@georgehrke
Copy link
Member

georgehrke commented Jun 11, 2018

One would have to agree on a standard for delivering encrypted content via cardDAV/calDAV, implement it server-side in the Nextcloud apps and then coordinate with the cardDAV/calDAV clients (e.g. DAVdroid, Thunderbird Lightning, ...) to make them support the new e2e feature.

What's the realistic chance of them ever adopting this feature?

Do you think, that's feasible?

To be honest, absolutely not.
E2E for files is perfectly feasible, because we provide our own clients for all major platforms, but there are already plenty of Calendar / Addressbook clients out there. We are not gonna start developing our own desktop / mobile calendar/addressbook clients for all major platforms.

@rugk
Copy link
Author

rugk commented Jun 12, 2018

So then we maybe need a better standard/WebDAV extension. And I guess eg. GNOME may add support for nextcloud specifically (actually it's entry I'd already present, so "only" e2e needs to be added).

Generally said, that something is hard here, is no reason not to try to accomplish it if it is a good thing. And if you first need a new standard, so may it be.😊

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jul 13, 2018
@e-alfred
Copy link

e-alfred commented Aug 4, 2018

To bring E2EE to Caldav/Carddav in a serious manner, somebody would have to lobby at the IETF (and probably a number of big companies) to adopt this in an RFC and then push software manufacturers to implement it, otherwise it is just another proprietary "standard" nobody else adheres to.

@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Aug 4, 2018
@ajvsol
Copy link

ajvsol commented Sep 7, 2018

EteSync has created the client-side (fork of DAVDroid) and server-side software for an E2EE CalDAV/CardDAV implementation.

E2E for files is perfectly feasible, because we provide our own clients for all major platforms, but there are already plenty of Calendar / Addressbook clients out there. We are not gonna start developing our own desktop / mobile calendar/addressbook clients for all major platforms.

All you need is the provider (e.g. DAVDroid fork) then the many existing calendar/addressbook etc clients out there can display that data.

@georgehrke
Copy link
Member

All you need is the provider (e.g. DAVDroid fork) then the many existing calendar/addressbook etc clients out there can display that data.

All you need is a provider on Android.
iOS and macOS provide their own CalDAV implementation without the possibility to add custom providers.
And what about Thunderbird? should we fork that too? 😉

@skjnldsv
Copy link
Member

skjnldsv commented Apr 30, 2019

Currently there a no plans to implement such a feature. Thus I will close this ticket for now. This does not mean we don't want this feature, but it is simply not on our roadmap for the near future. If somebody wants to implement this feature nevertheless we are happy to assist and help out.

If you wish to have this feature implemented by the Nextcloud GmbH there is the option for consulting work on top of your Nextcloud Enterprise subscription to get your features implemented.

@J0WI
Copy link
Contributor

J0WI commented Apr 30, 2019

As this sounds like a nice feature, the requests for this are quite low.

When I sort all current open issues by "+1" reactions this appears to be a top 25 issue. 😕

@skjnldsv
Copy link
Member

Right :)
I should have removed the first sentence!
Technically, I don't see it implemented anytime soon. This is out of scope.

@agharbeia
Copy link

agharbeia commented Dec 6, 2021

Why do some commenters see this as dependent on a new standard or on extending cardDAV/calDAV?
All what has been mentioned so far is e2e encryption for single users, nothing about shared calendars or contact books, right?

If so, then perhaps it is simpler than that:
Encryption in transit is already there via TLS, and encryption at rest can be implemented on files or records (however the implementation is) individually on the client, then sent to the server to be stored as is.

Unlike what some commenters on the referenced thread state, this doesn't even have to cause loss of functionality, namely web usability, since modifying the web client by means of a browser extension which is able to intercept, decrypt, and transform specially formatted and marked chunks of encrypted calendar data.

I understand that there are many details that need to be solved and designed. But am I missing something obvious here that prevents this from being possible in principle?

On a related note, since the last entry in this discussion here, Tutanota have implemented an end-to-end-encrypted notification system.

Of course shared e2e encrypted calendars would be awesome too, but that's another story as it needs trust establishing, and/or key distribution mechanisms, a la Signal, Matrix, et al. But I'd also like to think that it is possible to implement within homogenous systems (like Nextcloud) with no need for world wide standardisation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement feature: encryption (client-side) Nice to have
Projects
None yet
Development

No branches or pull requests