nrhirani / node-qpdf

A Content Preserving transformations on PDFs wrapped around QPDF
MIT License
51 stars 54 forks source link

File restrictions not working properly #18

Open aim878 opened 3 years ago

aim878 commented 3 years ago

var options = { keyLength: 256, password: '12345', outputFile: '', restrictions: { modify: 'none', extract: 'n' } var doc = await qpdf.encrypt(${fileLocation}.pdf, options)

when we tried the output file to edit, it is editable