From 91e40493b4f21e700d2cdd9cbb73cf2c878c28cd Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 23 May 2026 11:47:33 -0600 Subject: [PATCH] no bs shit --- .gitignore | 19 ----- ... (# Edit conflict 2026-05-23 ij95dmC #).md | 70 ------------------ archives/verifiable_archive_1779558390.7z | Bin 0 -> 2441 bytes keystore/keystore_1779558390.7z | Bin 0 -> 671 bytes out/test_validate_passphrase.sh | 10 ++- 5 files changed, 7 insertions(+), 92 deletions(-) delete mode 100644 .gitignore delete mode 100644 README (# Edit conflict 2026-05-23 ij95dmC #).md create mode 100644 archives/verifiable_archive_1779558390.7z create mode 100644 keystore/keystore_1779558390.7z diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ea0698c..0000000 --- a/.gitignore +++ /dev/null @@ -1,19 +0,0 @@ -archives/* -!archives/README.md -keystores/* -!keystores/README.md -out/* -!out/README.md -out/contents/* -!out/contents/README.md -Encrypt-Share-Attribution -Encrypt-Share-Attribution/* - -*.sha256 -*.sha512* -*private_* -*.pub* -*.7z* -*.sig* -*/checksums.sha512 -*/attribution-checksums.sha512 \ No newline at end of file diff --git a/README (# Edit conflict 2026-05-23 ij95dmC #).md b/README (# Edit conflict 2026-05-23 ij95dmC #).md deleted file mode 100644 index 7fe138a..0000000 --- a/README (# Edit conflict 2026-05-23 ij95dmC #).md +++ /dev/null @@ -1,70 +0,0 @@ -# Verifiably, Attributably Secure Archives -For when you need to distribute information anonymously, but wish to keep it provably full and intact, but _also_ wish to have options to prove attribution. - -## Writeup -### Purpose -todo -### Method -todo -### Issues -- two-way deanonymization is assumed when either method to attribute is used - - when sha512 method is used, originator is assumed to be the owner of the ed25519 key and vice versa - - any reveal of either signed note or sha512 attribution passphrase, the other is assumed to belong to the same entity - - opsec failures can result in two-way deanonymization - -## Usage -### Installation -todo -### Usage -todo - -## todo -1. x validate attribution thing -2. ? clean up output -3. x sanity checks -4. this README.md -5. x the README-instructions.txt and placedment for archive -6. x passphrase strength/length checks -7. sha256 mode with independant passphrase(?) -8. encrypt archive option - 1. inner - 1. goes first - 2. gets passphrase - 2. tests passphrase - 3. generates txt file backup - 4. then tests with passphrase - 2. outer - 1. goes second - 2. gets passphrase - 3. tests passphrase - 4. generates txt file backup - 5. then tests with passphrase -9. random data optional - 1. `read -n 1 -s -r -p "In another terminal/window, fill $inner_dir with whatever you please then press any key to continue..."` - 2. x now only takes up 2Kb! - 3. only use 128 bytes (1024 bits) x 2 - 1. `openssl rand -out "$out_dir/.$RANDOM" 128` - 2. `openssl rand -out "$inner_dir/.$RANDOM" 128` - 3. `find "$out_dir" -type f -name ".*" -exec chown $USER:$USER "{}" \;` - 4. `find "$out_dir" -type f -name ".*" -exec chmod 600 "{}" \;` -10. writeup in this README -11. usage in this README -12. specification definition - 1. Specification.md -13. FileMap.md -14. function: passphrase checkin - 1. match - 2. pass cracklib-check - 3. =>35 chars long - 4. pass call to haveibeenpwned.com api -15. - -## Changelog -- reduced random data to 2x 10Kb -- reduced random data to 2x 1Kb -- added password strength check with cracklib-check -- cleaned up output -- added housekeeping - - set perms and ownership on archives and keystore to minimum - - shred all erronious files and dirs -- cleaned up code \ No newline at end of file diff --git a/archives/verifiable_archive_1779558390.7z b/archives/verifiable_archive_1779558390.7z new file mode 100644 index 0000000000000000000000000000000000000000..e177b2346863d04bd6326789de98dd5e059dee13 GIT binary patch literal 2441 zcmV;433m23dc3bE8~_B<{90000Z000000001J7V(4N43-D*T>vsGer85# z)b?W9`1!N{$z~ml-=OewspK{aoz0Nt*#21?z8IO!Bt+x*Lr?asQNIA|C!~W06d=98x74wp@o6u;ZMa8=sM|7A(oiz%C>JWz`OpT;*GO z^}vZ_MJ7eJNI3$nE4(4`Z3yE_X_`)lv<-_coUrRaxJ9Q9suMO;djd?J@^x?JbQh|3 zGoSgNt04>^T7w(fYSVfbrVoaLmdjx&r46^r? z&K2Wqz7PD|>0Qo)y4Isl=G*J%>W%G_Dm?*mY#3Y>bqYfIV>Eaztej_42Ew9N$#<$L z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ky?vytiCQ*6Vj7A zymu8^jE>u#CaH7k8ru*!2$z-*T+(&&BLdEx*7L$)dBxm}HQER%F> zU~j?14-LLBdk|)*RiqU>skD-u$_kS>+98FzUA>S^9X%uN50;Fx<43HAE)C;uXmD}8 znR*Un=e(5uaO01Sd|3IX8m Hpy&Vqr@)e- literal 0 HcmV?d00001 diff --git a/keystore/keystore_1779558390.7z b/keystore/keystore_1779558390.7z new file mode 100644 index 0000000000000000000000000000000000000000..14ced0ec92fb86c3ec2aa50ff567d6d4ef33019c GIT binary patch literal 671 zcmV;Q0$}|&dc3bE8~_BjCK-P~0ssI20000#000000000wab(2Ouy|tvF%%Uu6y3Rz z33pSSJY^;8@WKD}(GM&T3%_irtD8kjG7hRwX^YqQ^m^&uLvjhGggnfUSGTQ1$5Xw0 z5%RRAZx3CaHw8Zoda>SmNvq&M_Bmp{uihGI$c*z)o9VR+H?@f(ow$A+&z+Z%5e%+| zuvfj&SKW=4x|Wh>EWzgtfawr=@0f&}UV*1~wIgR$S>trnxI(QQE) zhg>F?fZ*Qxs>;DBZz*|b76{f8R}aKwm}L(uglvfx0Fy03w|jCcw;mK%$8(Zo9{TcM z;*a>78fA+$=i6bRXHiU0v+Y8kCezC&5wiFQoM%baSK=HXs4+=lvDbBGGdtt`XDM)z z^zKhf>#n>;xy&U>yT5nAf)Pk2u*U=#)??V_uQ%9qQ!-#3bG)})=rBvYWVt(>0y@8z z4tcj1yrnPkb>9f9KOy-4krV*^-j|>RjU0kMacdu+rQ!h6+$gwt8KVFf27zz^34qW5 z2MYlJ0wf0U2LTdO4+D8&2O{Y5MT+B8K?a44X(Iyx0R>$E5C8xH01SZ0fl>+q#%7)W F008