Compare commits
No commits in common. "80b1155d2a4af7939c6bb747e874833147c45944" and "e9ef79e80b2cc24815a29c1497a5199400e8693f" have entirely different histories.
80b1155d2a
...
e9ef79e80b
3 changed files with 4 additions and 8 deletions
|
|
@ -1,9 +1,3 @@
|
||||||
## 0.1.0a12 (2025-02-19)
|
|
||||||
|
|
||||||
### Fix
|
|
||||||
|
|
||||||
- MOCK
|
|
||||||
|
|
||||||
## 0.1.0a11 (2025-02-19)
|
## 0.1.0a11 (2025-02-19)
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rougail.user_data_bitwarden"
|
name = "rougail.user_data_bitwarden"
|
||||||
version = "0.1.0a12"
|
version = "0.1.0a11"
|
||||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
description = "Rougail user_data Bitwarden"
|
description = "Rougail user_data Bitwarden"
|
||||||
|
|
|
||||||
|
|
@ -158,7 +158,9 @@ class RougailUserDataBitwarden:
|
||||||
self.errors.append(_('the default value for "{0}" must be the Bitwarden item name').format(path))
|
self.errors.append(_('the default value for "{0}" must be the Bitwarden item name').format(path))
|
||||||
return None, None
|
return None, None
|
||||||
if 'ROUGAIL_BITWARDEN_MOCK_ENABLE' in environ:
|
if 'ROUGAIL_BITWARDEN_MOCK_ENABLE' in environ:
|
||||||
return ['example_login'], 'Ex4mpL3_P4ssw0rD'
|
if type_ == 'secret':
|
||||||
|
return 'Ex4mpL3_P4ssw0rD'
|
||||||
|
return 'example_login'
|
||||||
try:
|
try:
|
||||||
data = self.get_key_from_commandline(key_bitwarden, allow_multiple)
|
data = self.get_key_from_commandline(key_bitwarden, allow_multiple)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue