# How to change E2EE mnemonic?

**URL:** <https://help.nextcloud.com/t/how-to-change-e2ee-mnemonic/212756>\
**Category:** ℹ️ Support\
**Tags:** encryption-e2e\
**Created:** [December 15, 2024, 11:37pm UTC](https://help.nextcloud.com/t/how-to-change-e2ee-mnemonic/212756 "2024-12-15T23:37:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fun](https://help.nextcloud.com/letter_avatar/fun/32/5_5575768a8748004e209b776fc1b2916d.png) [@fun](https://help.nextcloud.com/u/fun)\
**Post date:** [December 15, 2024, 11:37pm UTC](https://help.nextcloud.com/t/how-to-change-e2ee-mnemonic/212756/1 "2024-12-15T23:37:10Z")

</div>

I recently set up the End-to-End Encryption module on my instance. On first set up, the client desktop app generated a mnemonic secret consisting of 12 random words. I would rather supply my own mnemonic secret. Is this possible?

---

<div class="post-metadata">

**Author:** ![fun](https://help.nextcloud.com/letter_avatar/fun/32/5_5575768a8748004e209b776fc1b2916d.png) [@fun](https://help.nextcloud.com/u/fun)\
**Post date:** [December 15, 2024, 11:50pm UTC](https://help.nextcloud.com/t/how-to-change-e2ee-mnemonic/212756/2 "2024-12-15T23:50:29Z")

</div>

I’m a little sussed out by the code that generates the mnemonic:

> <https://github.com/nextcloud/desktop/blob/788572cfb56ef42abfee8f9eb97700d96e89e615/src/libsync/clientsideencryption.cpp#L252-L275>

I can’t even tell if it’s actually randomizing anything? `PKCS5_PBKDF2_HMAC()` is a hash function, right?

Seems weird to describe the E2EE functionality as “production-ready” when users are asked to just take the mnemonic the client randomly generates at face value… Letting the end user introduce their own randomness would eliminate a trust bottleneck, as right now the user simply has to trust that the RNG used here is secure.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [March 15, 2025, 11:50pm UTC](https://help.nextcloud.com/t/how-to-change-e2ee-mnemonic/212756/3 "2025-03-15T23:50:49Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
