sochotnicky/age-mode: An Emacs mode for working with age encrypted files - age-...
source link: https://codeberg.org/sochotnicky/age-mode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
age-mode
An Emacs mode for working with age encrypted files.
WARNING: Do NOT edit encrypted files with TRAMP. See Known Bugs for details.
Overview
This package is not (yet anyway) easily installable from (M)ELPA. Given experimental state of this package it will stay like this for a while.
You can use use-package
or straight
to install from this git repository.
To use it for decoding age encrypted files you need to set
age-file-default-identities
which is a list of paths that contain your private
AGE keys. You also need to run age-file-enabled
to enable automatic decryption
of age files.
Caveats
Unlike GPG, age files do not contain public keys that were used for encryption.
This means that it is not possible to automatically re-encrypt files with the
same recipients. To prevent corruption, files decrypted with age require setting
of buffer-local variable age-file-recipients
. This can be set in the
file-local variables or .dir-locals.el
.
You can override this behavior by setting two variables:
age-file-default-recipients
- list of public keys to encrypt toage-file-override-recipients
- set to non-nil to use default recipients when buffer-local variable is not set
Known Bugs
Package is in a very early stage of development. It is my first bigger elisp project and as such has many issues. Some are problems I know about, some are unknown but lurking...
The known ones:
- Decrypting over TRAMP works, but files get saved unencrypted. Here be dragons...
- Happy-path things work, but when age program fails to decrypt it leaves behind an unused empty buffer and other similar issues.
- Error handling in general is bad...
Recommend
-
86
Reading logs The number one thing that I expect someone would want to do with logs is to make them readable. "Readable" means a few different things to different people, so this may not hit...
-
151
Emacs support for Stan 2021-01-30 Version 10.2.1 bugfix for #64 2020-08-30 Version 10.2.0 update for Stan version 2.24 Packages an...
-
176
2. Using autoload_static (preferred) Based on https://necromuralist.github.io/data_science/posts/boke...
-
159
Haskell Mode for Emacs This is an Emacs mode for editing, developing and debugging Haskell programs. Home page. I just want to thank everybody invol...
-
7
Easily transmit text or files fully encryptedBitwarden Send empowers teams and individuals with a secure, simple way to share information directly with another person. Easily transmit text or files including passwords, billing credentials, or bu...
-
10
Files Permalink Latest commit message Commit time
-
7
A Simple Guide For Updating Encrypted Files When Using Git-Crypt When working with codebases, it’s necessary to encrypt s...
-
11
Emacs major-mode to work with Beancount ledger files This package provides beancount-mode an Emacs major-mode implementing syntax...
-
2
Documentation pdf-drop-mode is a convenient mode that search for the DOI of any file that is dropped onto a buffer. To do that, the mode...
-
2
The best way to be sure no one is accessing your files is to lock them on an encrypted drive. The Kingston Ironkey Keypad 200 includes built-in keypad so you can easily unlock the USB drive when it’s time to access your stored information. ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK