mirror of
https://github.com/gopasspw/gopass.git
synced 2026-05-30 11:18:48 +02:00
66cd21cde0
The kbinani/screenshot dependency is pulled in solely by pkg/otp/ParseScreen, which is invoked only when the user explicitly passes --snip (-s) to gopass otp. It is never triggered automatically. - Add the 'noscreenshot' build tag: building with -tags noscreenshot omits the screenshot_supported.go file so the library is not linked and the --snip flag falls back to the unsupported-platform stub. - Document the dependency, the triggering conditions, and the build tag in docs/commands/otp.md. - Add ADR A-13 recording the audit findings and the decision rationale. Closes #3415