V12.1.2 Salary Slips Encrypt Not Working

As per the title, I was testing the salary slip encryption and I realized it is not working. I managed to open the PDF Salary Slip in my email without the need of any password.

I set the password policy as shown below: