Details
Description
This is originated from https://issues.couchbase.com/browse/CBL-2319.
We should provide a note to explain that the Database.copy(fromPath, toName, config) method will copy the database without changing the encryption key of original database if specified. Therefore, the encryption key specified in the given config is the encryption key used for both the original and copied database. If the encryption key needs to be changed or set to the copied database, the Database's changeEncryptionKey(key) will need to be call after.
Attachments
Issue Links
Activity
Summary | Provide note about copying encrypted database | Provide note about copying encrypted database in API doc |
Description |
This is originated from https://issues.couchbase.com/browse/CBL-2319.
We should provide a note to explain that the Database.copy(fromPath, toName, config) method will copy the database without changing the encryption key of original database if specified. Therefore, the encryption key specified in the given config is the same encryption key used for both the original and copied database. If the encryption key needs to be changed or set to the copied database, the Database's changeEncryptionKey(key) will need to be call after. |
This is originated from https://issues.couchbase.com/browse/CBL-2319.
We should provide a note to explain that the Database.copy(fromPath, toName, config) method will copy the database without changing the encryption key of original database if specified. Therefore, the encryption key specified in the given config is the encryption key used for both the original and copied database. If the encryption key needs to be changed or set to the copied database, the Database's changeEncryptionKey(key) will need to be call after. |
Assignee | The Lite [ cbgto ] | Jay Vavachan [ jayahari.vavachan ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10107 ] |
Status | In Review [ 10107 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Open [ 1 ] |
Resolution | Done [ 6 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | Helium [ 17136 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Link | This issue relates to CBL-2415 [ CBL-2415 ] |
release/lithium: https://github.com/couchbase/couchbase-lite-ios/commit/b99c944c2ac48ac9d90cf76a58ff7bd1c774a1dc
master: https://github.com/couchbase/couchbase-lite-ios/commit/75a0e0e6c71a9b271e3d8aaef44c0bf42b1e5638