TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?

75 pointsby timetosleepalmost 4 years ago
It&#x27;s GPG is starting to show it&#x27;s age, Debian abandoning it for signing packages and it&#x27;s general lack of usage.<p>Was wondering how one could probably use <a href="https:&#x2F;&#x2F;github.com&#x2F;FiloSottile&#x2F;age" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;FiloSottile&#x2F;age</a> or something.<p>(Not an emacs pro, so sure don&#x27;t know some of the trivial ways to use this)

9 comments

olivierestsagealmost 4 years ago
A good place to ask questions like this is the (very friendly) Emacs subreddit.[1]<p>[1] <a href="https:&#x2F;&#x2F;reddit.com&#x2F;r&#x2F;emacs" rel="nofollow">https:&#x2F;&#x2F;reddit.com&#x2F;r&#x2F;emacs</a>
评论 #27635817 未加载
upofadownalmost 4 years ago
&gt;Debian abandoning it for signing packages and it&#x27;s general lack of usage.<p>This is not true. There was a proposal near the start of the year. That proposal has been almost entirely ignored.<p>Would age provide any advantage over GnuPG to make it worth the bother to switch to a new message format?<p>* <a href="https:&#x2F;&#x2F;articles.59.ca&#x2F;doku.php?id=pgpfan:agevspgp" rel="nofollow">https:&#x2F;&#x2F;articles.59.ca&#x2F;doku.php?id=pgpfan:agevspgp</a>
评论 #27632334 未加载
评论 #27633775 未加载
CyberShadowalmost 4 years ago
If you have gnupg installed, emacs can just open foo.org.gpg files directly. It decrypts on load and re-encrypts on save.<p>Probably you would get better answers about Emacs on <a href="https:&#x2F;&#x2F;emacs.stackexchange.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;emacs.stackexchange.com&#x2F;</a> or <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;emacs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;emacs&#x2F;</a> .
评论 #27631403 未加载
评论 #27632375 未加载
评论 #27633685 未加载
creamytacoalmost 4 years ago
GPG isn&#x27;t going anywhere and Debian is not abandoning it.<p>EasyPG is very mature in Emacs, makes using GPG a breeze and is integrated really well. Age doesn&#x27;t even support signing and has no Emacs integration.
beermonsteralmost 4 years ago
Have Debian abandoned it? Official reference to that fact if you have it would be nice.<p>I’m aware of the wiki article but that’s not any official position. In the very least anyone can edit that wiki.
qbasic_foreveralmost 4 years ago
Why not keep the notes in a VeraCrypt&#x2F;TrueCrypt drive&#x2F;partition? You can sidestep all the gpg complexity, and you get a little better protection since note filenames won&#x27;t even be visible (and if you&#x27;re really paranoid you can entirely obfuscate and hide the encrypted drive in unused partition space).<p>Or just tick on the full disk encryption option in your OS (assuming it&#x27;s a modern one like Win 10, recent Ubuntu, etc.). It&#x27;s just as good at keeping your data protected at rest as any other encryption option you can run in userspace, and there&#x27;s less chance of some file operation snafu accidentally unencrypting or leaking your data.
评论 #27638603 未加载
评论 #27635125 未加载
forgotmypw17almost 4 years ago
GPG-PGP works well,<p>has tooling on pretty much every platform,<p>is a mature, well-established product.<p>The complicated features are optional.<p>Using something like age, with one reference implementation in Go, not supported by most languages, nor time-tested, is just asking for trouble, like surprise exploits or bitrot making your data unusable.<p>I am perplexed by the frequency of &quot;PGP&#x2F;GPG is old, let&#x27;s replace it with something new and untested&quot; posts on HN...<p>In software development, OLD is GOOD.<p>(As a side note, I don&#x27;t think Debian has been at the forefront of rational decisionmaking for a while, so I wouldn&#x27;t watch them too closely.)
评论 #27637282 未加载
hprotagonistalmost 4 years ago
come ask on libera in #emacs
评论 #27632190 未加载
exikyutalmost 4 years ago
Orthogonal question: where can I learn more about Debian abandoning GPG?
评论 #27632181 未加载