macOS and Linux API versions differ from Windows
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 22/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 638
- Fork
- 138
- Merge trung bình
- 8 giờ 27 phút
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Backblaze/B2_Command_Line_Tool
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Backblaze/B2_Command_Line_Tool#553 · 2 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Adopt the AI-native SDLC playbook and repository policiesCó thể đã có người làm @goanpeca đã nhận 18 ngày trước. Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Backblaze/B2_Command_Line_Tool#1192 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Backblaze/B2_Command_Line_Tool#1168 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add to MacPortsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
Backblaze/B2_Command_Line_Tool#1161 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
b2 ls timestamps human readableĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 56/100
Backblaze/B2_Command_Line_Tool#1155 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Backblaze/B2_Command_Line_Tool
Issue tương tự
-
ライブラリを追加Đang mởpriority middle
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
KATO-Hiro/AtCoderClans#13015 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
StringLiteral to IntegerType/LongType silently truncates fractional strings, changing predicate meaningCó thể đã có người làm @Shahzeb-DataEngineer đã nhận hôm nay. Đang mởkind:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
apache/iceberg-python#4382 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
request-theme
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 62/100
LizardByte/ThemerrDB#10024 · 2 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
btclib-org/btclib-node#2505 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
open-webui/open-webui#34462 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày