Pinar
HomePlansWhat’s newHelp
Sign in
⌘ K

Get startedCaptures and pinsAI agentsProjects and collectionsCloud and plansPrivacy and data
Get started
Captures and pins
AI agents
Projects and collections
Cloud and plans
Privacy and data
Where your data livesAutomatic sanitizationLocal security and recoveryTelemetry, consent, and policies
Help/Privacy and data

Local security and recovery

Understand capability tokens, trusted origins, local migrations, and safe startup recovery.

6 min
Visual example: The local workspace recovers a protected Personal project and Inbox when history cannot open, instead of blocking the app.

In this guide

  1. 1Local API trust
  2. 2Safe recovery
  3. 3Present the capability secret and recover a broken local store
1

Local API trust

The local API accepts loopback and the published extension origin, then verifies a capability secret stored with restrictive file permissions. Token rotation keeps the previous secret valid for 24 hours so active processes can adopt the new value; revocation removes the file and forces reauthorization.

2

Safe recovery

A stale tray PID lock is replaced while a live instance remains untouched. Stop and restart first use the helper’s graceful path; on macOS a stuck listener is terminated only after it remains responsive past the wait. Corrupt fallback history JSON resets to a blank schema with protected Personal and Inbox. Legacy screenshots under a nested shots/shots path are migrated without overwriting name conflicts.

3

Present the capability secret and recover a broken local store

The local workspace only accepts the Pinar application and the official extension. Rotation keeps the previous secret valid long enough for running processes to catch up; revocation forces a new authorization.

If another Pinar instance is already running, that instance stays in place. Nested screenshot folders are migrated without overwriting name conflicts. If local history cannot open, Pinar recovers a usable Personal project and Inbox instead of crashing.

  • Keep using the official extension and the Pinar application; other sites cannot talk to the local workspace.
  • After you revoke local access, restart Pinar so the workspace can authorize again.
  • If local history cannot open, expect a recovered Personal project and Inbox rather than a crash.
Still need context?See all in category

On this page

Local API trustSafe recoveryPresent the capability secret and recover a broken local store
Support Fair Source development

Prefer supporting public source development directly? Sponsor on GitHub or buy a coffee.

Buy Me a CoffeeSponsor on GitHub
Pinar·© 2026·Pinar v0.3.6
Terms of ServicePrivacy Policy