Skip to content

adjust max QR code size#613

Merged
rusq merged 6 commits intomasterfrom
i511-2
Feb 14, 2026
Merged

adjust max QR code size#613
rusq merged 6 commits intomasterfrom
i511-2

Conversation

@rusq
Copy link
Copy Markdown
Owner

@rusq rusq commented Feb 14, 2026

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an environment-variable override for the maximum QR-code image data paste size used by the terminal “Sign in on Mobile” (QR) auth flow, and documents the new knob in the manpage.

Changes:

  • Introduce QR_CODE_SIZE env var to control the huh.NewText() CharLimit for pasted QR image data (default 9000, max 65535).
  • Add range/sanity handling for the configured limit.
  • Document QR_CODE_SIZE in slackdump.1.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
auth/auth_ui/huh.go Adds env-driven QR paste size limit and clamps it before applying to CharLimit.
slackdump.1 Documents the new QR_CODE_SIZE environment variable.

rusq and others added 3 commits February 14, 2026 17:30
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@rusq rusq merged commit f84e951 into master Feb 14, 2026
3 checks passed
@rusq rusq deleted the i511-2 branch February 14, 2026 07:46
@rusq rusq linked an issue Feb 14, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New auth method: Sign in on mobile

2 participants