mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
Increases the maximum length of external_registry_username and external_registry_password fields from 2048 to 4096. Some registries, e.g ECR, issue a token to be used as password, whose length is longer than 2048 after being encrypted and base64 encoded. Since JWT's specs do not specify a maximum length, we set the combined max length of these fields to approximately 8K, the default header size on most servers (including nginx), since these credentials will be passed in a auth header during the auth flow.