738a794d897cca873068c5d82471c04919f6fe6e
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
- x validate attribution thing
- ? clean up output
- x sanity checks
- this README.md
- x the README-instructions.txt and placedment for archive
- x passphrase strength/length checks
- sha256 mode with independant passphrase(?)
- encrypt archive option
- inner
- goes first
- gets passphrase
- tests passphrase
- generates txt file backup
- then tests with passphrase
- outer
- goes second
- gets passphrase
- tests passphrase
- generates txt file backup
- then tests with passphrase
- inner
- random data optional
read -n 1 -s -r -p "In another terminal/window, fill $inner_dir with whatever you please then press any key to continue..."- x now only takes up 2Kb!
- only use 128 bytes (1024 bits) x 2
openssl rand -out "$out_dir/.$RANDOM" 128openssl rand -out "$inner_dir/.$RANDOM" 128find "$out_dir" -type f -name ".*" -exec chown $USER:$USER "{}" \;find "$out_dir" -type f -name ".*" -exec chmod 600 "{}" \;
- writeup in this README
- usage in this README
- specification definition
- Specification.md
- FileMap.md
- function: passphrase checkin
- match
- pass cracklib-check
- =>35 chars long
- pass call to haveibeenpwned.com api
- exit trap with cleanup
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
- better rng
Description
Languages
Shell
100%