4 ms·
tbh you I wouldnt trust anyone with my encryption, that is why in Baxx I advise people to simply upload encrypted cat file | encrypt -k .pass | curl --data-b
by zulgan 8y ago
tbh you I wouldnt trust anyone with my encryption, that is why in Baxx I advise people to simply upload encrypted
cat file | encrypt -k .pass | curl --data-binary
cat file | encrypt -k .pass > file.enc && curl -T file.enc https://baxx.dev/io/$BAXX_TOKEN/file
(encrypt: https://github.com/jackdoe/updown/blob/master/cmd/encrypt/main.go https://github.com/jackdoe/updown/blob/master/cmd/encrypt/ma...)
offtopic: it is a bit annoying that cat | curl makes curl buffed the whole standard input, so for big files you have to either you have to do -H "Transfer-Encoding: chunked" or use -T file
2) dd block devices is very fragile, its better if you just tar --exclude/dev ... (https://help.ubuntu.com/community/BackupYourSystem/TAR https://help.ubuntu.com/community/BackupYourSystem/TAR - Alternate backup)