Skip to content

Instantly share code, notes, and snippets.

@sogaiu
Last active September 19, 2025 06:34
Show Gist options
  • Select an option

  • Save sogaiu/f8e8c73232aebfed794efd713e7b4475 to your computer and use it in GitHub Desktop.

Select an option

Save sogaiu/f8e8c73232aebfed794efd713e7b4475 to your computer and use it in GitHub Desktop.
pdfs and passwords

linux and windows

  • libreoffice - exporting pdfs allows password setting (so in combination with opening a pdf in libreoffice first might be an option)
  • qpdf - password entry via command line unfortunate -- some versions allow entry via prompt (but exposed?)
    • --password-file=... (can use - for stdin?)
    • issue
    • post

windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment