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

[Feature request] Starting new sessions without asking for password #48

Open
alexcoder04 opened this issue Jul 24, 2022 · 0 comments
Open
Labels
enhancement New feature or request verified Indicates that this issue is verified, so further triage can happen
Milestone

Comments

@alexcoder04
Copy link
Contributor

Description

Some kind of "magic cookie" or local socket for LeoConsole instances to communicate between each other and enable starting new LC instances without typing the password / setting specific paramaters (as working dir).

Intended Use-Case

I am developing a file manager plugin (https://github.com/alexcoder04/LeoConsole-file-manager) which starts an external program (lf) as a file manager. I had the idea to create a built-in terminal in this file manager (a LeoConsole shell, of course), which would pop up on a key binding if you navigated to a directory:

start LeoConsole -> use "fm" (file manager) command -> file manager (lf) spawns -> navigate to directory of interest -> press "t" (for terminal) -> LeoConsole instance opens in this directory

However, it is annoying to type in the password and username again and cd to this directory manually.

Additional context

Magic cookie idea:

When LeoConsole starts, it generates a random ID for the session, which expires after some amount of time. It can be then used for automatic authentification instead of a password.

However, I don't know what security problems could emerge out of this feature and how exactly it show be implemented.

PS: maybe at least a command-line argument for working directory or setting the working directory from the OS environment ($PWD on Linux)?

@alexcoder04 alexcoder04 added enhancement New feature or request needs-verification Indicates that this issue needs to be verified before further triage will happen labels Jul 24, 2022
@BoettcherDasOriginal BoettcherDasOriginal added verified Indicates that this issue is verified, so further triage can happen and removed needs-verification Indicates that this issue needs to be verified before further triage will happen labels Aug 2, 2022
@BoettcherDasOriginal BoettcherDasOriginal added this to the Future milestone Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request verified Indicates that this issue is verified, so further triage can happen
Projects
None yet
Development

No branches or pull requests

2 participants