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

windows: not asking for password when using backup command #1153

Closed
kkettinger opened this issue May 15, 2024 · 2 comments
Closed

windows: not asking for password when using backup command #1153

kkettinger opened this issue May 15, 2024 · 2 comments
Labels
S-triage Status: Waiting for a maintainer to triage this issue/PR

Comments

@kkettinger
Copy link

kkettinger commented May 15, 2024

It seems that when you use the backup command under windows, you are not prompted for the password:

D:\Tmp\rustic>rustic init -r repo
[INFO] using no config file, none of these exist: C:\Users\kk\AppData\Roaming\rustic\config\rustic.toml, C:\ProgramData\rustic\config\rustic.toml, .\rustic.toml
enter password for new key: [hidden]
[INFO] key 1e2b821d successfully added.
[INFO] repository d88d1b15 successfully created.
[INFO] using cache at C:\Users\kk\AppData\Local\rustic\d88d1b1554269c71c927bc2d761c85cad1e71713bfbb3b72f9685c1c07662953

D:\Tmp\rustic>rustic -r repo backup test
[INFO] using no config file, none of these exist: C:\Users\kk\AppData\Roaming\rustic\config\rustic.toml, C:\ProgramData\rustic\config\rustic.toml, .\rustic.toml
error: No password given. Please use one of the --password-* options.

Looking at the documentation, you should be prompted when using the backup command. Also, I don't see any way to force rustic to prompt me for the password.

I'm using rustic 0.7.0 installed with cargo under windows 10.

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label May 15, 2024
@aawsome
Copy link
Member

aawsome commented May 16, 2024

Thank you for opening this issue @kkettinger!
I think this has been already fixed in #1061. Can you please test the nightly build?

@kkettinger
Copy link
Author

@aawsome It works when building it directly from main, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-triage Status: Waiting for a maintainer to triage this issue/PR
Projects
None yet
Development

No branches or pull requests

2 participants