`b2 upload-file` does not calculate SHA1 automatically for large files if it's not been provided by `--sha1`.
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
Direzione di ricerca
The payload names no files or tests. Start from the b2 upload-file command and how it handles the --sha1 option. The issue offers three unresolved options: compute SHA1 by default, add an opt-in flag such as --autocalc-sha1, or expose server-side per-segment hashes. No option has been chosen, and the thread has been inactive for about 2100 days, so a maintainer decision is needed before any code change.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I know this issue has been reported and being declined multiple times for various reasons. But I like to tell more reasons why I need this -- auto-calculation of SHA1 by default.
I think one important thing is missing in older threads.
We upload files to use them later. Having no error on uploading is actually only half-work and not really helpful to archive integrity when I downloaded the file. Integrity scenario should include the case after the file after downloaded.
After downloading, the only way to verify integrity of downloaded file is its SHA1 hash. Missing SHA1 means no way to verify whether the download file is fine or damaged. (please correct me if I'm wrong!) Therefore, I think Backblaze should require SHA1 for all uploaded file. Missing SHA1 should be treated as incomplete upload. (now I started to worry about how Backblaze personal/business backup product deals with integrity of recovered backup.)
IMO, with that in mind, option --sha1 should become an overriding switch rather than an optional attachment. Users want b2 command would calculate SHA1 automatically if they consider "full integrity" and --sha1 overriding has not been provided.
If you do not provide SHA1 (regardless of verified by server or your own provision), your upload is incomplete.
If b2 command line cannot accept behavioral modification, I think you can provide extra switch like --autocalc-sha1.
Or Backblaze can provide access to SHA1 hashes for original uploading segments. (if it exists...) I don't know how files are stored on server-side, but if Backblaze keeps SHA1 hashes for original segments and the range of each segments, it's easy to verify on client side. If this is possible, everything is done simply and beautifully. Nothing is really required more.
- Lingua principale
- Python
- Stelle
- 638
- Fork
- 138
- Merge medio
- 8h 27m
- PR unite (30g)
- 8
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Backblaze/B2_Command_Line_Tool
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Backblaze/B2_Command_Line_Tool#553 · 2 commenti · 3 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Adopt the AI-native SDLC playbook and repository policiesForse già presa @goanpeca l’ha presa 18 giorni fa. Apertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Backblaze/B2_Command_Line_Tool#1192 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Backblaze/B2_Command_Line_Tool#1168 ·
I maintainer di solito rispondono entro 1 giorno
-
Add to MacPortsAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
Backblaze/B2_Command_Line_Tool#1161 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 56/100
Backblaze/B2_Command_Line_Tool#1155 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Backblaze/B2_Command_Line_Tool
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
btclib-org/btclib-node#2505 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
open-webui/open-webui#34462 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
gorakhargosh/watchdog#1462 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
openwisp/openwisp-monitoring#889 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
IETF-Hackathon/pqc-certificates#351 ·
I maintainer di solito rispondono entro 2 giorni