Skip to content

Commit c1c37fb

Browse files
authored
Merge pull request #1 from codewhitesec/develop
v1.0.2 Release
2 parents d6cf5f4 + 857db87 commit c1c37fb

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9+
## v1.0.2 - Jan 12, 2024
10+
11+
### Changed
12+
13+
* Fixed handling of tokens without issuer
14+
15+
916
## v1.0.1 - Oct 13, 2023
1017

1118
### Changed

qubes-yubioath-dom0.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
YUBI_QUBE='vault'
5+
VERSION='qubes-yubioath v1.0.2'
56

67

78
function get_id() {

qubes-yubioath.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@ def select_credential(creds: list[Credential], qube: str) -> Credential:
4343

4444
for cred in creds:
4545

46-
line = cred.issuer.ljust(20)
46+
issuer = cred.issuer or 'Unknown'
47+
48+
line = issuer.ljust(20)
4749
line += cred.name
4850

4951
try:
50-
icon_path = Path(Config.get(cred.issuer))
52+
icon_path = Path(Config.get(issuer))
5153

5254
if icon_path.is_file():
5355
line += f'\x00icon\x1f{icon_path}'
@@ -391,7 +393,7 @@ def main():
391393
'''
392394
Main method :)
393395
'''
394-
parser = argparse.ArgumentParser(description='''qubes-yubioath v1.0.0 - A rofi based yubikey OTP frontend for Qubes''')
396+
parser = argparse.ArgumentParser(description='''qubes-yubioath v1.0.2 - A rofi based yubikey OTP frontend for Qubes''')
395397
parser.add_argument('qube', help='qube to copy the credential to')
396398
parser.add_argument('--config', help='path to the configuration file')
397399
args = parser.parse_args()

0 commit comments

Comments
 (0)