Yusuf Suleman d700ba7569 fix(trips): enforce password protection on shared trips (#3)
- handle_share_api now checks X-Share-Password header against bcrypt hash
  before returning trip data. Returns 401 with {protected: true} if password
  required but not provided/incorrect
- share_password now stored as bcrypt hash, not plaintext
- All plaintext password logging removed from handle_share_verify
- handle_share_verify uses bcrypt.checkpw instead of string equality
- Migration invalidates existing plaintext share passwords (< 50 chars)
- Removed dead hash_password function (used hashlib.sha256)
- Added bcrypt to trips Dockerfile

Closes #3
2026-03-29 08:50:45 -05:00
Description
Second Brain Platform - Dashboard, Fitness, Budget, Inventory, Trips, Reader, Media
809 KiB
Languages
Svelte 54.4%
Python 31.6%
JavaScript 10.6%
TypeScript 2%
CSS 1.1%
Other 0.2%