From e38f8a4c8f639202d39adadb7f598131ca7a9f2f Mon Sep 17 00:00:00 2001 From: Spencer Brower Date: Mon, 3 Nov 2025 14:52:42 -0500 Subject: [PATCH] fix: Updated to work with new go configuration. --- mod.nu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod.nu b/mod.nu index eb4fe11..7c02671 100755 --- a/mod.nu +++ b/mod.nu @@ -48,7 +48,7 @@ def "open db" [] { } else { # Open the db let dec = mktemp -p ~/.envr; - let priv_key = ((envr config show).priv_key | path expand); + let priv_key = ((envr config show).keys.0.private | path expand); age -d -i $priv_key ($db_path | path expand) | save -f $dec stor import -f $dec rm $dec @@ -68,7 +68,7 @@ def "create-db" []: nothing -> any { , contents text not null );' - let pub_key = ((envr config show).pub_key | path expand); + let pub_key = ((envr config show).keys.0.public | path expand); age -R $pub_key $dec | save -f $db_path stor import -f $dec @@ -81,7 +81,7 @@ def "close db" [] { stor export --file-name $dec; # Encrypt the file - let pub_key = ((envr config show).pub_key | path expand); + let pub_key = ((envr config show).keys.0.public | path expand); age -R $pub_key $dec | save -f $db_path rm $dec