higgins/privatize
View on GitHub ↗ ★ 21 JavaScript
Partially encrypt/decrypt a file based on the presence of a heredoc
8 mentions on Hacker News by 3 people: 1 story, 7 comments · first 2022-03-16 · latest 2023-04-28
20082026
-
…and keep some notes private. The tool is still a WIP as it isn't portable between machines -- https://github.com/higgins/privatize more on it here: https://encapsulate.me/writing/Privatize.html
comment by higgins · 2023-04-28 · in Ask HN: Most interesting tech you built for just yourself? -
…in git. All of it public although some information is encrypted with my privatization tool ( https://github.com/higgins/privatize ). The log itself is a simple org file but I parse and render it in html here so that I can share important…
comment by higgins · 2022-07-19 · in Tell HN: My new free note taking tool -
…call out. thanks! currently i only have one warning in place if I forget to close there heredoc: https://github.com/higgins/privatize/blob/main/index.js#L168 but could add some more error checking. added to TODOs:…
comment by higgins · 2022-03-16 · in Show HN: Partially encrypt a file based on its HEREDOCs -
hey, thanks! added to my TODOs: https://github.com/higgins/privatize/commit/53f62483f943112e...
comment by higgins · 2022-03-16 · in Show HN: Partially encrypt a file based on its HEREDOCs -
…content to be encrypted. The 16B that are stored with the key is used to initialize the sha1 hmac: https://github.com/higgins/privatize/blob/0.1.1/index.js#L20...
comment by higgins · 2022-03-16 · in Show HN: Partially encrypt a file based on its HEREDOCs -
…live with the ciphertext. (I only glanced at the code for a few minutes, so I could be wrong: https://github.com/higgins/privatize/blob/0.1.1/index.js#L73 )
comment by amenghra · 2022-03-16 · in Show HN: Partially encrypt a file based on its HEREDOCs -
Yikes, do all filters do that? https://github.com/higgins/privatize/blob/0.1.1/index.js#L98 Also, it's 2022 and I still have to remind people not to commit binary assets into git repos, as the repo will grow without bound:…
comment by mdaniel · 2022-03-16 · in Show HN: Partially encrypt a file based on its HEREDOCs