~core/sage

921334b04c28087a6b26e858a8a99047783d7df0 — core 20 days ago 1b55b73
rel: v0.1.1
3 files changed, 12 insertions(+), 10 deletions(-)

M Cargo.lock
M Cargo.toml
R README.txt => README.md
M Cargo.lock => Cargo.lock +1 -1
@@ 1028,7 1028,7 @@ dependencies = [

[[package]]
name = "sage"
version = "0.1.1"
version = "0.1.2"
dependencies = [
 "age",
 "anyhow",

M Cargo.toml => Cargo.toml +1 -1
@@ 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."

R README.txt => README.md +10 -8
@@ 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 <FILE>       Set the database file (default {CONFIGFILE})
    -D, --database <FILE>       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] <key>
    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