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

feat!: force users to explicitly enable code execution #276

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

mfontanini
Copy link
Owner

This changes the code snippet execution so that it is disabled by default and users need to opt in by either:

  • Running presenterm with the -x flag.
  • Set the snippet.exec.enable property to true in their config files.

This aims to make running untrusted presentations more secure. You can always set the property in your config file if you only ever run your own presentations, but by default this prevents opening a presentation someone else wrote and accidentally executing code in one of the slides that does something malicious.

@mfontanini mfontanini merged commit 041a83f into master Jul 3, 2024
6 checks passed
@mfontanini mfontanini deleted the feat/explicit-enable-code-execution branch July 3, 2024 13:40
This was referenced Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant