{"action":"closed","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/594","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/594/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/594/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/issues/594/events","html_url":"https://github.com/couchbase/couchbase-lite-ios/issues/594","id":57366421,"number":594,"title":"iOS file protection modes aren't being applied to ForestDB database files","user":{"login":"snej","id":43241,"avatar_url":"https://avatars.githubusercontent.com/u/43241?v=3","gravatar_id":"","url":"https://api.github.com/users/snej","html_url":"https://github.com/snej","followers_url":"https://api.github.com/users/snej/followers","following_url":"https://api.github.com/users/snej/following{/other_user}","gists_url":"https://api.github.com/users/snej/gists{/gist_id}","starred_url":"https://api.github.com/users/snej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snej/subscriptions","organizations_url":"https://api.github.com/users/snej/orgs","repos_url":"https://api.github.com/users/snej/repos","events_url":"https://api.github.com/users/snej/events{/privacy}","received_events_url":"https://api.github.com/users/snej/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/forestdb","name":"forestdb","color":"009800"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/security","name":"security","color":"e11d21"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-ios/labels/size-medium","name":"size-medium","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-11T19:41:50Z","updated_at":"2015-02-12T01:20:33Z","closed_at":"2015-02-12T01:20:33Z","body":"CBLManager allows the app to configure the iOS file-protection (encryption) mode used by files created by CBL. But this property hasn't been plumbed through to ForestDB, so it will always create files with the default protection mode.\r\n\r\nThis is basically pretty easy, except that the filesystem calls that create database files are in ForestDB itself, so this may require some tweaks to ForestDB."}}