JackSON: JSON secret keeper in less than 50 lines of code
1–5 of 5 posts
Re: JackSON: JSON secret keeper in less than 50 lines of code
#2echo '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
#3(I've yet to read the books.)
Re: JackSON: JSON secret keeper in less than 50 lines of code
#4I 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'…
Re: JackSON: JSON secret keeper in less than 50 lines of code
#5Apropos 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)