Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix special case when key expires in between the checks of the public and privat... #1

Open
github-actions bot opened this issue Jul 11, 2023 · 0 comments
Labels

Comments

@github-actions
Copy link

keys. Suggestion: allow a couple of retries.

https://api.github.com/elixir-europe/crypt4gh-recryptor-service/blob/581ca1c075db334fcfae6357bfbf3e1d1dae2a50/src/crypt4gh_recryptor_service/compute.py#L51

            settings.private_key_comment,
            verbose=settings.dev_mode)
    elif existing_key_files == 1:
        # TODO: Fix special case when key expires in between the checks of the public and private
        #       keys. Suggestion: allow a couple of retries.
        raise Exception('Only one of the compute node public/private keypair files exists!'
                        f' Key id: {compute_public_key_file.key_id}')
    else:
@github-actions github-actions bot added the todo label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants