lava-tool auth-add fails without the keyring passwd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Tool |
Fix Released
|
High
|
Unassigned |
Bug Description
lava-tool auth-add does not work on the ec2 instances when the keyring passwd is not specified.
The error is given below:
lava-tool auth-add --token-file token_file_
Please input your password for the keyring
Password:
Wrong password for the keyring.
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
run_
File "/usr/lib/
raise SystemExit(
File "/usr/lib/
return command.invoke()
File "/usr/lib/
self.
File "/usr/lib/
"lava-tool-%s" % endpoint_url, username, token)
File "/usr/lib/
return _keyring_
File "/usr/lib/
password_
File "/usr/lib/
crypter = self._init_
File "/usr/lib/
raise ValueError("Wrong password")
ValueError: Wrong password
There is no passwd which is available that could be passed as keyring passwd.
I need lava-tool auth-add to work without asking for the keyring passwd.
Thanks!!!
Deepti.
Changed in lava-tool: | |
status: | Triaged → Fix Released |
14:30 < asac_> zyga: ok so guess keyringrc.cfg in cwd or ~ would do it with keyring= keyring. backend. UncryptedFileKe yring /bitbucket. org/kang/ python- keyring- lib/src/ a0e2e10bd1b4/ keyring/ backend. py#cl-331
14:31 < zyga> asac_, looking up the unencrypted backend name
14:30 < asac_> [backend]
14:31 < asac_> default-
...
14:32 < zyga> it will store the password in 'keyring_pass.cfg' as specified here https:/