From 5094adddd0206f08aa03cd7f921ee1865124147e Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 20 Nov 2026 11:20:16 +0900 Subject: [PATCH] Add a privacy policy for the trace archive's Google Drive OAuth client Google requires a public privacy policy before an External OAuth app can be published. Unpublished apps get refresh tokens that expire after 7 days, which would stop the hub's daily Drive uploads. Co-Authored-By: Claude Opus 5.5 --- docs/google-drive-privacy.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docs/google-drive-privacy.md diff --git a/docs/google-drive-privacy.md b/docs/google-drive-privacy.md new file mode 100644 index 00000000000..bfe90ef95f7 --- /dev/null +++ b/docs/google-drive-privacy.md @@ -0,0 +1,23 @@ +# Google Drive upload privacy policy + +This policy covers the Google OAuth client that a t3code-proxy hub uses to upload its trace archive to Google Drive. + +## What the client accesses + +The client requests only the `https://www.googleapis.com/auth/drive.file` scope. With that scope it can see and change only the files it created. It cannot read, list or change anything else in the Drive account. + +## What it uploads + +The hub uploads two kinds of file to a single folder in the Drive account of the person who runs the hub: +- sealed trace-archive segments, compressed and encrypted with [age](https://age-encryption.org) to recipient keys the owner chooses; +- the small manifests that describe them. + +Google cannot read the segments. Only the holder of a matching age identity can decrypt them. The format is described in [trace-archive.md](trace-archive.md). + +## Who receives data + +No one else. The hub runs on hardware the owner controls and talks only to Google Drive. The project behind the OAuth client collects no data, runs no servers, and shares nothing with third parties. The client is used by the owner's own hub and is not offered to other users. + +## Removing data and access + +Delete the files from the Drive folder at any time. To revoke the hub's access, remove the app at https://myaccount.google.com/permissions.