Skip to content

Commit

Permalink
Merge pull request #1 from codewhitesec/develop
Browse files Browse the repository at this point in the history
v1.0.2 Release
  • Loading branch information
cwdel authored Jan 12, 2024
2 parents d6cf5f4 + 857db87 commit c1c37fb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## v1.0.2 - Jan 12, 2024

### Changed

* Fixed handling of tokens without issuer


## v1.0.1 - Oct 13, 2023

### Changed
Expand Down
1 change: 1 addition & 0 deletions qubes-yubioath-dom0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


YUBI_QUBE='vault'
VERSION='qubes-yubioath v1.0.2'


function get_id() {
Expand Down
8 changes: 5 additions & 3 deletions qubes-yubioath.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ def select_credential(creds: list[Credential], qube: str) -> Credential:

for cred in creds:

line = cred.issuer.ljust(20)
issuer = cred.issuer or 'Unknown'

line = issuer.ljust(20)
line += cred.name

try:
icon_path = Path(Config.get(cred.issuer))
icon_path = Path(Config.get(issuer))

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

0 comments on commit c1c37fb

Please sign in to comment.