From ca175f9f4ebe2c5e1324aea9baea1412a024e21d Mon Sep 17 00:00:00 2001 From: Eshaan Date: Tue, 2 Dec 2025 02:01:33 +1100 Subject: [PATCH] fix: include EncryptionSecret in downloaded configuration file Fixes #238 The Download Configuration button was generating a text file that was missing the EncryptionSecret command. This commit adds the missing encryption_secret configuration line to the exportConfigSetup function, ensuring the downloaded file contains all three required values: - Encryption Secret - Sync Server Origin - Client ID --- frontend/src/components/HomeComponents/SetupGuide/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/HomeComponents/SetupGuide/utils.ts b/frontend/src/components/HomeComponents/SetupGuide/utils.ts index be32c276..d53cdb60 100644 --- a/frontend/src/components/HomeComponents/SetupGuide/utils.ts +++ b/frontend/src/components/HomeComponents/SetupGuide/utils.ts @@ -4,6 +4,7 @@ import { url } from '@/components/utils/URLs'; export function exportConfigSetup(props: Props): string { return [ 'Configure Taskwarrior with these commands, run these commands one block at a time', + `task config sync.encryption_secret ${props.encryption_secret}`, `task config sync.server.origin ${url.containerOrigin}`, `task config sync.server.client_id ${props.uuid}`, 'For more information about how this works, refer to the task-sync(5) manpage for details on how to configure the new sync implementation.',