Compare commits

..

2 commits

Author SHA1 Message Date
80b1155d2a bump: version 0.1.0a11 → 0.1.0a12 2025-02-19 09:14:00 +01:00
65e318e883 fix: MOCK 2025-02-19 09:13:55 +01:00
3 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,9 @@
## 0.1.0a12 (2025-02-19)
### Fix
- MOCK
## 0.1.0a11 (2025-02-19) ## 0.1.0a11 (2025-02-19)
### Fix ### Fix

View file

@ -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.0a11" version = "0.1.0a12"
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"

View file

@ -158,9 +158,7 @@ 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:
if type_ == 'secret': return ['example_login'], 'Ex4mpL3_P4ssw0rD'
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: