Skip to main content

Encryption

Encryption is one of the steps to take when designing a system with Defence in depth. Here we go over what you need to be concerned about and different implementations to consider.

Threat Model

Threat modelling is hard. The most widely-applicable framework that I have stumbled across is to frame up your model with respect to the following scopes, from lowest to highest:

  • Neighborhood Hacker
  • Corporate Surveillance
  • Nation-State Espionage

Consider at which level you would like to defend against when considering the options available to you.

Responsibility Levels

There are three levels of responsibility for any hosted service:

  • Physical/Infrastructure
  • Service Provider/OS Admin
  • Application admin/consumer

Physical/Infrastructure

Digital Ocean:

Service Provider/OS Admin

Application Admin/Consumer

Built-In Nextcloud Functionality: https://nextcloud.com/blog/encryption-in-nextcloud/