This is an old repo.... jsreport has now in the default installation the native js implemented password protection. Just install the latest jsreport and check the docs
https://jsreport.net/on-prem
https://jsreport.net/learn/pdf-utils#password-protection