Earlier quoted context omitted.
If that were true, would that then mean that age would be malleable by flipping around and deleting and duplicating blocks? How does it ensure continuity without preventing recovery of blocks subsequent to the bad one? I have not dug into the age code to figure out how the encryption works so I am guessing here.
I'm not sure you understand what the previous commenter was suggesting. They're saying the receiver of an `age` message could, in theory, skip authenticating the ciphertext. They would have to do so deliberately (so deliberately that the code to do it doesn't exist), and the entire point of doing so would be to defeat message security in an attempt to do data recovery. I think you should probably dig into the age cod…
Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?
21–30 of 40 posts
Re: Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?
#22If you have gnupg installed, emacs can just open foo.org.gpg files directly. It decrypts on load and re-encrypts on save. Probably you would get better answers about Emacs on https://emacs.stackexchange.com/ or https://www.reddit.com/r/emacs/ .
I am just considering the fact after 10-15 yrs would it be possible to still read those files? I use it (gnupg) for some of the data in my org files. It's just long term use, I'm concerned about.
Re: Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?
#23Or just tick on the full disk encryption option in your OS (assuming it's a modern one like Win 10, recent Ubuntu, etc.). It's just as good at keeping your data protected at rest as any other encryption option you can run in userspace, and there's less chance of some file operation snafu accidentally unencrypting or leaking your data.
Re: Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?
#24Earlier quoted context omitted.
The #emacs channel on Libera Chat (irc.libera.chat:6697) is indeed a very friendly and fun channel. For those you are new to IRC and want to take a quick glance at the channel without choosing clients and configuring them, here is a web-based interface to connect to the #emacs channel: https://web.libera.chat/#emacs Here is the Matrix bridge for it accessible via Element's web interface: https://app.element.io/#/room…
Also, for emacs users, you want to point ERC to irc.libera.chat as per: https://www.emacswiki.org/emacs/EmacsChannel
Re: Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?
#25Earlier quoted context omitted.
I'm not sure you understand what the previous commenter was suggesting. They're saying the receiver of an `age` message could, in theory, skip authenticating the ciphertext. They would have to do so deliberately (so deliberately that the code to do it doesn't exist), and the entire point of doing so would be to defeat message security in an attempt to do data recovery. I think you should probably dig into the age cod…
The actual damaged 64K age blocks would likely be unrecoverable after the start of the damage unless the chacha20-poly1305 ended being self synchronizing as it was used (as opposed to the CFB that OpenPGP specifies). The question I can't answer is if the undamaged 64K age blocks would then be recoverable. There might be just a counter, but you could instead (also) make a particular block dependent on the previous one…
Re: Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?
#26Earlier quoted context omitted.
Also, for emacs users, you want to point ERC to irc.libera.chat as per: https://www.emacswiki.org/emacs/EmacsChannel
I haven't really followed the freenode implosion. Is libera the canonical replacement server, in some sense?
Re: Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?
#27Earlier quoted context omitted.
The actual damaged 64K age blocks would likely be unrecoverable after the start of the damage unless the chacha20-poly1305 ended being self synchronizing as it was used (as opposed to the CFB that OpenPGP specifies). The question I can't answer is if the undamaged 64K age blocks would then be recoverable. There might be just a counter, but you could instead (also) make a particular block dependent on the previous one…
Do you understand that chacha20 is CTR? A bit flip only affects that single bit, does not propagate to any other bits?
Re: Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?
#28Re: Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?
#29Why not keep the notes in a VeraCrypt/TrueCrypt drive/partition? You can sidestep all the gpg complexity, and you get a little better protection since note filenames won't even be visible (and if you're really paranoid you can entirely obfuscate and hide the encrypted drive in unused partition space). Or just tick on the full disk encryption option in your OS (assuming it's a modern one like Win 10, recent Ubuntu, et…
Re: Ask HN: In Emacs, is there an alternative to GPG encryption in Org Mode?
#30A good place to ask questions like this is the (very friendly) Emacs subreddit.[1] [1] https://reddit.com/r/emacs