From 921334b04c28087a6b26e858a8a99047783d7df0 Mon Sep 17 00:00:00 2001 From: core Date: Thu, 27 Nov 2025 20:40:27 -0500 Subject: [PATCH] rel: v0.1.1 --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.txt => README.md | 18 ++++++++++-------- 3 files changed, 12 insertions(+), 10 deletions(-) rename README.txt => README.md (84%) diff --git a/Cargo.lock b/Cargo.lock index 20d7f400b2ccbb7b0df2646e100c38e3a8fc001e..388fe8b88966f84df8c0091f16eea6442c0df4b8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1028,7 +1028,7 @@ dependencies = [ [[package]] name = "sage" -version = "0.1.1" +version = "0.1.2" dependencies = [ "age", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index e9fde1cbb89fd18e6a2904bf32fb4aeb3561a286..8c71130d756c646fe33a5f21ec29f99879a8b3e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sage" -version = "0.1.1" +version = "0.1.2" edition = "2024" license = "AGPL-3.0-only" description = "A simple wrapper for `age` to add a named identity system." diff --git a/README.txt b/README.md similarity index 84% rename from README.txt rename to README.md index 43c2234d5d80d6e4f6177437e9ced4ddf0367329..02e20bdbbdcc9f7c2c8c9cf07629a467a201d11a 100644 --- a/README.txt +++ b/README.md @@ -1,3 +1,4 @@ +``` sage - simple age wrapper for named identities USAGE: @@ -8,7 +9,7 @@ USAGE: OPTIONS: -h, --help Prints help information - -D, --database Set the database file (default {CONFIGFILE}) + -D, --database Set the database file (default /home/core/.config/sage.toml) -v, --verbose Enable debug logging -e, --encrypt Encrypt the input to the output. Default if omitted. @@ -23,22 +24,22 @@ OPTIONS: INPUT defaults to standard input, and OUTPUT defaults to standard output. If OUTPUT exists, it will be overwritten. -RECIPIENT can be an age public key generate by age-keygen (\"age1...\") -an SSH public key (\"ssh-ed25519 AAAA...\", \"ssh-rsa AAAA...\"), OR +RECIPIENT can be an age public key generate by age-keygen ("age1...") +an SSH public key ("ssh-ed25519 AAAA...", "ssh-rsa AAAA..."), OR a fuzzy search term to use the database to locate a key. Recipient files contain one or more recipients, one per line. Empty lines -and lines starting with \"#\" are ignored as comments. \"-\" may be uised to +and lines starting with "#" are ignored as comments. "-" may be uised to read recipients from standard input. An IDENTITY may either be a fuzzy search term to search the database, or an identity file. -Identity files contain one or more secret keys (\"AGE-SECRET-KEY-1...\"), -one per line, or an SSH key. Empty lines and lines starting with \"#\" are +Identity files contain one or more secret keys ("AGE-SECRET-KEY-1..."), +one per line, or an SSH key. Empty lines and lines starting with "#" are ignored as comments. Passphrase encrypted age files can be used as identity files. Multiple key files can be provided, and any unused ones -will be ignored. \"-\" may be used to read identities from standard input. +will be ignored. "-" may be used to read identities from standard input. When --encrypt is specified explicitly, -i can also be used to encrypt to an identity file symmetrically, instead or in addition to normal recipients. @@ -72,4 +73,5 @@ import [OPTIONS] If the keyid already exists, it will do nothing. OPTIONS: - -i, --insert-anyway Insert even if a matching identity is already present \ No newline at end of file + -i, --insert-anyway Insert even if a matching identity is already present``` +``` \ No newline at end of file