Commit graph

36 commits

Author SHA1 Message Date
Evan Su
ee2abd053c remove duplicate single folder size counting 2025-04-17 23:46:04 -04:00
Evan Su
75c0a017f9 Much more reliable free space estimator 2025-04-17 23:37:36 -04:00
Evan Su
065a50d90e fix: 0700 instead of 0600 for mkdirall 2025-04-13 18:54:00 -04:00
Evan Su
c63cf92672 Start button show "Zip and Encrypt" if temp zip needed 2025-04-13 15:15:43 -04:00
Evan Su
bad71f95ce use 0600 for auto unzip file permissions
prevent executing for safety and only allow user to have access
2025-04-13 14:40:52 -04:00
Evan Su
d7a0ee126b Use encrypted-*.zip.pcv instead of Encrypted.zip.pcv
So you don't always have to rename or delete an existing volume
2025-04-13 14:33:08 -04:00
Evan Su
16bb70dc97 Add .incomplete to end of wip files 2025-04-13 14:24:02 -04:00
Evan Su
757c9c23e4 remove warning for external storage target
since temporary files are now encrypted so no longer matters
2025-04-13 13:32:56 -04:00
Evan Su
159944a619 Encrypt temporary zip files 2025-04-13 13:23:19 -04:00
Evan Su
55ec72864e Only show info/warnings if status is "Ready"
If not, it's probably showing some error message which would happen after starting encryption, so user would've already seen the info/warning status
2025-04-10 12:27:49 -04:00
Evan Su
333aca2a80 Add warnings for zip and external destinations
When encrypting multiple files, Picocrypt will zip them to a temporary zip file on the target location with a .tmp extension. This comes with two issues: 1. requires double the volume size of free storage; 2. external drive must not be unsafe to host the unencrypted temporary zip file.

Prevent potential footguns by showing warnings where appropriate.
2025-04-10 01:20:40 -04:00
Evan Su
d9473f777b Bump to 1.48, update changelog 2025-04-10 00:38:09 -04:00
Evan Su
6f3cbb0a38 Auto press start/process button on Enter key 2025-04-10 00:27:36 -04:00
Evan Su
5e55cb76c7
Bump to v1.47 2025-02-19 20:02:51 -05:00
Alex Verner
445cd48e53 fix: delete a partially extracted file if run out of space 2025-01-28 12:22:19 +03:00
Evan Su
47b65d6fe0 return err on ".." in zip item file path
Unlikely to happen since go stdlib zip doesn't do it, so if it does happen, better safe than sorry.
2025-01-27 01:12:14 -05:00
Evan Su
a929eb1037 final auto unzip code tweaks 2025-01-27 00:55:47 -05:00
Evan Su
bf73698c52 update unpackArchive to use both flags
also remove comments that add no value
2025-01-27 00:32:03 -05:00
Evan Su
10e8a1af82 auto unzip: careful ui state handling 2025-01-27 00:13:11 -05:00
Alex Verner
af3e1748fb Bump to 1.46: zip unpacking and version in title 2025-01-26 01:05:40 +03:00
Alex Verner
fee796845b zip unpacking with status bar 2025-01-25 22:59:41 +03:00
Alex Verner
fdebb502ab unpack zip and version in the window title 2025-01-25 22:12:14 +03:00
Evan Su
fb5b92a17d
Bump to 1.45 2024-12-15 21:53:59 -05:00
Evan Su
fc50b47f12
Bump to 1.43 2024-09-11 21:45:33 -04:00
Evan Su
fce558b8be panic if crypto/rand.Read errors
Otherwise it would potentially allow zeroed values to be used in the volume which is not good. But this is highly unlikely so not a huge worry.
2024-09-03 00:09:03 -04:00
Evan Su
6ea23b8a86 panic if comments are too long
No one is going to put >99999 characters in the comment field realistically and the UI is likely to freeze and crash before the application gets to this point. So a raw panic is sufficient for this extreme edge case.
2024-09-02 23:31:51 -04:00
Evan Su
b3f36a3994 Validate comments length before parsing 2024-09-02 23:23:38 -04:00
Evan Su
66a3cca464 Move packages to Picocrypt org 2024-08-30 20:55:19 -04:00
Evan Su
b5eb15520b Move packages to Picocrypt org 2024-08-30 20:19:31 -04:00
Evan Su
c5df6252b6 Move packages to Picocrypt organization 2024-08-30 19:53:05 -04:00
Evan Su
57dda53969 Allow specifying files from command line 2024-08-10 23:37:17 -04:00
Alex Verner
985ae302b1 fix: deniability button now disables the comments field 2024-08-07 18:04:14 +03:00
Alex Verner
6869e6c5a7 deleted unnecessary dots at the end of sentences, bump to 1.38 2024-08-05 13:17:16 +03:00
CodeCracker-oss
33da5b0e74
Update Picocrypt.go
Generate 32 byte Key File's instead of 1 KB
2024-06-27 23:29:02 -04:00
Evan Su
017f9a2de9
Update Picocrypt.go 2024-06-01 14:14:17 -04:00
Evan Su
10c0b6b7d2 Initial commit 2024-06-01 11:03:54 -04:00