Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Extension Idea] Password Manager integration #11641

Open
FWest98 opened this issue Oct 28, 2021 · 3 comments
Open

[Extension Idea] Password Manager integration #11641

FWest98 opened this issue Oct 28, 2021 · 3 comments
Labels
Area-Extensibility A feature that would ideally be fulfilled by us having an extension model. Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Product-Terminal The new Windows Terminal.
Milestone

Comments

@FWest98
Copy link
Contributor

FWest98 commented Oct 28, 2021

Description of the new feature/enhancement

An extension idea would be to allow for password manager integration, for example through the command pallette or a hotkey. After searching the entry to fill out (in a command pallette-alike dropdown with search) it would then fill out the username, password, or any other field. Some password managers like 1Password already have some form of desktop integration, but it's not excellent. Native incorporation in Windows Terminal would be amazing.

Proposed technical implementation details (optional)

We will probably first need extension support for this, but then it should be relatively easy.

@FWest98 FWest98 added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Oct 28, 2021
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Oct 28, 2021
@zadjii-msft
Copy link
Member

Theoretically, you wouldn't need an extension for this. You could just manually fill in commands like:

{ "command": { "action": "sendInput", "input": "hunter2\r" }, "keys":"ctrl+p", "name": "input my password" },
{ "command": { "action": "sendInput", "input": "FWest98\rhunter2\r" }, "keys":"ctrl+u", "name": "input my username AND password" },

Though, that would have the passwords stored in plaintext, which I can't in good faith recommend doing 😄

So this is a decent case for an extension being able to supply them as an API call to the extension binary, rather than writing them to a file.

Okay I've talked myself into leaving this on the extension proposals list. I've already had a mind to do something similar with "commands provided by an extension", but this proves the use case for having them not exclusively provided via a file. Thanks!

@zadjii-msft zadjii-msft added Area-Extensibility A feature that would ideally be fulfilled by us having an extension model. Product-Terminal The new Windows Terminal. labels Nov 16, 2021
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Nov 16, 2021
@zadjii-msft zadjii-msft added this to the Terminal Backlog milestone Nov 16, 2021
@zadjii-msft zadjii-msft removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Feb 17, 2022
@flashadvocate
Copy link

Password management functionality would be amazing!

@sarim
Copy link
Contributor

sarim commented Mar 15, 2023

I would also like this extension to be able to automatically provide context to password manager. Like I'm ssh'ed into mango server, and there I'm getting sudo prompt for gittu user. So terminal extension would automatically detect that I'm getting prompt for password and ask password manager for password for gittu on mango, then optionally a confirmation dialog and password would be autofilled and entered.

I manage several machines via ssh (all nicknamed and keyed in .ssh) and each time I have to write different password for different users on different machines (most commonly for sudo), it's kinda bothersome. Would be a huge QOL impromenvent if an extension can input that automatically. And I guess many other people also have this type of workflow.

Sorry for the premature ping, I know extension support in terminal is quite far away. I've been thinking about this for quite some time, and wanted to throw the idea out there. I have a naughtily idea to fork and hack main code to put together a solution, anyone would like to join?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Extensibility A feature that would ideally be fulfilled by us having an extension model. Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

4 participants