Skip to content

Conversation

@Hocuri
Copy link
Collaborator

@Hocuri Hocuri commented Dec 18, 2025

Was marked as deprecated as of #7489 (comment), but since it's still in use (and not discouraged to use), I just stumbled over it while browsing the code.

Not sure why it was marked as deprecated, but it's definitely used, and
not discuraged to use (??).
@Hocuri Hocuri requested review from iequidoo and link2xt December 18, 2025 16:24
@iequidoo
Copy link
Collaborator

iequidoo commented Dec 19, 2025

It's used by dc_context_open(), but it has a doc comment:

 * NB: Nonempty passphrase (db encryption) is deprecated 2025-11:
 * - Db encryption does nothing with blobs, so fs/disk encryption is recommended.
 * - Isolation from other apps is needed anyway.

Also it's used internally, but this can just be refactored, nonempty password support isn't needed for internal usage. I.e. it's actually deprecated as a public API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants