Tags and Properties for Check-in 4a4964673f
- branch=keysource inherited from [bcb82b941e]
- sym-keysource inherited from [bcb82b941e]
Context
|
2026-11-23
| ||
| 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 | |