remove logging of database encryption keys

This commit is contained in:
Roman Volosovskyi 2018-09-13 20:15:52 +03:00
parent 5944d2b43f
commit c948559c09
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 0 additions and 2 deletions

View File

@ -26,7 +26,6 @@
"Returns -1 if the file does not exists, the schema version if it successfully
decrypts it, throws error otherwise."
[file-name encryption-key]
(log/info "encrypted-realm-version\nfile: " file-name " buf " (str encryption-key) (nil? encryption-key))
(if encryption-key
(.schemaVersion rn-dependencies/realm file-name (to-buffer encryption-key))
(.schemaVersion rn-dependencies/realm file-name)))
@ -184,7 +183,6 @@
account/schemas
old-key)]
(log/info "copy old database")
(log/info "with key: " (str new-key))
(.writeCopyTo old-account-db file-name (to-buffer new-key))
(log/info "old database copied")
(close old-account-db)