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

Offen
#587 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
52/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
python

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
214
Forks
68
Ø Merge
51 Min.
Gemergte PRs (30 T.)
6

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Backblaze/b2-sdk-python

Alle Issues in Backblaze/b2-sdk-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.