summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorChristopher Warner <cwarner@kernelcode.com>2026-10-10 18:49:42 -0400
committerChristopher Warner <cwarner@kernelcode.com>2026-10-10 18:49:42 -0400
commitb65227445c2fb36c04c034ed27a82790b27e3d9f (patch)
treed0d0654a937c7483d74c32cc9eec6dcacbfc01e0 /.gitignore
parentbe0d09e2cb91ef391d7455334fc5ed15d6f5649a (diff)
downloadiphone-notes-b65227445c2fb36c04c034ed27a82790b27e3d9f.tar.gz
iphone-notes-b65227445c2fb36c04c034ed27a82790b27e3d9f.tar.bz2
iphone-notes-b65227445c2fb36c04c034ed27a82790b27e3d9f.tar.xz
iphone-notes-b65227445c2fb36c04c034ed27a82790b27e3d9f.zip
chore(security): document and guard against committing iCloud sessions
Confirm the public tree has no Apple credentials, harden .gitignore, add SECURITY.md, and fail CI-style tests if session/secret files are tracked. Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore31
1 files changed, 29 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index c9481ac..40d9dde 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,39 @@
# Rust
/target/
-# Local runtime (lives under ~/.config/icloud-notes — never commit)
+# Never commit Apple/iCloud session material (lives under ~/.config/icloud-notes/)
browser-profile/
+**/browser-profile/
storage-state.json
+**/storage-state.json
session.ok
+**/session.ok
+cookies.json
+**/cookies.json
+Cookies
+**/Cookies
+Local Storage/
+**/Local Storage/
+Session Storage/
+**/Session Storage/
+IndexedDB/
+**/IndexedDB/
+
+# Generic secrets / env
+.env
+.env.*
+!.env.example
+*.pem
+*.key
+*.p12
+*.pfx
+credentials.json
+secrets.yaml
+secrets.yml
+
+# Node (legacy / Chromium install under XDG config — not this repo)
node_modules/
package-lock.json
-.env
+
*.log
.DS_Store