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

Option to persist credentials in plain text on init when there is no keyring #673

Open
benjiwolff opened this issue Mar 4, 2025 · 1 comment

Comments

@benjiwolff
Copy link

benjiwolff commented Mar 4, 2025

I am running backups on a system without a keyring. Whenever I initialize a repository with b2 storage and enabled encryption, I have to enter three different secrets

  • b2_id
  • b2_key
  • password

Then, when I backup, I have to enter those credentials again. For automated backups, I follow the steps for managing passwords in the preferences file (plain text).

However, when setting up many repositories, entering the three secrets a second time is cumbersome and error prone.

I would greatly appreciate an option -store-credentials-in-plain-text (or similar) on the init command, that does the three set -key .. -value .. commands for me.

@brianbillman
Copy link

What type of system are you running it on? I had a similar issue on a Synology, which didn't have typical linux keyring, and I solved it by using keyctl to store the secrets and then using a script to read them and export as environment variables prior to the duplicacy commands being run. Here's some more info on it in case it may be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants