Skip to content

Allow secure lua in restricted mode in pdflatex #78

@tobiasBora

Description

@tobiasBora

I'd prefer to code libraries in lua while maintaining compatibility with pdflatex, without shell-escape. While it may be possible to implement a lua interpreter in pure latex, it would be significantly simpler and more efficient if a restricted lua environment (with os.execute restricted to allowed binaries, write access allowed only in the current folder etc) would be available in restricted mode.

So I have a few questions/requests:

  1. In lualatex, how do you restrict lua when it is run in restricted mode (no shell escape)? Is there a way to start a lua interpreter in the same mode as the one used in lualatex easily?
  2. Would you agree to move this lua interpreter to the allowed list of packages?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions