Skip to content
pi-c Check-in [4a4964673f]
Login

Check-in [4a4964673f]

Overview
Comment:Merge trunk into keysource
Timelines: family | ancestors | descendants | both | keysource
Files: files | file ages | folders
SHA3-256: 4a4964673fccad6c72f595c6d755c16b5f326c887dec6e1ebf4f9faa2da3c3e5
User & Date: dmestas on 2026-11-23 11:55:56.623
Other Links: branch diff | manifest | tags
Context
2026-11-23
13:42
Key sources: the platform names its sources; cred.c names none of the host's check-in: 07c6b1441d user: dmestas tags: keysource
11:55
Merge trunk into keysource check-in: 4a4964673f user: dmestas tags: keysource
11:55
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. check-in: bcb82b941e user: dmestas tags: keysource

11:19
land remote-3

via mac, quarry check-in: d67fc06fa7 user: dmestas tags: trunk

Changes