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

Added cryptography-based fallback when NaCL import fails #1225

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

qstokkink
Copy link
Collaborator

@qstokkink qstokkink commented Oct 14, 2023

Fixes #1224 (fixes Windows, MacOS crashes due to other unknown reasons)

This PR:

  • Adds a python-cryptography-based fallback for when libnacl is not found on the system (notably during our validation's matrix tests).
  • Adds a type filter for the issue comment trigger (this should stop the validation being run when comments are deleted).
  • Removes macos-latest from the validation testing matrix.

I'll create a new issue for MacOS.

@qstokkink
Copy link
Collaborator Author

qstokkink commented Oct 14, 2023

This comment should not trigger any action :-)

EDIT: but it kind-of did: https://github.com/Tribler/py-ipv8/actions/runs/6518071897/job/17703147864
EDIT2: Actually, it reran because another comment was deleted with the content "validate".
EDIT3: Fixed in this PR.

@qstokkink
Copy link
Collaborator Author

validate

@qstokkink qstokkink changed the title WIP: Added cryptography-based fallback when NaCL import fails READY: Added cryptography-based fallback when NaCL import fails Oct 15, 2023
@qstokkink qstokkink marked this pull request as ready for review October 15, 2023 11:17
@qstokkink qstokkink changed the title READY: Added cryptography-based fallback when NaCL import fails Added cryptography-based fallback when NaCL import fails Oct 16, 2023
@qstokkink qstokkink merged commit c44b481 into Tribler:master Oct 16, 2023
8 checks passed
@qstokkink qstokkink deleted the add_nacl_fail_fallback branch October 16, 2023 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Validation action doesn't install OS-level libsodium
2 participants