B2 SDK docs: document the new SSE-B2 bucket and file-write defaults

Đang mở
#587 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
52/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
documentation, security

Hướng nghiên cứu

The payload does not name the encryption guide's file, so locate the existing encryption documentation first. Check the behavior on the encryption-defaults branch at commit 63727e89 by running the steps snippet (create_bucket, upload_bytes) and confirming that server_side_encryption is SSE_B2_AES and that an explicit SSE_NONE is rejected. Done when the guide separates omitted encryption, SSE-B2 and SSE-C, and states where SSE_NONE is no longer accepted.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Description

The encryption-defaults branch changes omitted bucket encryption to SSE-B2 and rejects explicit plaintext settings for bucket defaults and file writes. The current encryption guide still describes no encryption as a valid bucket-default outcome. The behavioral change needs user-facing documentation and migration guidance before release.

Steps to reproduce

bucket = b2_api.create_bucket('example-bucket', 'allPrivate')
file_version = bucket.upload_bytes(b'data', 'example.txt')

# New behavior: file_version.server_side_encryption is SSE_B2_AES.
# Explicit encryption=SSE_NONE is rejected for a file write.

Expected behavior

The encryption guide should distinguish omitted encryption, SSE-B2, and SSE-C; explain that omission delegates to the bucket default; and state where SSE_NONE is no longer accepted.

Actual behavior

The current guide says the bucket default may result in no encryption and provides no migration guidance for the new behavior.

Environment

  • Python version: Any supported version
  • b2sdk version: origin/encryption-defaults at 63727e89
  • OS: Any

Ngôn ngữ chính
Python
Star
214
Fork
68
Merge trung bình
51 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Backblaze/b2-sdk-python

Tất cả issue của Backblaze/b2-sdk-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.