minio / minio-py

MinIO Client SDK for Python
https://docs.min.io/docs/python-client-quickstart-guide.html
Apache License 2.0
851 stars 325 forks source link

minioadmin module: user_list data cut-off #1394

Closed kklovegui closed 8 months ago

kklovegui commented 9 months ago

When using the user_list in the minioadmin module.

I noticed that the returned data is truncated when the length of the data exceeds 16401.

It seems that the issue may be related to the condition in the__read_chunk method of the DecryptReader class in crypto.py. The condition while len(self._chunk) != (1 + _MAX_CHUNK_SIZE) is only executed once, and I'm not sure if this is a bug.