1
Fork 0
Commit graph

33 commits

Author SHA1 Message Date
192f3210aa use "#!/usr/bin/env node" shebang 2023-03-27 19:24:44 -04:00
100cf0af62 add basic version of init() call to CLI 2023-03-13 20:52:04 -04:00
f4a9edebcf allow passing plain/source in CLI arguments to encrypt/rename 2023-03-12 21:54:06 -04:00
8d080d19e1 in CLI, make config optional for decrypt and clean 2023-03-12 21:28:15 -04:00
8d9c2e39d1 in CLI, identify store by presence of info & public & private files 2023-03-12 21:18:05 -04:00
14a2ba2831 make cache optional 2023-03-12 20:59:31 -04:00
336b86c3fd mention optional passphrase param to encrypt() in readme 2023-03-12 20:44:18 -04:00
3ae5ab40dd add rename support to CLI 2023-03-12 20:42:11 -04:00
5cba7d93fb enhance encrypt() functionality when passing the passphrase
- automatically delete -data files when deleting -index files
- reuse key and iv for renamed files, resulting in same -data files
2023-03-12 20:39:03 -04:00
6210f48324 add basic validation of configuration shape 2023-03-11 16:50:08 -05:00
8c95185588 just try to load config rather than using fs.existsSync 2023-03-11 11:20:15 -05:00
c2de8053e8 add basic split-crypt.js CLI 2023-03-11 11:08:02 -05:00
db83cb6e29 reformat crypt.js 2023-03-11 10:13:15 -05:00
de35d74aec add .prettierrc.yaml 2023-03-11 10:10:12 -05:00
9bdd67373c flesh out readme 2023-03-10 23:14:29 -05:00
17ff6d715f use node: imports 2023-03-10 22:41:39 -05:00
1db371512a add basic readme 2023-03-10 22:40:46 -05:00
e52d06ef9c accept cache path as option to encrypt()/decrypt() 2021-05-17 21:26:07 -04:00
668229caee get rid of constants and refactor imports 2021-05-05 17:34:57 -04:00
fd086972a3 convert to ESM 2021-04-21 08:09:10 -04:00
219ca6c083 tidy 2021-03-10 11:14:12 -05:00
477bf76e4a use stream queue when computing file hashes 2021-03-09 18:26:28 -05:00
19076763ed rework crypt filenames and metadata/info formats 2021-03-09 06:08:32 -05:00
8f27ba27db tidy 2021-03-09 05:12:45 -05:00
bf6250b960 add a default split_size 2021-03-08 21:56:14 -05:00
84839595fc fix edge case when adding only empty files 2021-03-08 21:44:32 -05:00
69d59accf2 add get_pass and confirm_pass utilities 2021-03-08 21:32:19 -05:00
c6e35a6191 index.js -> crypt.js 2021-03-08 21:26:26 -05:00
3197ed7fd4 rework to use asymmetric crypto and allow encryption without passphrase 2021-03-08 20:06:48 -05:00
ba76ee8b6d return information about actions taken from encrypt() and decrypt()
also, do not re-write index if there are no changes
2021-03-07 19:00:28 -05:00
a4e389d916 add license 2021-03-07 17:09:27 -05:00
1dd912f796 add initial version 2021-03-07 16:56:16 -05:00
451c24a94a initial commit 2021-03-07 16:53:08 -05:00