Skip to content

Commit

Permalink
fix missing pubkey for bulk encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
JLoveUOA committed Aug 22, 2024
1 parent beafabd commit 72bc678
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ def print_lab( # pylint: disable=too-many-statements
env_config = MyTardisEnvConfig(_env_prefix=env_prefix) # type: ignore
mt_user = mt_user if mt_user else env_config.auth.username
mt_api_key = mt_api_key if mt_api_key else env_config.auth.api_key
pubkey_fingerprints.append(env_config.mytardis_pubkey.key)
if env_config.mytardis_pubkey.key:
pubkey_fingerprints.append(env_config.mytardis_pubkey.key)
logger.info("Loading MyTardis API agent")
if mt_user and mt_api_key:
auth_config = AuthConfig(username=mt_user, api_key=mt_api_key)
Expand Down

0 comments on commit 72bc678

Please sign in to comment.