feat: All encryption/decryption now happens in-memory.

Release-as: v0.3.0
This commit is contained in:
2026-06-16 10:06:30 -04:00
parent 41decd9cdb
commit fe2b256bd6
8 changed files with 94 additions and 104 deletions

View File

@@ -163,8 +163,8 @@ test_envr_dir :: proc(t: ^testing.T) {
}
@(test)
test_data_encrypted_path :: proc(t: ^testing.T) {
p := data_encrypted_path("/tmp/envr-fake-home-datapath/config.json")
test_data_path :: proc(t: ^testing.T) {
p := data_path("/tmp/envr-fake-home-datapath/config.json")
defer delete(p)
testing.expectf(t, strings.has_suffix(p, "data.envr"), "should end with data.envr, got %s", p)
testing.expectf(t, strings.contains(p, ".envr"), "should contain .envr dir, got %s", p)