timvisee
a2e5df3c41
Extract CLI argument handling into a module
2018-03-08 17:55:44 +01:00
timvisee
57d2e79400
Extract application facts into module
2018-03-08 17:49:20 +01:00
timvisee
ed4da6c2a1
Extract HKDF key deriving logic to a module
2018-03-08 17:43:37 +01:00
timvisee
9a1c480564
Merge branch 'master' of github.com:timvisee/ffsend
2018-03-08 17:00:15 +01:00
Tim Visée
98f1e813c2
Extract metadata structs to module
2018-03-08 11:26:30 +01:00
Tim Visée
05d22c57bc
Extract base64 logic to module
2018-03-08 11:26:07 +01:00
timvisee
22623fa26b
Update Cargo.lock for clap v2.31.1
2018-03-06 22:20:03 +01:00
timvisee
396cf97963
Extract encrypted file reader to module
2018-03-06 18:28:39 +01:00
timvisee
cce9a28dc3
Properly handle errors in the encrypted file reader
2018-03-06 18:24:03 +01:00
timvisee
5dfe94b7ea
Optimize (and fix) encrypted file reader for any data size
...
Break up reader in different functions.
Read correctly when the buffer is only one byte.
Read additional data produced when finalizing.
Always try to fill the given reading buffer.
Create an internal buffer to handle excess data.
Improve reading performance.
2018-03-06 18:18:03 +01:00
timvisee
e54565724c
Set the encrypted file reader length
2018-03-06 16:02:33 +01:00
timvisee
ac918cd092
Remove rust-crytpo, simplify HKDR derive, update Cargo.lock
2018-03-06 15:07:00 +01:00
timvisee
c3f54c58b4
Move all AES GCM crypto to OpenSSL crate
2018-03-06 14:13:40 +01:00
timvisee
b2b2aeb306
Implement first OpenSSL crypto basic, make encrypted reader lazy (WIP)
2018-03-06 00:53:41 +01:00
timvisee
c8cb0d7e2e
Cleanup
2018-03-05 22:04:56 +01:00
timvisee
07ededbeef
Open the URL of an uploaded file in the browser (testing)
2018-03-05 21:03:13 +01:00
timvisee
43f54d9332
Use URL-safe base64 encoding
2018-03-05 20:21:57 +01:00
timvisee
46d591fd27
Add basic CLI argument parsing
2018-03-05 18:23:41 +01:00
timvisee
0786ed5917
First working implementation, nicly handle upload response, cleanup
2018-03-05 18:17:14 +01:00
timvisee
9753f1e3cc
Read and encrypt whole file in-memory for now (due to lazy implementation problems)
2018-03-05 18:04:27 +01:00
timvisee
5d45cce720
Implement upload request data building and encrypt file
2018-03-05 17:38:46 +01:00
timvisee
158ef6fad7
Build and encrypt metadata
2018-03-05 15:59:30 +01:00
timvisee
09810e47da
Create file and meta ciphers
2018-03-05 14:50:37 +01:00
timvisee
5858cd01db
Implement basic hkdf hashing logic
2018-03-05 14:33:21 +01:00
timvisee
a79eabe537
Initial commit
2018-03-05 13:07:31 +01:00