Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

Calendar link: no keychain (Linux without a secret service) keeps the address scrambled, never as written; tests follow the first run's calendar step

christianmat7f53f93729bd
diff --git a/app/e2e/osWords.spec.ts b/app/e2e/osWords.spec.ts
index e77abe46..30acd7ba 100644
--- a/app/e2e/osWords.spec.ts
+++ b/app/e2e/osWords.spec.ts
@@ -22,6 +22,8 @@ for (const platform of ['win32', 'linux', 'darwin'] as const) {
const mac = platform === 'darwin'
await expect(page.getByText('Yogurt records calls without joining them and writes summaries on your computer afterward.')).toBeVisible({ timeout: 15_000 })
await page.getByTestId('intro-next').click()
+ // Windows and Linux ask for a calendar link in the first run (the Mac asks for its own calendar, granted here)
+ if (!mac) await page.locator('[data-testid="onboarding-step"][data-step="calendar"]').getByTestId('step-later').click({ timeout: 15_000 })
await expect(page.getByTestId('home')).toBeVisible({ timeout: 15_000 })
await page.getByTestId('settings-open').click()
const settings = page.getByTestId('settings')
diff --git a/app/src/main/index.ts b/app/src/main/index.ts
index c6774d8e..c89eaf63 100644
--- a/app/src/main/index.ts
+++ b/app/src/main/index.ts
@@ -481,8 +481,10 @@ app.whenReady().then(() => {
// a Mac: the same links, next to its own calendars (Settings → Calendars → Add a calendar link)
const calendarLinks = caps.calendar ? createCalendarLinks({
file: join(userDataDir(), 'settings.json'), get: getCalendar,
- seal: (plain) => (safeStorage.isEncryptionAvailable() ? `k:${safeStorage.encryptString(plain).toString('base64')}` : `p:${plain}`),
- open: (sealed) => (sealed.startsWith('k:') ? safeStorage.decryptString(Buffer.from(sealed.slice(2), 'base64')) : sealed.replace(/^p:/, '')),
+ // no keychain (Linux without a secret service): scrambled, not encrypted, so the address isn't readable at a glance
+ seal: (plain) => (safeStorage.isEncryptionAvailable() ? `k:${safeStorage.encryptString(plain).toString('base64')}` : `b:${Buffer.from(plain).toString('base64')}`),
+ open: (sealed) => (sealed.startsWith('k:') ? safeStorage.decryptString(Buffer.from(sealed.slice(2), 'base64'))
+ : sealed.startsWith('b:') ? Buffer.from(sealed.slice(2), 'base64').toString() : sealed.replace(/^p:/, '')),
}) : null
if (calendarLinks) setCalendarLinkSource(calendarLinks, { alongside: !caps.calendarLink })
hookPreferences({