René's URL Explorer Experiment


Title: Improve tty prompt error for keypair generation by hslatman · Pull Request #688 · smallstep/cli · GitHub

Open Graph Title: Improve tty prompt error for keypair generation by hslatman · Pull Request #688 · smallstep/cli

X Title: Improve tty prompt error for keypair generation by hslatman · Pull Request #688 · smallstep/cli

Description: When a prompt is used, it may happen that /dev/tty is not available. In many cases it's not clear to the user what exactly went wrong in such a case, because that context is lost. Using STEPDEBUG=1...

Open Graph Description: When a prompt is used, it may happen that /dev/tty is not available. In many cases it's not clear to the user what exactly went wrong in such a case, because that context is lost. Using STEPDEB...

X Description: When a prompt is used, it may happen that /dev/tty is not available. In many cases it's not clear to the user what exactly went wrong in such a case, because that context is lost. Using STE...

Opengraph URL: https://github.com/smallstep/cli/pull/688

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f76c5c71-308e-34ae-7625-9ee974e2fb74
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBE04:DB2DF:15E6854:1BA6C3C:697F2129
html-safe-nonce458bafe32175dd1da6b3b1cd90ddc42b5692788e084e0112944347f66a283f3a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTA0OkRCMkRGOjE1RTY4NTQ6MUJBNkMzQzo2OTdGMjEyOSIsInZpc2l0b3JfaWQiOiI2NDkzNzcxNTc0NDE0MzUyNjgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8b61e70c486ed9dd96509e9fc5714a93a0f7165b7794182f241fde25d6ff6a67
hovercard-subject-tagpull_request:966233550
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/smallstep/cli/688/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/aa15edabf9e03ecb770ec83b6b8859a33b7f277ec81b0aa590986f8ac2af9514/smallstep/cli/pull/688
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aa15edabf9e03ecb770ec83b6b8859a33b7f277ec81b0aa590986f8ac2af9514/smallstep/cli/pull/688
og:image:altWhen a prompt is used, it may happen that /dev/tty is not available. In many cases it's not clear to the user what exactly went wrong in such a case, because that context is lost. Using STEPDEB...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehslatman
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/smallstep/cli git https://github.com/smallstep/cli.git
octolytics-dimension-user_id23183426
octolytics-dimension-user_loginsmallstep
octolytics-dimension-repository_id141352703
octolytics-dimension-repository_nwosmallstep/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id141352703
octolytics-dimension-repository_network_root_nwosmallstep/cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsmallstep%2Fcli%2Fpull%2F688
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsmallstep%2Fcli%2Fpull%2F688
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=smallstep%2Fcli
Reloadhttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
Reloadhttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
Reloadhttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
smallstep https://patch-diff.githubusercontent.com/smallstep
clihttps://patch-diff.githubusercontent.com/smallstep/cli
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fsmallstep%2Fcli
Fork 289 https://patch-diff.githubusercontent.com/login?return_to=%2Fsmallstep%2Fcli
Star 4.1k https://patch-diff.githubusercontent.com/login?return_to=%2Fsmallstep%2Fcli
Code https://patch-diff.githubusercontent.com/smallstep/cli
Issues 146 https://patch-diff.githubusercontent.com/smallstep/cli/issues
Pull requests 25 https://patch-diff.githubusercontent.com/smallstep/cli/pulls
Actions https://patch-diff.githubusercontent.com/smallstep/cli/actions
Projects 0 https://patch-diff.githubusercontent.com/smallstep/cli/projects
Security 0 https://patch-diff.githubusercontent.com/smallstep/cli/security
Insights https://patch-diff.githubusercontent.com/smallstep/cli/pulse
Code https://patch-diff.githubusercontent.com/smallstep/cli
Issues https://patch-diff.githubusercontent.com/smallstep/cli/issues
Pull requests https://patch-diff.githubusercontent.com/smallstep/cli/pulls
Actions https://patch-diff.githubusercontent.com/smallstep/cli/actions
Projects https://patch-diff.githubusercontent.com/smallstep/cli/projects
Security https://patch-diff.githubusercontent.com/smallstep/cli/security
Insights https://patch-diff.githubusercontent.com/smallstep/cli/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fsmallstep%2Fcli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fsmallstep%2Fcli%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688#issue-comment-box
hslatmanhttps://patch-diff.githubusercontent.com/hslatman
masterhttps://patch-diff.githubusercontent.com/smallstep/cli/tree/master
ttyssueshttps://patch-diff.githubusercontent.com/smallstep/cli/tree/ttyssues
Improve tty prompt error for keypair generation https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#top
hslatmanhttps://patch-diff.githubusercontent.com/hslatman
masterhttps://patch-diff.githubusercontent.com/smallstep/cli/tree/master
ttyssueshttps://patch-diff.githubusercontent.com/smallstep/cli/tree/ttyssues
Conversation 8 https://patch-diff.githubusercontent.com/smallstep/cli/pull/688
Commits 1 https://patch-diff.githubusercontent.com/smallstep/cli/pull/688/commits
Checks 2 https://patch-diff.githubusercontent.com/smallstep/cli/pull/688/checks
Files changed https://patch-diff.githubusercontent.com/smallstep/cli/pull/688/files
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/smallstep/cli/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/hslatman
hslatmanhttps://patch-diff.githubusercontent.com/hslatman
Jun 13, 2022https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#issue-1270004482
#674https://github.com/smallstep/cli/issues/674
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
https://patch-diff.githubusercontent.com/hslatman
Improve tty prompt error for keypair generationhttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688/commits/e80377e19551b6c9d50ab70394f0eca076338c8f
e80377ehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688/commits/e80377e19551b6c9d50ab70394f0eca076338c8f
#674https://github.com/smallstep/cli/issues/674
https://patch-diff.githubusercontent.com/apps/github-actions
github-actionshttps://patch-diff.githubusercontent.com/apps/github-actions
needs triage https://patch-diff.githubusercontent.com/smallstep/cli/issues?q=state%3Aopen%20label%3A%22needs%20triage%22
Jun 13, 2022https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#event-6799521330
https://patch-diff.githubusercontent.com/hslatman
hslatmanhttps://patch-diff.githubusercontent.com/hslatman
Jun 13, 2022https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#issuecomment-1154491701
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
@dopeyhttps://github.com/dopey
@jdosshttps://github.com/jdoss
@jdosshttps://github.com/jdoss
@azazealhttps://github.com/azazeal
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
https://patch-diff.githubusercontent.com/dopey
dopeyhttps://patch-diff.githubusercontent.com/dopey
azazealhttps://patch-diff.githubusercontent.com/azazeal
dopeyhttps://patch-diff.githubusercontent.com/dopey
marainohttps://patch-diff.githubusercontent.com/maraino
June 15, 2022 17:11https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#event-6814777397
https://patch-diff.githubusercontent.com/tashian
tashianhttps://patch-diff.githubusercontent.com/tashian
Jun 15, 2022https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#issuecomment-1156732027
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
https://patch-diff.githubusercontent.com/dopey
dopeyhttps://patch-diff.githubusercontent.com/dopey
Jun 15, 2022https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#issuecomment-1156985962
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
https://patch-diff.githubusercontent.com/hslatman
hslatmanhttps://patch-diff.githubusercontent.com/hslatman
Jun 15, 2022https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#issuecomment-1157012988
@dopeyhttps://github.com/dopey
@tashianhttps://github.com/tashian
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
https://patch-diff.githubusercontent.com/maraino
marainohttps://patch-diff.githubusercontent.com/maraino
Jun 15, 2022 https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#pullrequestreview-1008329215
View reviewed changes https://patch-diff.githubusercontent.com/smallstep/cli/pull/688/files/e80377e19551b6c9d50ab70394f0eca076338c8f
command/crypto/keypair.gohttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688/files/e80377e19551b6c9d50ab70394f0eca076338c8f#diff-e163c1ea344d9afab5152b5f0b1b3970869259cbe43f0fb4e7728dcbd7ef57c5
marainohttps://patch-diff.githubusercontent.com/maraino
Jun 15, 2022https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#discussion_r898565638
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/smallstep/cli-utils/blob/dab2062ecd8c8176026c1fe6a60a034d69c6a87f/ui/ui.go#L279-L282https://github.com/smallstep/cli-utils/blob/dab2062ecd8c8176026c1fe6a60a034d69c6a87f/ui/ui.go#L279-L282
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
hslatmanhttps://patch-diff.githubusercontent.com/hslatman
Jun 16, 2022https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#discussion_r898834360
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
marainohttps://patch-diff.githubusercontent.com/maraino
Jun 16, 2022https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#discussion_r899465048
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
hslatmanhttps://patch-diff.githubusercontent.com/hslatman
Jun 16, 2022https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#discussion_r899547690
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@azazealhttps://github.com/azazeal
https://github.com/superfly/flyctl/blob/ac3bf682a43ac6b0dc8586b7a13ae2a766d6893a/internal/prompt/prompt.go#L96-L106https://github.com/superfly/flyctl/blob/ac3bf682a43ac6b0dc8586b7a13ae2a766d6893a/internal/prompt/prompt.go#L96-L106
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
https://patch-diff.githubusercontent.com/hslatman
hslatmanhttps://patch-diff.githubusercontent.com/hslatman
Jan 26, 2026 https://patch-diff.githubusercontent.com/smallstep/cli/pull/688#ref-pullrequest-3840966958
Add --non-interactive flag and improve TTY detection #1553 https://patch-diff.githubusercontent.com/smallstep/cli/pull/1553
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsmallstep%2Fcli%2Fpull%2F688
https://patch-diff.githubusercontent.com/maraino
maraino https://patch-diff.githubusercontent.com/maraino
https://patch-diff.githubusercontent.com/smallstep/cli/pull/688/files/e80377e19551b6c9d50ab70394f0eca076338c8f
https://patch-diff.githubusercontent.com/dopey
dopey https://patch-diff.githubusercontent.com/dopey
https://patch-diff.githubusercontent.com/azazeal
azazeal https://patch-diff.githubusercontent.com/azazeal
needs triage https://patch-diff.githubusercontent.com/smallstep/cli/issues?q=state%3Aopen%20label%3A%22needs%20triage%22
Please reload this pagehttps://patch-diff.githubusercontent.com/smallstep/cli/pull/688
https://patch-diff.githubusercontent.com/hslatman
https://patch-diff.githubusercontent.com/tashian
https://patch-diff.githubusercontent.com/dopey
https://patch-diff.githubusercontent.com/maraino
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.