edit age encrypted files with $EDITOR
Go to file
Lilian Jónsdóttir de296e9bc4 version bump - v0.2.3
- fall back to proper data dir
2024-05-07 18:01:32 -07:00
cmd/agedit version bump - v0.2.3 2024-05-07 18:01:32 -07:00
internal/config add support for editors that need arguments 2024-03-23 13:57:15 -07:00
pkg fall back to proper data dir 2024-05-07 17:59:29 -07:00
.gitignore add gitignore 2024-03-11 14:39:03 -07:00
go.mod update to go 1.22 syntax 2024-03-26 09:54:59 -07:00
go.sum update dependencies 2024-03-23 14:25:36 -07:00
justfile update justfile 2024-03-11 17:13:21 -07:00
LICENSE initial commit 2024-03-11 01:34:40 -07:00
README.md update readme 2024-03-23 14:13:09 -07:00

agedit

open an age encrypted file in $EDITOR

cli

go install git.burning.moe/celediel/agedit/cmd/agedit@latest

agedit [flags] filename

flags

   --identity identity, -I identity [ --identity identity, -I identity ]        age identity (or identities) to decrypt with
   --identity-file FILE, -i FILE                                                read identity from FILE
   --recipient recipient, -R recipient [ --recipient recipient, -R recipient ]  age recipients to encrypt to
   --recipient-file FILE, -r FILE                                               read recipients from FILE
   --out FILE, -o FILE                                                          write to FILE instead of the input file
   --editor EDITOR, -e EDITOR                                                   edit with specified EDITOR instead of $EDITOR
   --editor-args arg [ --editor-args arg ]                                      arguments to send to the editor
   --force, -f                                                                  re-encrypt the file even if no changes have been made. (default: false)
   --log level                                                                  log level (default: "warn")
   --help, -h                                                                   show help
   --version, -v                                                                print the version

library

go get git.burning.moe/celediel/agedit@latest

See ./cmd/agedit for example usage.

TODO

  • support for password encrypted key files