feat(notstrap): migrate to notsecrets age-native API, remove sops shell-out

Replace AgeKeySource/resolve_age_key/install_age_key with IdentitySource/resolve_identities.
Update integration tests to use a valid age bech32 key fixture.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Joseph O'Brien
2026-04-01 21:19:23 -04:00
parent f80ea02f07
commit 58de007e19
4 changed files with 22 additions and 16 deletions

View File

@@ -19,7 +19,11 @@ fn make_test_env() -> TestEnv {
// age key file (content doesn't matter — FileSource reads it verbatim)
let key_file = d.join("age.key");
fs::write(&key_file, "AGE-SECRET-KEY-1TESTKEY\n").unwrap();
fs::write(
&key_file,
"AGE-SECRET-KEY-1X3QKFQ4MZQM7LTJ3AX0N3EM63RGRV4J6N5ZDWPVKCEUCZKJWJSUSU6GYN6\n",
)
.unwrap();
// notfiles.toml — one package "shell" targeting home tempdir
fs::write(