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

Aberta
#587 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
52/100
Tipo de issue
Documentação
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
python

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Python
Estrelas
214
Forks
68
Merge médio
51min
PRs com merge (30d)
6

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Backblaze/b2-sdk-python

Todas as issues de Backblaze/b2-sdk-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.