Commit Graph

22 Commits

Author SHA1 Message Date
souta 7fb8ef7509 audit: fix cookie expiry/partition fidelity and profile-safety gaps
- Cookie stream: moz_cookies.expiry is milliseconds, but CDP expects
  seconds. The old code imported 52 already-expired cookies in the real
  profile and gave every remaining cookie a ~55,000-year expiry; convert
  units before comparing/sending, and skip session cookies that cannot
  survive the temporary Chromium session.
- Dashboard cookies: request partitionKey:{} for Chrome as well as Firefox
  (Chrome also omits CHIPS cookies otherwise), keep hasCrossSiteAncestor,
  omit the "unspecified" SameSite attribute for older targets, and never
  fall back to an arbitrary cookie store when importing.
- Profile safety: resolve symlinks before cp -a (a symlinked --firefox-profile
  was copied as a symlink and Firefox then opened the original profile),
  detect Chromium's dangling SingletonLock symlink with lstat, check Firefox's
  .parentlock/open descriptors via /proc instead of an optional fuser, refuse
  Firefox-looking Chromium targets and root/home, keep the OS password store
  for existing Chromium profiles, and clean the sensitive profile clone on
  SIGINT/SIGTERM.
- Exporter: never write through a dangling output symlink (O_EXCL|O_NOFOLLOW),
  refuse to export while Firefox holds the profile lock, and canonicalise
  origins so one odd origin cannot make the importer reject the whole bundle.
- Revert formatting-only manifest changes; align tools/README with the code
  (IndexedDB is supported, Node.js 22.12+, lock/symlink/password-store and
  key-generator limitations) and add regression tests for all of the above.
2026-10-23 20:54:18 +09:00
souta 3e59605794 feat: migrate Firefox IndexedDB through offline browser-native bridge 2026-10-23 17:15:33 +09:00
souta 1e5ba9c91c feat: encrypted offline all-origin Firefox localStorage migration 2026-10-23 16:50:44 +09:00
souta b8cd19343f feat: migrate whole-profile Firefox localStorage and improve cookie fidelity 2026-10-23 14:49:09 +09:00
chris f446b53f46 Update README.md 2026-06-27 23:11:17 -04:00
chris b2e46a1b09 Update README.md 2026-06-24 22:53:44 -04:00
chris 97e0c1cee8 Update README.md 2026-06-24 22:53:28 -04:00
chris 7bda2dac68 Update README.md 2026-06-24 22:53:07 -04:00
Christian 07ca529e37 Update README.md 2026-06-09 03:04:18 -04:00
Christian c251bb3236 Update README with GitHub site link
Added a link to the GitHub site in the README.
2026-06-08 21:08:13 -04:00
Christian fdcc7776fa Update README.md 2026-06-08 20:54:01 -04:00
Christian 9c82abe695 Update README.md 2026-06-08 20:47:56 -04:00
Christian 3a2e5fa4fc Update README.md 2026-06-08 20:47:30 -04:00
Christian 26eefd689a Remove 'Layout' section from README
Removed the 'Layout' section from the README.
2026-06-08 20:20:08 -04:00
Christian 08fccf5d4d Update README.md 2026-06-08 20:19:46 -04:00
Christian 13d15e2014 Update README.md 2026-06-08 20:19:37 -04:00
Christian 876565885a Update README.md 2026-06-08 20:16:30 -04:00
Christian f5a3d385fa Update README to reflect folder structure changes
Removed redundant entries and clarified folder structure.
2026-06-08 20:15:56 -04:00
Christian 87ef38749f Add files via upload 2026-06-08 20:14:31 -04:00
Christian e6f67c7ca3 Delete README.md 2026-06-08 19:12:50 -04:00
Christian 4975ca6c48 Update README.md 2026-05-19 18:40:55 -04:00
Christian 1c01e33400 Add files via upload 2026-05-19 18:40:27 -04:00