timvisee
c23fe34c33
Split CI commands, enable verbose mode
2018-03-26 21:05:42 +02:00
timvisee
0a79fa7c7c
Install dependencies on CI
2018-03-26 20:58:57 +02:00
timvisee
94229560bf
Add Travis CI configuration
2018-03-26 20:51:14 +02:00
timvisee
1e047339cf
Partially implement error handling in download action
2018-03-25 01:26:36 +01:00
timvisee
5bda8dd39d
Update Cargo.lock, change version number and about info
2018-03-25 00:17:20 +01:00
timvisee
bf13230570
Update Cargo.lock
2018-03-23 14:21:32 +01:00
timvisee
268da48d9c
Extract methods in API download logic
2018-03-23 01:17:59 +01:00
timvisee
d382a015c5
Implement progress bar both for upload and download
2018-03-21 00:08:53 +01:00
timvisee
2d1c669cef
Fix writing large encrypted files, remove slow truncates
2018-03-20 23:23:39 +01:00
timvisee
a7da14ec2c
Generalize base64 decode method, allow all formats for single method
2018-03-20 22:46:36 +01:00
timvisee
4957c98f6d
Fix data decrypt error, and seldom nonce decode problem
2018-03-20 22:36:56 +01:00
timvisee
9eb9462c40
Implement file download and decrypt logic
2018-03-20 22:04:49 +01:00
timvisee
7e22c07d72
Extract signing crypto to module
2018-03-20 18:35:26 +01:00
timvisee
f63b86f0ec
Properly compute metadata crypto signature with signer
2018-03-20 18:19:49 +01:00
Tim Visée
5b1724ef9e
Create upload command, implement download data decryption logic
2018-03-20 13:52:59 +01:00
Tim Visée
dd41dfbacc
Use serde JSON crate globally in API
2018-03-20 13:25:58 +01:00
Tim Visée
8101bb3d19
Allow key set derivation from download URL, start on download logic
2018-03-20 11:56:22 +01:00
Tim Visée
e7e0d8c1ff
Use dynamic vector as secret type
2018-03-20 11:43:15 +01:00
timvisee
3f3f12aa70
Start working on structs for download functionallity
2018-03-20 01:11:16 +01:00
timvisee
b57e85a8ec
Complete upload progress bar implementation, simplify with arc/mutex
2018-03-19 21:52:20 +01:00
timvisee
030454cc10
Start implementing an upload progress bar (WIP)
2018-03-19 21:19:15 +01:00
timvisee
c646cf7938
Make clipboard support an optional compilation feature
2018-03-19 15:33:20 +01:00
timvisee
523cbc3a19
Add clipboard suppor:t, make URL open feature toggleable
2018-03-19 15:18:04 +01:00
timvisee
a4aa1b93e5
Abstract URL opening in utility, use Url instances
2018-03-19 14:55:37 +01:00
timvisee
c2611049df
Extract upload action to it's own module
2018-03-19 14:54:15 +01:00
timvisee
951bcbe5d8
Mark workspace root directory in members
2018-03-19 14:11:45 +01:00
timvisee
061e6e0658
Implement upload logic from API, use pathbuf
2018-03-09 00:37:02 +01:00
timvisee
a66b9dd67f
Polish API upload action
2018-03-09 00:25:34 +01:00
timvisee
c32a55c82f
Organize API modules
2018-03-08 23:11:21 +01:00
timvisee
7a56dabd39
Extract CLI logic to a child project
2018-03-08 23:02:06 +01:00
timvisee
2df0f8d077
Extract API logic to separate project
2018-03-08 22:56:34 +01:00
timvisee
fdb5a5a8ac
Start implementing upload logic in an update module
2018-03-08 22:36:57 +01:00
timvisee
a4ccf395b9
Extract crypto keys to a key set module
2018-03-08 21:36:50 +01:00
timvisee
8ffea0410d
Add URL/host parsing and URL building, add quit with error message
2018-03-08 21:02:34 +01:00
timvisee
b527a7c43c
Add time property to file struct
2018-03-08 20:32:45 +01:00
timvisee
c92ab109f6
Extract response object, create uploaded file struct
2018-03-08 20:25:15 +01:00
timvisee
ae83064b36
Define some more upload command arguments
2018-03-08 19:26:11 +01:00
timvisee
fb7fd69400
Improve CLI argument handling for subcommand use
2018-03-08 19:10:24 +01:00
timvisee
188b0cb2e1
Update clap to v2.31.1
2018-03-08 17:57:33 +01:00
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