PasswordError Traceback (most recent call last)
/tmp/ipykernel_1307/1260578536.py in <cell line: 0>()
5 os.makedirs('temp', exist_ok=True)
6
----> 7 pdf = pikepdf.open('/content/credit-report.pdf', allow_overwriting_input=True)
8 pdf.save('temp/unlocked.pdf')
/usr/local/lib/python3.12/dist-packages/pikepdf/_methods.py in open(filename_or_stream, password, hex_password, ignore_xref_streams, suppress_warnings, attempt_recovery, inherit_page_attributes, access_mode, allow_overwriting_input)
529 try:
530 check_stream_is_usable(stream)
--> 531 pdf = Pdf._open(
532 stream,
533 password=password,
PasswordError: /content/credit-report.pdf: invalid password

PasswordError Traceback (most recent call last)
/tmp/ipykernel_1307/1260578536.py in <cell line: 0>()
5 os.makedirs('temp', exist_ok=True)
6
----> 7 pdf = pikepdf.open('/content/credit-report.pdf', allow_overwriting_input=True)
8 pdf.save('temp/unlocked.pdf')
/usr/local/lib/python3.12/dist-packages/pikepdf/_methods.py in open(filename_or_stream, password, hex_password, ignore_xref_streams, suppress_warnings, attempt_recovery, inherit_page_attributes, access_mode, allow_overwriting_input)
529 try:
530 check_stream_is_usable(stream)
--> 531 pdf = Pdf._open(
532 stream,
533 password=password,
PasswordError: /content/credit-report.pdf: invalid password