Skip to content

Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.

Say what this is before anyone types an Apple ID into it

Yashwanth Kamireddie1203de7a04f
diff --git a/.uiverify/assert.mjs b/.uiverify/assert.mjs
index 4dd2a18..7c1847c 100644
--- a/.uiverify/assert.mjs
+++ b/.uiverify/assert.mjs
@@ -369,6 +369,50 @@ let failures = 0;
await page.close();
}
+// ── What somebody is told before they type an Apple ID in ─────────────────────────────
+// Required rather than nice to have: this is software a stranger wrote, reaching iCloud
+// through interfaces Apple has not published. Shut, it must not shout; open, it must say so.
+{
+ const page = await ctx.newPage();
+ await page.addInitScript(() => {
+ window.__TAURI_INTERNALS__ = {
+ transformCallback: (cb) => cb,
+ invoke: async (cmd) => {
+ if (cmd === "auth_status") return { hasStoredSession: false, signedIn: false };
+ if (cmd === "plugin:event|listen") return 0;
+ return null;
+ },
+ };
+ });
+ await page.goto("http://localhost:4173", { waitUntil: "networkidle" });
+ await page.waitForTimeout(300);
+
+ const shut = await page.locator(".disclosure").innerText();
+ const quiet = shut.length < 120;
+ console.log(
+ quiet
+ ? `PASS the disclosure is one line until asked [${shut.replace(/\n/g, " ").slice(0, 60)}]`
+ : `FAIL the sign-in screen opens with ${shut.length} characters of disclosure`
+ );
+ if (!quiet) failures++;
+
+ await page.locator(".disclosure > summary").click();
+ await page.waitForTimeout(200);
+ const open = (await page.locator(".disclosure").innerText()).toLowerCase();
+ const says = {
+ "that it is unofficial": /unofficial|not affiliated/.test(open),
+ "that Apple can change it": /without notice|stop working/.test(open),
+ "where the copy is kept": /local\/share|dev\.quince\.client/.test(open),
+ "that the password stays here": /never leaves this computer/.test(open),
+ "what no client can read": /end to end|encrypted end/.test(open),
+ };
+ for (const [what, said] of Object.entries(says)) {
+ console.log(said ? `PASS it says ${what}` : `FAIL it does not say ${what}`);
+ if (!said) failures++;
+ }
+ await page.close();
+}
+
// ── An account with nothing in it ─────────────────────────────────────────────────────
// Everything above was measured against one real library: nine lists, folders, a Drive with
// things in it. A person installing this may have none of that — a new Apple ID, or one whose
diff --git a/src/screens/SignIn.tsx b/src/screens/SignIn.tsx
index bf20fec..d3529dd 100644
--- a/src/screens/SignIn.tsx
+++ b/src/screens/SignIn.tsx
@@ -65,7 +65,40 @@ export function SignIn({ onResult }: { onResult: (r: SignInResult) => void }) {
Your password never leaves this computer. Quince proves you know it without sending
it, and keeps the result in your system keyring.
</p>
- <p className="disclaimer">An independent project. Not affiliated with Apple.</p>
+ {/*
+ * What somebody is owed before they type an Apple ID into software a stranger wrote.
+ *
+ * Folded away rather than laid across the screen: a wall of warnings is not read, and
+ * a page nobody reads discloses nothing. One line that says the important part, and
+ * the rest a click away for anyone who wants it.
+ */}
+ <details className="disclosure">
+ <summary>An independent project. Not affiliated with Apple.</summary>
+ <div className="disclosure-body">
+ <p>
+ <strong>Unofficial.</strong> Quince reaches iCloud through interfaces Apple has
+ not published. Apple can change them without notice, and when that happens
+ something here will stop working until it is put right.
+ </p>
+ <p>
+ <strong>Your password never leaves this computer.</strong> Quince proves you know
+ it without sending it, and keeps the result in your system keyring. There is no
+ Quince account and no Quince server — there is nowhere else for any of this to go.
+ </p>
+ <p>
+ <strong>What it keeps, and where.</strong> A copy of your calendar, reminders,
+ notes, contacts and the listing of your Drive, in a database under{" "}
+ <code>~/.local/share/dev.quince.client</code>. Signing out removes the session;
+ deleting that folder removes the copy.
+ </p>
+ <p>
+ <strong>What no client can read.</strong> Health, Messages, Keychain, Home, Safari
+ history and Screen Time are encrypted end to end — Apple's own servers hold no key
+ to them, so no app can show them. Quince says they are unavailable rather than
+ quietly leaving them out.
+ </p>
+ </div>
+ </details>
</form>
);
}
diff --git a/src/styles/app.css b/src/styles/app.css
index 4ca1c80..143f364 100644
--- a/src/styles/app.css
+++ b/src/styles/app.css
@@ -2378,3 +2378,56 @@ button.cal-day-item:hover { background: color-mix(in srgb, var(--sheet) 92%, var
white-space: nowrap;
border: 0;
}
+
+/*
+ * What Quince is, folded away under the sign-in button.
+ *
+ * Shut, it is the one line that was there before. Open, it is the four things somebody ought
+ * to know before typing an Apple ID into software a stranger wrote. A wall of warnings across
+ * the screen is not read, and a page nobody reads discloses nothing.
+ */
+.disclosure {
+ margin-top: 12px;
+ font-size: var(--t-11);
+ color: var(--text-3);
+ text-align: left;
+}
+
+.disclosure > summary {
+ cursor: pointer;
+ list-style: none;
+ text-align: center;
+ padding: 4px;
+ border-radius: var(--r-field);
+}
+
+.disclosure > summary::-webkit-details-marker { display: none; }
+.disclosure > summary::after {
+ content: " ⌄";
+ opacity: 0.7;
+}
+.disclosure[open] > summary::after { content: " ⌃"; }
+.disclosure > summary:hover { color: var(--text-2); }
+.disclosure > summary:focus-visible {
+ outline: none;
+ box-shadow: 0 0 0 3px var(--gold-ring);
+}
+
+.disclosure-body {
+ margin-top: 6px;
+ padding: 10px 12px;
+ border-radius: var(--r-field);
+ background: color-mix(in srgb, var(--text) 4%, transparent);
+ max-height: 210px;
+ overflow-y: auto;
+}
+
+.disclosure-body p { margin: 0 0 8px; line-height: 1.5; }
+.disclosure-body p:last-child { margin-bottom: 0; }
+.disclosure-body strong { color: var(--text-2); font-weight: 600; }
+.disclosure-body code {
+ font-size: 0.95em;
+ padding: 1px 4px;
+ border-radius: 4px;
+ background: color-mix(in srgb, var(--text) 8%, transparent);
+}