News for hackers. Stuff that matters.
Re:JackSON: JSON secret keeper in less than 50 lines of code by digitalsushi on Friday June 29, 2018 @01:01PM (#17425795)
I implemented a secrets manager using vim (which comes with blowfish file encryption support). We just pass the unlock key in from a secure location, such as our ci/cd pipeline, and then pass it to something like the following:

echo '1,$'|vim --cmd "set key=${__password}" ${__filename} -es|grep mysecret

Inside the file, you can do whatever programmatic syntax you want, because from here it's just shell pipelining.

I'd actually love to hear if this is a really bad idea.

Re:JackSON: JSON secret keeper in less than 50 lines of code by r0hi7 on Sunday July 01, 2018 @12:28AM (#17434099)
I have implemented jackson as package. Your way of vim cannot be extended to application that keeps secrets in config file (say json). With this implementation we just need to write the env and pass it to jackson, then jackson will resolve it as runtime.
Re:JackSON: JSON secret keeper in less than 50 lines of code by pasbesoin on Friday June 29, 2018 @02:59PM (#17426815)
Apropos of nothing, this makes me think of Jackson Brodie, who keeps lots of small but important secrets.

(I've yet to read the books.)

https://en.wikipedia.org/wiki/Case_Histories_(TV_series)

Re:JackSON: JSON secret keeper in less than 50 lines of code by r0hi7 on Sunday July 01, 2018 @12:30AM (#17434105)
No its is secret management package for python applications.