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

Email and password printed out in terminal #110

Closed
eeko-kon opened this issue Mar 22, 2023 · 2 comments
Closed

Email and password printed out in terminal #110

eeko-kon opened this issue Mar 22, 2023 · 2 comments
Assignees
Labels
fixed v5.6.4 indicates that a bug or feature request has been fixed in v5.6.4

Comments

@eeko-kon
Copy link

Hi!

Is there a way to avoid/suppress printing out both the email and password arguments in the terminal using the CLI?

command:

sirius login --email=**@**.dtu.dk --password=****

output on terminal:

INFO 22:26:38 - Running with following arguments: [login, --email=***@**.dtu.dk, --password=****]

Thank you:)

@mfleisch mfleisch self-assigned this Mar 23, 2023
@mfleisch
Copy link
Contributor

Hey Efi,
thanks for reporting. I agree we should not print the commands for the login subtool and we will change this in the next release.

You can get around this problem as follows:

The password parameter is should to be used als interactive parameter in the terminal:
sirius login [email protected] --password
Otherwise the password may be added to the terminal history.

For use in automated workflows username and password can be loaded from environment variables.
sirius login --user-env=USER_ENV --password=PW_ENV
In that case you can simply use the environment variable name and must not expand it.
The output would then look like this [login, --user-env=USER_ENV, --password-env=PW_ENV].

@mfleisch mfleisch added the fixed v5.6.4 indicates that a bug or feature request has been fixed in v5.6.4 label Mar 23, 2023
@eeko-kon
Copy link
Author

Ah super! Thank you so much.

mfleisch pushed a commit that referenced this issue Aug 2, 2024
…ependently-of-length' into 'master'

Resolve "Prioritize custom db names over remote db names independently of length"

Closes #110

See merge request bright-giant/sirius/sirius-libs!70
mfleisch pushed a commit that referenced this issue Aug 2, 2024
…mono-repo' into 'master'

Resolve "Merge sirius-libs into sirius-frontend to create a mono repo."

Closes #300, #132, #126, #123, #128, #125, #127, #124, #122, #121, #120, #109, #115, #106, #99, #112, #111, #61, #110, #103, #108, #107, #104, #221, #102, #98, #198, #92, #94, #93, #85, #84, #87, #76, #56, #73, #32, #70, #65, #43, #63, #33, #53, #58, #59, #57, #54, #52, #41, #47, #50, #49, #48, #39, #46, #37, #38, #27, #34, #22, #31, #28, #18, #23, #21, #19, #9, #240, #280, #254, #242, #246, #238, #156, #25, #155, #189, #172, #154, #11, #6, #16, and #4

See merge request bright-giant/sirius/sirius-frontend!106
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed v5.6.4 indicates that a bug or feature request has been fixed in v5.6.4
Projects
None yet
Development

No branches or pull requests

2 participants