News for hackers. Stuff that matters.
Re:A Year of Developer Journals with jrnl.sh by memorythought on Friday December 01, 2017 @10:20AM (#15824265)
Does anyone know of a tool like jrnl.sh that integrates with GPG for encryption?
Re:A Year of Developer Journals with jrnl.sh by zeveb on Friday December 01, 2017 @10:45AM (#15824480)
You can use org-mode and EasyPG Assistant:

1. Create a file foo.org.gpg

2. Put this in the first line (you can list multiple PGP keys if you like):

    -*- mode: org; epa-file-encrypt-to: ("PGP KEY ID HERE") -*-
3. Profit!
Re:A Year of Developer Journals with jrnl.sh by atmosx on Friday December 01, 2017 @12:47PM (#15825657)
Check the vim journal plugin https://github.com/jmcantrell/vim-journal
Re:A Year of Developer Journals with jrnl.sh by Cthulhu_ on Friday December 01, 2017 @10:37AM (#15824407)
Would it be hard to wrap it in a script that does that for you? I'm not familiar with GPG but I can imagine a smart hacker made it so that you could basically pipe it through.
Re:A Year of Developer Journals with jrnl.sh by memorythought on Friday December 01, 2017 @10:48AM (#15824499)
True, not particularly difficult. At the moment though I just keep GPG encrypted text files if I handle encryption independently of jrnl then I lose a lot of the value of it like being able to search by tag.

There was some discussion of including it here https://github.com/maebert/jrnl/issues/262 but it looks like they might have decided against it.