From 89a8af2aa1c9beca9e2555816476c76098edd1cc Mon Sep 17 00:00:00 2001 From: sneak Date: Thu, 29 May 2025 06:14:19 -0700 Subject: [PATCH] docs --- README.md | 1 + TODO.md | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 96ed043..928d3e3 100644 --- a/README.md +++ b/README.md @@ -354,3 +354,4 @@ The project includes comprehensive tests: ./test_secret_manager.sh # Full integration test suite go test ./... # Unit tests ``` + diff --git a/TODO.md b/TODO.md index a32c554..7575f59 100644 --- a/TODO.md +++ b/TODO.md @@ -16,6 +16,14 @@ This document outlines the bugs, issues, and improvements that need to be addres ### Core Functionality Bugs +- [ ] Multiple vaults using the same mnemonic will derive the same long-term +keys. Adding additional vaults with the same mnemonic should increment the +index value used. The mnemonic should be double sha256 hashed and the hash +value stored in the vault metadata along with the index value (starting at zero) +and when additional vaults are added with the same mnemonic (as determined by +hash) then the index value should be incremented. The README should be updated +to document this behavior. + - [ ] **Directory structure inconsistency**: The README and test script reference different directory structures: - Current code uses `unlock.d/` but documentation shows `unlock-keys.d/` - Secret files use inconsistent naming (`secret.age` vs `value.age`)