LeoConsole is a terminal with many features! It allows you to quickly and easily program smaller or larger console functions or use those of others. It is written in C# 10 under .NET 6
GNU General Public License v3.0
2
stars
0
forks
source link
[Feature request] Starting new sessions without asking for password #48
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)?
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)?