<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unable to enable 2FA on admin account]]></title><description><![CDATA[<p dir="auto">After completing the admin onboarding process, <a href="http://Cal.com" target="_blank" rel="noopener noreferrer nofollow ugc">Cal.com</a> requests you to setup 2FA to be able to access Admin settings. Attempting to do so results in an error. See below:</p>
<p dir="auto"><img src="https://i.imgur.com/wxiNQCx.png" alt="screenshot of cal.com 2fa error" class=" img-fluid img-markdown" /></p>
<pre><code>Sep 04 13:40:27@calcom/web:start: RangeError: Invalid key length
Sep 04 13:40:27@calcom/web:start: at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
Sep 04 13:40:27@calcom/web:start: at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
Sep 04 13:40:27@calcom/web:start: at new Cipheriv (node:internal/crypto/cipher:243:3)
Sep 04 13:40:27@calcom/web:start: at Object.createCipheriv (node:crypto:141:10)
Sep 04 13:40:27@calcom/web:start: at symmetricEncrypt (/run/calcom/apps/web/.next/server/chunks/13303.js:29:66)
Sep 04 13:40:27@calcom/web:start: at handler (/run/calcom/apps/web/.next/server/pages/api/auth/two-factor/totp/setup.js:171:103) {
Sep 04 13:40:27@calcom/web:start: code: 'ERR_CRYPTO_INVALID_KEYLEN'
Sep 04 13:40:27@calcom/web:start: }
</code></pre>
<p dir="auto">I would see this as quite an urgent issue as it prevents from adding new apps to the platform.</p>
]]></description><link>https://forum.cloudron.io/topic/9966/unable-to-enable-2fa-on-admin-account</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 04:04:17 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9966.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Sep 2023 13:43:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to enable 2FA on admin account on Sun, 10 Sep 2023 19:17:24 GMT]]></title><description><![CDATA[<p dir="auto">(Please ignore my previous comment. It was intended for a <a href="https://forum.cloudron.io/topic/9962/trouble-adding-google-calendar-to-cal-com-app-store">different thread</a>.)</p>
]]></description><link>https://forum.cloudron.io/post/73436</link><guid isPermaLink="true">https://forum.cloudron.io/post/73436</guid><dc:creator><![CDATA[sparkwise]]></dc:creator><pubDate>Sun, 10 Sep 2023 19:17:24 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to enable 2FA on admin account on Mon, 04 Sep 2023 18:45:34 GMT]]></title><description><![CDATA[<p dir="auto">I wasn't ultimately able to get this to work, but uninstalling and reinstalling the <a href="http://Cal.com" target="_blank" rel="noopener noreferrer nofollow ugc">Cal.com</a> app from the Cloudron App Store gave me access to the admin onboarding flow, which did let me set up Google Calendar correctly.</p>
]]></description><link>https://forum.cloudron.io/post/73107</link><guid isPermaLink="true">https://forum.cloudron.io/post/73107</guid><dc:creator><![CDATA[sparkwise]]></dc:creator><pubDate>Mon, 04 Sep 2023 18:45:34 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to enable 2FA on admin account on Mon, 04 Sep 2023 14:48:30 GMT]]></title><description><![CDATA[<p dir="auto">Good catch! I've updated the package to generate an encryption key with the correct length now. If you already have the app installed, you can either reinstall or also deleting the file <code>.calendso_encryption_key</code> then restart the app to have it regenerated.</p>
]]></description><link>https://forum.cloudron.io/post/73098</link><guid isPermaLink="true">https://forum.cloudron.io/post/73098</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 04 Sep 2023 14:48:30 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to enable 2FA on admin account on Mon, 04 Sep 2023 14:24:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> It seems this issue is caused by incorrectly generated <a href="https://github.com/calcom/cal.com/issues/8017" target="_blank" rel="noopener noreferrer nofollow ugc">NEXTAUTH_SECRET and CALENDSO_ENCRYPTION_KEY</a></p>
]]></description><link>https://forum.cloudron.io/post/73092</link><guid isPermaLink="true">https://forum.cloudron.io/post/73092</guid><dc:creator><![CDATA[3699n]]></dc:creator><pubDate>Mon, 04 Sep 2023 14:24:42 GMT</pubDate></item></channel></rss>