Artifact c4eadbf595c61cddc6e131ab0217ff183a95b187c32428d1c95dfa6d7ec2997b:
- File
docs/README.md
— part of check-in
[bcb82b941e]
at
2026-11-23 11:55:36
on branch keysource
— Keep the credential store's key in the Keychain or a key file, not behind a passphrase
A new store gets a random 32-byte master key kept in the login Keychain (macOS, /usr/bin/security run as a child with the command on stdin) or the keyring (secret-tool), else ~/.pic/master.key at 0600. The source is recorded in picu_credential_key.source; a passphrase store keeps working as before. pic auth rekey keychain|file|passphrase reseals every sealed row in one transaction, and a typed passphrase is followed once by the offer to stop asking. --passphrase-fd and PIC_PASSPHRASE_COMMAND (setting passphraseCommand) give a passphrase with no terminal. pic remote opens a keychain or file store with no prompt. Every OS service stays in platform.c behind secret_key, secret_keep and secret_drop. (user: dmestas, size: 2374) [annotate] [blame] [check-ins using] [more...]
# pic documents | Where | For | What | |---|---|---| | [manual/](manual/start.md) | users | how pic behaves, one topic per file | | [reference/](reference/cli.md) | users | tables of flags, [settings](reference/settings.md), [environment variables](reference/env.md), [keys](reference/keys.md), [slash commands](reference/slash.md), [RPC commands](reference/rpc-commands.md), [events](reference/events.md) and [hook events](reference/hook-events.md), checked against the code | | [dev/](dev/architecture.md) | contributors | [architecture](dev/architecture.md), [durability](dev/durability.md), [the inbox](dev/inbox.md), [remote control](dev/remote.md), [provider adapters](dev/providers.md), [the amalgamation](dev/amalgamation.md), [tiers](dev/tiers.md), [testing](dev/testing.md), [landing](dev/landing.md), [vendoring](dev/vendoring.md), [Fil-C](dev/filc.md) | | [design/](design/implementation-plan.md) | contributors | decisions in force and proposals: [the plan](design/implementation-plan.md), [the credential project](design/credential-project.md), [the context API](design/context-api-proposal.md), [the shared journal](design/shared-store.md), [grapevine](design/grapevine.md), [the remote protocol](design/remote-protocol.md), [keel](design/keel.md), [rewind](design/rewind.md), [subscription sign-in](design/subscription-sign-in.md), [named keys](design/named-keys.md), [key sources](design/key-sources.md) | | [archive/](archive/README.md) | anyone | dated evidence and superseded studies, read-only | Where a change is documented is in [AGENTS.md](../AGENTS.md). ## Manual topics [Getting started](manual/start.md), [coming from Claude Code](manual/from-claude-code.md), [the terminal interface](manual/tui.md), [themes](manual/themes.md), [sessions](manual/sessions.md), [rewind](manual/rewind.md), [models](manual/models.md), [tools](manual/tools.md), [credentials](manual/credentials.md), [several keys and their health](manual/named-keys.md), [subscription sign-in](manual/sign-in.md), [prompts and skills](manual/prompts-and-skills.md), [hooks](manual/hooks.md), [processes](manual/processes.md), [remote control](manual/remote-control.md), [print mode and JSON](manual/print-and-json.md), [RPC mode](manual/rpc.md), [benchmarks](manual/benchmarks.md), [where pic can run](manual/platforms.md), [differences from Pi](manual/differences-from-pi.md).