file info error on encrypted files

Aperta
#1,051 5 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@wolfgang-aura ci sta già lavorando.

Dal 18/10/2026.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

The payload names only the b2 file info subcommand and the SSE-C key option, not specific source files, so start by finding the file info handler in the Python CLI. Reproduce with a client-side encrypted file, then check what the B2 API returns when the request has no SSE-C key, since the report shows a bad request with no code or message. Done means file info either prints the metadata for encrypted files or fails with a specific, actionable message instead of ERROR: None (None). No maintainer reply appears in the payload for about 716 days, so expect little help.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Greetings,

When issuing the following command for a client-encrypted file stored on b2:

./b2-linux file info b2://myCuteFunBucket/syncfiles/myCuteFunFileName

I get the following output:

UserWarning: bad request exception with an unknown `code`. message=None, code=None
ERROR: None (None)

The documentation at https://b2-command-line-tool.readthedocs.io/en/master/subcommands/file_info.html does not mention the need to use the SSE_C key, although I tried with this and it still produces the same error.

b2-linux account authorize was performed successfully before this.

Using file info on a non-encrypted file works as expected.

Using b2 command line tool version: 4.1.0. I also tried with b2v3-linux and I received the same error.

Thanks 👍

Lingua principale
Python
Stelle
638
Fork
138
Merge medio
8h 27m
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Backblaze/B2_Command_Line_Tool

Tutte le issue di Backblaze/B2_Command_Line_Tool

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.