I am trying to open a PDF file in Python using PyPDF2 but I am getting an exception that the file has bot been decrypted. I am able to open the PDF manually Can you please suggest me ways in which I can decrypt the file programmatically without a password
            Asked
            
        
        
            Active
            
        
            Viewed 354 times
        
    0
            
            
        - 
                    1is the pdf password protected, or not? – ksbg Aug 07 '19 at 10:55
- 
                    Share us what you have done so far. We cannot help you until we have a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example). – CodeIt Aug 07 '19 at 10:57
- 
                    If the file is encrypted with a password that you don't know, it's safe enough to assume that you won't be able to decrypt it in a reasonable amount of time, unless you've found a flaw in the encryption mechanism or have a supercomputer to brute-force the password. – ForceBru Aug 07 '19 at 10:58
- 
                    Possible duplicate of [PyPDF 2 Decrypt Not Working](https://stackoverflow.com/questions/26242952/pypdf-2-decrypt-not-working) – CodeIt Aug 07 '19 at 11:00
- 
                    No the PDF is not password protected – Nidhi Aug 07 '19 at 15:53
