macOS and Linux API versions differ from Windows
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
Direzione di ricerca
The bug is reported against the b2 CLI's key create and account authorize commands, which behave differently on macOS/Linux than on Windows. Start from the key-creation code path in the CLI and compare how capabilities are passed to the Backblaze API on each platform, then check the API version the client requests. Done means a key created on macOS/Linux authorizes successfully and appears in the web portal; the issue has four comments and no linked pull request, so ask the maintainers for direction first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The b2 CLI app behaves differently on macOS/Linux than it does on Windows when creating a key.
Versions tested: Up to 4.5.1
Reproducible example:
- Authorize with master account.
- Try to create a key with the following permissions:
b2 key create --bucket my-bucket-name-here Test-Write-Only-Key-Files-1 listBuckets,readBuckets,listFiles,readFiles,writeFiles,readBucketEncryption,readBucketReplications,readBucketRetentions,readFileRetentions,writeFileRetentions,readFileLegalHolds
When attempting a b2 account authorize with the key information yields the following error:
ERROR: unable to authorize account: This request is not currently supported on API version number 2 (bad_request)
Additionally, the key is hidden from the "Application Keys" portion of the web portal.
Running the same command on the Windows version creates the correct key as expected, allows authorization, and shows itself in the web portal.
- 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
-
ライブラリを追加Apertapriority middle
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
KATO-Hiro/AtCoderClans#13015 ·
I maintainer di solito rispondono entro 1 giorno
-
StringLiteral to IntegerType/LongType silently truncates fractional strings, changing predicate meaningForse già presa @Shahzeb-DataEngineer l’ha presa oggi. Apertakind:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
apache/iceberg-python#4382 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
request-theme
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 62/100
LizardByte/ThemerrDB#10024 · 2 commenti ·
-
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