From 1c127c9089e1245301662deb5886e637576b2feb Mon Sep 17 00:00:00 2001 From: James Nocentini Date: Fri, 15 Jun 2018 16:53:01 +0100 Subject: [PATCH 1/2] encryption specification --- modules/ROOT/pages/_partials/database-encryption.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/_partials/database-encryption.adoc b/modules/ROOT/pages/_partials/database-encryption.adoc index c5bbaacc9..606ae1bdf 100644 --- a/modules/ROOT/pages/_partials/database-encryption.adoc +++ b/modules/ROOT/pages/_partials/database-encryption.adoc @@ -1,5 +1,7 @@ Couchbase Lite 2.1 introduces database encryption, this functionality is exclusively available in the Enterprise Edition. -The xref:#database-upgrade[automatic database upgrade] functionality is *not supported* for encrypted databases. Furthermore, databases encrypted with one SDK (i.e Swift, C#, Java or Objective-C) *cannot* be opened with another SDK. +If you're migrating an application from Couchbase Lite 1.x to 2.x, note that the xref:#database-upgrade[automatic database upgrade] functionality is *not supported* for encrypted databases. Furthermore, databases encrypted with one SDK (i.e Swift, C#, Java or Objective-C) *cannot* be opened with another SDK. + +The encryption specification is 256-bit AES. The code below demonstrates how to open or create an existing database with an encryption key. This code will not compile if you are running the Community Edition of Couchbase Lite. \ No newline at end of file From bc416f6f272f883b7285a317a6617ebdde237349 Mon Sep 17 00:00:00 2001 From: James Nocentini Date: Sat, 16 Jun 2018 10:07:02 +0100 Subject: [PATCH 2/2] update review --- modules/ROOT/pages/_partials/database-encryption.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/_partials/database-encryption.adoc b/modules/ROOT/pages/_partials/database-encryption.adoc index 606ae1bdf..14f401dbc 100644 --- a/modules/ROOT/pages/_partials/database-encryption.adoc +++ b/modules/ROOT/pages/_partials/database-encryption.adoc @@ -1,7 +1,9 @@ Couchbase Lite 2.1 introduces database encryption, this functionality is exclusively available in the Enterprise Edition. -If you're migrating an application from Couchbase Lite 1.x to 2.x, note that the xref:#database-upgrade[automatic database upgrade] functionality is *not supported* for encrypted databases. Furthermore, databases encrypted with one SDK (i.e Swift, C#, Java or Objective-C) *cannot* be opened with another SDK. +If you're migrating an application from Couchbase Lite 1.x to 2.x, note that the xref:#database-upgrade[automatic database upgrade] functionality is *not supported* for encrypted databases. + +An encrypted database can only be opened with the same language SDK that was used to encrypt it in the first place (Swift, C#, Java or Objective-C). For example, if a database is encrypted with the Swift SDK and then exported, it will only be readable with the Swift SDK. The encryption specification is 256-bit AES. -The code below demonstrates how to open or create an existing database with an encryption key. This code will not compile if you are running the Community Edition of Couchbase Lite. \ No newline at end of file +The code below demonstrates how to open or create an existing database with an encryption key. This code will not compile if you are running the Community Edition of Couchbase Lite.