1
0
forked from sneak/secret
secret/internal
clawbot 09ec79c57e fix: use vault derivation index in getLongTermPrivateKey instead of hardcoded 0
Previously, getLongTermPrivateKey() always used derivation index 0 when
deriving the long-term key from a mnemonic. This caused wrong key
derivation for vaults with index > 0 (second+ vault from same mnemonic),
leading to silent data corruption in keychain unlocker creation.

Now reads the vault's actual DerivationIndex from vault-metadata.json.
2026-02-19 23:43:13 -08:00
..
cli fix: remove redundant longterm.age encryption in Init command 2026-02-08 12:05:09 -08:00
secret fix: use vault derivation index in getLongTermPrivateKey instead of hardcoded 0 2026-02-19 23:43:13 -08:00
vault fix: NumSecrets() now correctly counts secrets by checking for current file 2026-02-08 12:04:15 -08:00