Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 786380 Details for
Bug 853130
dev-python/PyPDF2-2.3.1 fails tests: PyPDF2.errors.DependencyError: PyCryptodome is required for AES algorithm
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 146.68 KB, created by
Agostino Sarubbo
on 2022-06-20 06:00:36 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2022-06-20 06:00:36 UTC
Size:
146.68 KB
patch
obsolete
> * Package: dev-python/PyPDF2-2.3.1 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo/gentoo/commit/2670dcf22431f24a3022ad4f82012d374c7098a5 (Sun Jun 19 18:15:52 UTC 2022) >@@@@@ END @@@@@ > > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This ebuild was merged (directly or as a dependency) because of the following commit: >https://github.com/gentoo/gentoo/commit/a224f57a383d0e033671d6231b36fcecb8d11584 >@@@@@ END @@@@@ > > > >################## ># emerge --info: # >################## >Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1, gcc-11.3.0, glibc-2.35-r7, 4.19.174-gentoo x86_64) >================================================================= >System uname: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.35 >KiB Mem: 264031016 total, 101225836 free >KiB Swap: 0 total, 0 free >sh bash 5.1_p16 >ld GNU ld (Gentoo 2.38 p4) 2.38 >app-misc/pax-utils: 1.3.4::gentoo >app-shells/bash: 5.1_p16::gentoo >dev-lang/perl: 5.36.0::gentoo >dev-lang/python: 3.8.13_p2::gentoo, 3.9.13::gentoo, 3.10.5::gentoo, 3.11.0_beta3::gentoo >dev-util/cmake: 3.23.2::gentoo >dev-util/meson: 0.62.2::gentoo >sys-apps/baselayout: 2.8::gentoo >sys-apps/openrc: 0.45.1::gentoo >sys-apps/sandbox: 2.29::gentoo >sys-devel/autoconf: 2.71-r1::gentoo >sys-devel/automake: 1.16.5::gentoo >sys-devel/binutils: 2.38-r2::gentoo >sys-devel/binutils-config: 5.4.1::gentoo >sys-devel/gcc: 11.3.0::gentoo >sys-devel/gcc-config: 2.5-r1::gentoo >sys-devel/libtool: 2.4.7::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.18-r1::gentoo (virtual/os-headers) >sys-libs/glibc: 2.35-r7::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-jobs: 1 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* BSD-2" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >DISTDIR="/var/tmp/portage/dev-python/PyPDF2-2.3.1/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" >LANG="en_US.utf8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >MAKEOPTS="-j46" >PKGDIR="/root/tbci/binpkg" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >SHELL="/bin/bash" >USE="acl amd64 bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_8 python3_9 python3_10" USERLAND="GNU" >Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS > > > > > >############################## ># emerge history (qlop -mv): # >############################## >2022-06-19T21:57:14 >>> media-libs/libjpeg-turbo-2.1.3 >2022-06-19T21:57:16 >>> dev-python/typing-extensions-4.2.0 >2022-06-19T21:57:18 >>> dev-python/iniconfig-1.1.1-r1 >2022-06-19T21:57:20 >>> dev-python/pluggy-1.0.0-r2 >2022-06-19T21:57:23 >>> dev-python/py-1.11.0-r1 >2022-06-19T21:57:25 >>> dev-python/zope-interface-5.4.0-r2 >2022-06-19T21:57:29 >>> dev-lang/nasm-2.15.05 >2022-06-19T21:57:27 >>> dev-python/olefile-0.46-r2 >2022-06-19T21:57:59 >>> dev-python/attrs-21.4.0-r1 >2022-06-19T21:58:06 >>> dev-python/pillow-9.1.1 >2022-06-19T21:58:13 >>> dev-python/pytest-7.1.2 > > > > >####################################### ># installed packages (qlist -ICvUSS): # >####################################### >acct-group/audio-0-r1:0 >acct-group/cdrom-0-r1:0 >acct-group/dialout-0-r1:0 >acct-group/disk-0-r1:0 >acct-group/input-0-r1:0 >acct-group/kmem-0-r1:0 >acct-group/kvm-0-r1:0 >acct-group/lp-0-r1:0 >acct-group/man-0-r1:0 >acct-group/messagebus-0-r1:0 >acct-group/polkitd-0-r1:0 >acct-group/portage-0:0 >acct-group/render-0-r1:0 >acct-group/sgx-0:0 >acct-group/sshd-0-r1:0 >acct-group/tape-0-r1:0 >acct-group/tty-0-r1:0 >acct-group/video-0-r1:0 >acct-user/man-1-r1:0 >acct-user/messagebus-0-r1:0 >acct-user/polkitd-0-r1:0 >acct-user/portage-0:0 >acct-user/sshd-0-r1:0 >app-admin/eselect-1.4.20:0 -doc -emacs -vim-syntax >app-admin/perl-cleaner-2.30:0 >app-arch/bzip2-1.0.8-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static -static-libs -verify-sig >app-arch/gzip-1.12:0 -pic -static -verify-sig >app-arch/libarchive-3.6.1:0/13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -blake2 bzip2 e2fsprogs -expat iconv -lz4 lzma -lzo -nettle -static-libs -verify-sig xattr -zstd >app-arch/tar-1.34:0 acl -minimal nls -selinux -verify-sig xattr >app-arch/unzip-6.0_p26:0 bzip2 -natspec unicode >app-arch/xz-utils-5.2.5-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 extra-filters nls split-usr -static-libs -verify-sig >app-arch/zstd-1.5.2-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -lz4 split-usr -static-libs threads >app-crypt/gnupg-2.3.6:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server >app-crypt/gpgme-1.17.1-r1:1/11.6.15 -common-lisp cxx -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -qt5 -static-libs -test -verify-sig >app-crypt/libb2-0.98.1-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -native-cflags openmp -static-libs >app-crypt/libmd-1.0.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >app-crypt/pinentry-1.2.0-r1:0 -caps -efl -emacs -gnome-keyring -gtk ncurses -qt5 >app-crypt/rhash-1.4.3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug nls ssl -static-libs >app-editors/nano-6.3:0 -debug -justify -magic -minimal ncurses nls spell split-usr -static unicode >app-eselect/eselect-fontconfig-20220403:0 >app-eselect/eselect-lib-bin-symlink-0.1.1-r1:0 >app-eselect/eselect-pinentry-0.7.2:0 >app-i18n/man-pages-ja-20180315-r1:0 >app-i18n/man-pages-l10n-4.14.0:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_sr l10n_sv l10n_uk l10n_vi >app-i18n/man-pages-ru-5.03.2390.2390.20191017-r1:0 >app-i18n/man-pages-zh_CN-1.6.3.6:0 >app-misc/c_rehash-1.7-r1:0 >app-misc/ca-certificates-20211016.3.79:0 -cacert >app-misc/editor-wrapper-4-r1:0 >app-misc/mime-types-2.1.53:0 -nginx >app-misc/pax-utils-1.3.4:0 -caps -debug -python -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 seccomp >app-misc/tmux-3.3a:0 -debug -selinux -systemd -utempter -vim-syntax >app-portage/eix-0.36.3:0 -debug -doc nls -sqlite >app-portage/elt-patches-20211104:0 >app-portage/gemato-16.2:0 gpg python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test -tools >app-portage/gentoolkit-0.5.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >app-portage/portage-utils-0.94.1:0 nls openmp qmanifest qtegrity -static >app-shells/bash-5.1_p16:0 -afs -bashlogger -examples -mem-scramble net nls -plugins readline -verify-sig >app-shells/bash-completion-2.11:0 eselect -test >app-shells/gentoo-bashcomp-20190211:0 >app-shells/push-3.4:0 >app-shells/quoter-4.2:0 >app-text/ansifilter-2.18:0 -qt5 >app-text/build-docbook-catalog-2.3:0 >app-text/docbook-xml-dtd-4.5-r2:4.5 >app-text/docbook-xml-dtd-4.4-r3:4.4 >app-text/docbook-xml-dtd-4.2-r3:4.2 >app-text/docbook-xml-dtd-4.1.2-r7:4.1.2 >app-text/docbook-xsl-stylesheets-1.79.1-r2:0 -ruby >app-text/manpager-1:0 >app-text/opensp-1.5.2-r7:0 -doc nls -static-libs -test >app-text/po4a-0.66:0 -test -test >app-text/sgml-common-0.6.3-r7:0 >app-text/xmlto-0.0.28-r8:0 -latex text >dev-db/sqlite-3.38.5:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools >dev-lang/duktape-2.7.0-r1:0/2.7.0 >dev-lang/nasm-2.15.05:0 -doc >dev-lang/perl-5.36.0:0/5.36 -berkdb -debug -doc gdbm ithreads -minimal -quadmath >dev-lang/python-3.11.0_beta3:3.11 -bluetooth -build -examples gdbm -hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig -wininst >dev-lang/python-3.10.5:3.10 -bluetooth -build -examples gdbm -hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig -wininst xml >dev-lang/python-3.9.13:3.9 -bluetooth -build -examples gdbm -hardened -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig -wininst xml >dev-lang/python-3.8.13_p2:3.8 -bluetooth -build -examples gdbm -hardened ncurses readline sqlite ssl -test -tk -verify-sig -wininst xml >dev-lang/python-exec-2.4.9:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-lang/python-exec-conf-2.4.6:2 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 >dev-lang/tcl-8.6.12:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug threads >dev-libs/boehm-gc-8.0.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx large -static-libs threads >dev-libs/elfutils-0.187:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma nls -static-libs -test -threads utils -valgrind -verify-sig -zstd >dev-libs/expat-2.4.8:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples -static-libs unicode >dev-libs/glib-2.72.2:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -dbus -debug elf -fam -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr >dev-libs/gmp-6.2.1-r2:0/10.4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cxx -doc -pic -static-libs >dev-libs/gobject-introspection-1.72.0:0 -doctool -gtk-doc -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 -test >dev-libs/gobject-introspection-common-1.72.0:0 >dev-libs/isl-0.24-r2:0/23 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/jsoncpp-1.9.5:0/25 -doc -test >dev-libs/libassuan-2.5.5:0 >dev-libs/libatomic_ops-7.6.12:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >dev-libs/libbsd-0.11.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig >dev-libs/libevent-2.1.12:0/2.1-7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 clock-gettime -debug -malloc-replacement ssl -static-libs -test threads -verbose-debug >dev-libs/libffi-3.4.2-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -exec-static-trampoline -experimental-loong -pax-kernel -static-libs -test >dev-libs/libffi-compat-3.3-r2:7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -pax-kernel -test >dev-libs/libgcrypt-1.10.1-r1:0/20 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 -cpu_flags_x86_padlock -cpu_flags_x86_sha cpu_flags_x86_sse4_1 -doc -static-libs -verify-sig >dev-libs/libgpg-error-1.45:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -common-lisp nls -static-libs -test >dev-libs/libksba-1.6.0:0 -static-libs >dev-libs/libltdl-2.4.7:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/libpcre-8.45-r1:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 cxx jit -libedit pcre16 pcre32 readline split-usr -static-libs unicode zlib >dev-libs/libpcre2-10.40:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 jit -libedit pcre16 pcre32 readline split-usr -static-libs unicode -verify-sig zlib >dev-libs/libpipeline-1.5.6:0 -test >dev-libs/libtasn1-4.18.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -valgrind >dev-libs/libunistring-1.0:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs >dev-libs/libuv-1.44.1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >dev-libs/libxml2-2.9.14-r1:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -examples -icu -lzma python python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 readline -static-libs -test >dev-libs/libxslt-1.1.35:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 crypt -debug -examples -static-libs >dev-libs/lzo-2.10:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs >dev-libs/mpc-1.2.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/mpfr-4.1.0_p13-r1:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/nettle-3.8:0/8-6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec cpu_flags_x86_aes cpu_flags_x86_pclmul -cpu_flags_x86_sha -doc gmp -static-libs -verify-sig >dev-libs/npth-1.6-r1:0 -test >dev-libs/openssl-1.1.1o-r1:0/1.1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpu_flags_x86_sse2 -rfc3779 -sctp -sslv3 -static-libs -test -tls-compression -tls-heartbeat -vanilla -verify-sig -verify-sig -weak-ssl-ciphers >dev-libs/popt-1.18:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs >dev-perl/Devel-CheckLib-1.140.0:0 -test >dev-perl/Encode-EUCJPASCII-0.30.0-r1:0 -test >dev-perl/Encode-HanExtra-0.230.0-r3:0 >dev-perl/Encode-Locale-1.50.0-r1:0 -test >dev-perl/File-BaseDir-0.90.0:0 -test >dev-perl/File-DesktopEntry-0.220.0-r1:0 -test >dev-perl/File-Listing-6.140.0:0 -test >dev-perl/File-MimeInfo-0.300.0:0 -test >dev-perl/HTML-Parser-3.760.0:0 -test >dev-perl/HTML-Tagset-3.200.0-r2:0 >dev-perl/HTTP-Cookies-6.100.0:0 -test >dev-perl/HTTP-Date-6.50.0:0 >dev-perl/HTTP-Message-6.330.0:0 -test -test >dev-perl/HTTP-Negotiate-6.10.0-r2:0 -test >dev-perl/IO-HTML-1.4.0:0 -test >dev-perl/IO-Socket-INET6-2.720.0-r2:0 -test >dev-perl/IO-Socket-SSL-2.74.0:0 -examples -idn -test >dev-perl/IPC-System-Simple-1.300.0:0 -test >dev-perl/libwww-perl-6.600.0-r1:0 ssl -test >dev-perl/Locale-gettext-1.70.0-r1:0 -test >dev-perl/LWP-MediaTypes-6.40.0:0 -test >dev-perl/LWP-Protocol-https-6.100.0:0 -test >dev-perl/MIME-Charset-1.12.2-r1:0 l10n_ja l10n_zh -test >dev-perl/Module-Build-0.423.100:0 -test >dev-perl/Mozilla-CA-20999999-r1:0 -test >dev-perl/Net-HTTP-6.210.0:0 -minimal -test >dev-perl/Net-SSLeay-1.920.0:0 -examples -examples -minimal -test >dev-perl/Pod-Parser-1.630.0-r1:0 -test >dev-perl/SGMLSpm-1.1-r2:0 -test >dev-perl/Socket6-0.290.0:0 -test >dev-perl/Sub-Name-0.260.0:0 -suggested -test >dev-perl/TermReadKey-2.380.0:0 -examples -test >dev-perl/Text-CharWidth-0.40.0-r2:0 -test >dev-perl/Text-WrapI18N-0.60.0-r2:0 -test >dev-perl/TimeDate-2.330.0-r1:0 -test >dev-perl/Try-Tiny-0.310.0:0 -minimal -test >dev-perl/Unicode-LineBreak-2019.1.0:0 >dev-perl/URI-5.100.0:0 -test >dev-perl/WWW-RobotRules-6.20.0-r2:0 -test >dev-perl/XML-Parser-2.460.0-r2:0 >dev-perl/YAML-Tiny-1.730.0-r1:0 -minimal -test >dev-python/appdirs-1.4.4-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 >dev-python/attrs-21.4.0-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/certifi-3021.3.16-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/charset_normalizer-2.0.12:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/flit_core-3.7.1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/gpep517-6-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/idna-3.3-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/importlib_metadata-4.11.4:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/importlib_resources-5.8.0:0 python_targets_pypy3 python_targets_python3_8 -test >dev-python/iniconfig-1.1.1-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/installer-0.5.1-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/jaraco-context-4.1.1-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/jaraco-functools-3.5.0-r2:0 -doc python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/jaraco-text-3.8.0:0 -doc python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/jinja-3.1.2:0 -doc -examples python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/markupsafe-2.1.1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/more-itertools-8.13.0:0 -doc python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/nspektr-0.4.0:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/olefile-0.46-r2:0 -doc python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/ordered-set-4.1.0:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/packaging-21.3-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/pillow-9.1.1:0 -examples -imagequant jpeg -jpeg2k -lcms python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test -test -tiff -tk -truetype -webp -xcb zlib >dev-python/pluggy-1.0.0-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/py-1.11.0-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/pyparsing-3.0.9:0 -examples python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/pypy3-7.3.9_p1:0/pypy39-pp73 bzip2 gdbm jit ncurses -sqlite -test -tk >dev-python/pypy3-exe-bin-7.3.9:3.9-7.3.9 >dev-python/PySocks-1.7.1-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 >dev-python/pytest-7.1.2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/requests-2.28.0:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -socks5 -test >dev-python/setuptools-62.5.0:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/setuptools_scm-6.4.2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/six-1.16.0-r1:0 -doc python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/tomli-2.0.1-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/typing-extensions-4.2.0:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 >dev-python/urllib3-1.26.9-r3:0 -brotli python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/wheel-0.37.1-r1:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/zipp-3.8.0:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-python/zope-interface-5.4.0-r2:0 python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-util/checkbashisms-2.22.1:0 >dev-util/cmake-3.23.2:0 -doc -emacs ncurses -qt5 -test -test -verify-sig >dev-util/desktop-file-utils-0.26-r2:0 -emacs >dev-util/glib-utils-2.72.2:0 -python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_8 python_single_target_python3_9 >dev-util/gperf-3.1:0 >dev-util/gtk-doc-am-1.33.2:0 >dev-util/intltool-0.51.0-r2:0 >dev-util/meson-0.62.2:0 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -test >dev-util/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 >dev-util/ninja-1.11.0:0 -doc -emacs -test -vim-syntax >dev-util/pkgconf-1.8.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -test >dev-util/re2c-2.2:0 -debug -test >dev-vcs/git-2.35.1:0 blksha1 -cgi curl -cvs -doc -gnome-keyring gpg -highlight iconv -mediawiki -mediawiki-experimental nls pcre -perforce -perl -ppcsha1 -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 -selinux -subversion -test threads -tk webdav -xinetd >media-fonts/liberation-fonts-2.1.3:0 -X -X -fontforge >media-gfx/graphite2-1.3.14_p20210810-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -perl -test >media-libs/fontconfig-2.14.0-r1:1.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs -test >media-libs/freetype-2.12.1:2 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adobe-cff -brotli bzip2 cleartype-hinting -debug -doc -fontforge harfbuzz -infinality png -static-libs -svg -utils >media-libs/harfbuzz-4.3.0:0/4.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cairo -debug -doc -experimental glib graphite -icu introspection -test truetype >media-libs/libjpeg-turbo-2.1.3:0/0.2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_neon -java -java -static-libs >media-libs/libpng-1.6.37-r2:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -apng -cpu_flags_arm_neon cpu_flags_x86_sse -static-libs >net-dns/libidn2-2.3.2:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig >net-firewall/iptables-1.8.8-r3:0/1.8.3 -conntrack -netlink -nftables -pcap split-usr -static-libs >net-libs/gnutls-3.7.6:0/30.30 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -brotli cxx -dane -doc -examples -guile idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -valgrind -verify-sig zlib -zstd >net-libs/libmnl-1.0.5:0/0.2.0 -examples -verify-sig >net-libs/libnsl-2.0.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >net-libs/libtirpc-1.3.2:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 ipv6 -kerberos split-usr -static-libs >net-libs/nghttp2-1.47.0:0/1.14 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx -debug -hpack-tools -jemalloc -static-libs -test threads -utils -xml >net-misc/curl-7.83.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -adns -alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls -curl_ssl_nss curl_ssl_openssl ftp -gnutls -gopher -hsts http2 -idn imap ipv6 -kerberos -ldap -mbedtls -nghttp3 -nss openssl pop3 progress-meter -quiche -rtmp -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -threads -verify-sig -zstd >net-misc/dhcpcd-9.4.1:0 -debug embedded ipv6 -privsep udev >net-misc/iputils-20211215:0 arping -caps -clockdiff -doc filecaps -idn nls -rarpd -rdisc -static -test -tracepath >net-misc/netifrc-0.7.3-r1:0 dhcp >net-misc/openssh-9.0_p1-r1:0 -X -X509 -abi_mips_n32 -audit -debug -hpn -kerberos -ldns -libedit -livecd pam pie -sctp -security-key -selinux ssl -static -test -verify-sig -xmss >net-misc/rsync-3.2.4-r2:0 acl -examples iconv ipv6 -lz4 -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 ssl -stunnel -system-zlib -verify-sig xattr -xxhash -zstd >net-misc/wget-1.21.3-r1:0 -cookie-check -debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid -verify-sig zlib >perl-core/File-Temp-0.231.100:0 >sec-keys/openpgp-keys-gentoo-release-20220101:0 -test >sys-apps/acl-2.3.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls split-usr -static-libs >sys-apps/attr-2.5.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug nls split-usr -static-libs >sys-apps/baselayout-2.8:0 -build split-usr >sys-apps/coreutils-9.1-r1:0 acl -caps -gmp -hostname -kill -multicall nls -selinux split-usr -static -test -vanilla -verify-sig xattr >sys-apps/dbus-1.14.0-r1:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc elogind -selinux -static-libs -systemd -test -test >sys-apps/debianutils-5.7:0 installkernel -static >sys-apps/diffutils-3.8:0 nls -static -verify-sig >sys-apps/file-5.42:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma -python python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 -seccomp -static-libs -verify-sig zlib >sys-apps/findutils-4.9.0:0 nls -selinux -static -test -verify-sig >sys-apps/gawk-5.1.1-r2:0 -mpfr nls readline -verify-sig >sys-apps/gentoo-functions-0.15:0 >sys-apps/grep-3.7:0 nls pcre -static -verify-sig >sys-apps/groff-1.22.4:0 -X -examples -uchardet >sys-apps/help2man-1.48.5:0 nls >sys-apps/install-xattr-0.8:0 >sys-apps/iproute2-5.18.0-r1:0 -atm -berkdb -bpf -caps -elf iptables -libbsd -minimal -nfs -selinux split-usr >sys-apps/kbd-2.5.1:0 nls pam -test >sys-apps/kmod-29-r2:0 -debug -doc lzma -pkcs7 -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -static-libs tools zlib zstd >sys-apps/less-590:0 pcre unicode >sys-apps/man-db-2.10.2-r1:0 manpager nls seccomp -selinux -static-libs zlib >sys-apps/man-pages-5.13:0 l10n_de l10n_es l10n_fr l10n_it l10n_ja l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_zh-CN >sys-apps/man-pages-posix-2017a:0 >sys-apps/miscfiles-1.5-r4:0 -minimal >sys-apps/net-tools-2.10:0 arp hostname ipv6 -nis nls -plipconfig -selinux -slattach -static >sys-apps/openrc-0.45.1:0 -audit -bash -debug ncurses netifrc -newnet pam -selinux -sysv-utils unicode >sys-apps/portage-3.0.30-r5:0 -apidoc -build -doc -gentoo-dev ipc native-extensions python_targets_pypy3 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 rsync-verify -selinux -test xattr >sys-apps/sandbox-2.29:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 nnp >sys-apps/sed-4.8:0 acl nls -selinux -static -verify-sig >sys-apps/shadow-4.11.1:0/4 acl -audit -bcrypt -cracklib nls pam -selinux -skey split-usr -su xattr >sys-apps/systemd-utils-250.7:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -boot kmod -selinux split-usr -sysusers -test tmpfiles udev >sys-apps/sysvinit-3.04:0 -ibm nls -selinux -static -verify-sig >sys-apps/texinfo-6.8:0 nls standalone -static >sys-apps/util-linux-2.38:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 readline -rtas -selinux -slang split-usr -static-libs su suid -systemd -test -tty-helpers -udev unicode -verify-sig >sys-apps/which-2.21:0 >sys-auth/elogind-246.10-r2:0 acl -audit cgroup-hybrid -debug -doc pam policykit -selinux -test >sys-auth/pambase-20220214:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -systemd -yescrypt >sys-auth/passwdqc-2.0.2-r1:0 >sys-auth/polkit-0.120_p20220509:0 duktape -examples -gtk introspection -kde pam -selinux -systemd -test >sys-devel/autoconf-2.71-r1:2.71 -emacs >sys-devel/autoconf-archive-2022.02.11:0 >sys-devel/autoconf-wrapper-20220130:0 >sys-devel/automake-1.16.5:1.16 -test >sys-devel/automake-wrapper-11:0 >sys-devel/binutils-2.38-r2:2.38 -cet -default-gold -doc gold -multitarget nls -pgo plugins -static-libs -test -vanilla >sys-devel/binutils-config-5.4.1:0 native-symlinks >sys-devel/bison-3.8.2:0 -examples nls -static -test -verify-sig >sys-devel/flex-2.6.4-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static -test >sys-devel/gcc-11.3.0:11 -ada -cet -custom-cflags cxx -d -debug -doc -fixed-point fortran -go graphite -hardened -jit -libssp lto multilib nls nptl -objc -objc++ -objc-gc openmp -pch -pgo pie sanitize ssp -systemtap -test -valgrind -vanilla -vtv -zstd >sys-devel/gcc-config-2.5-r1:0 cc-wrappers native-symlinks >sys-devel/gettext-0.21-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -cvs cxx -doc -emacs -git -java -java ncurses nls openmp -static-libs -verify-sig >sys-devel/gnuconfig-20220508:0 >sys-devel/libtool-2.4.7:2 -vanilla >sys-devel/m4-1.4.19:0 -examples nls -verify-sig >sys-devel/make-4.3:0 -guile nls -static -verify-sig >sys-devel/patch-2.7.6-r4:0 -static -test -verify-sig xattr >sys-fs/e2fsprogs-1.46.5-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cron -fuse -lto nls split-usr -static-libs -test threads tools >sys-fs/udev-init-scripts-35:0 >sys-kernel/installkernel-gentoo-5:0 -grub >sys-kernel/linux-headers-5.18-r1:0 -experimental-loong -headers-only >sys-libs/binutils-libs-2.38-r2:0/2.38 -64-bit-bfd -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cet -multitarget nls -static-libs >sys-libs/gdbm-1.23:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 berkdb nls readline -static-libs -verify-sig >sys-libs/glibc-2.35-r7:2.2 -audit -caps -cet clone3 -compile-locales -crypt -custom-cflags -doc -experimental-loong -gd -headers-only multiarch multilib -multilib-bootstrap -nscd -profile -selinux ssp static-libs -suid -systemd -systemtap -test -vanilla >sys-libs/libcap-2.64:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 pam split-usr -static-libs -tools >sys-libs/libseccomp-2.5.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -experimental-loong -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -static-libs -test >sys-libs/libxcrypt-4.4.28-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 compat split-usr -static-libs system -test >sys-libs/ncurses-6.3_p20220423:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -ada cxx -debug -doc -gpm -minimal -profile split-usr -static-libs -test tinfo -trace -verify-sig >sys-libs/pam-1.5.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -berkdb -debug filecaps -nis -selinux >sys-libs/readline-8.1_p2:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs unicode -utils -verify-sig >sys-libs/timezone-data-2022a:0 -leaps-timezone nls -zic-slim >sys-libs/zlib-1.2.12-r2:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 minizip split-usr -static-libs -verify-sig >sys-process/procps-3.3.17-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 elogind kill -modern-top ncurses nls -selinux split-usr -static-libs -systemd -test unicode >sys-process/psmisc-23.4-r1:0 -X ipv6 nls -selinux >virtual/acl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/awk-1:0 >virtual/dev-manager-0-r2:0 >virtual/editor-0-r3:0 >virtual/libc-1-r1:0 >virtual/libcrypt-2:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/libelf-3:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libiconv-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libintl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libudev-232-r7:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -systemd >virtual/man-0-r4:0 >virtual/os-headers-0-r2:0 >virtual/package-manager-1:0 >virtual/pager-0:0 >virtual/perl-Carp-1.520.0-r2:0 >virtual/perl-Compress-Raw-Bzip2-2.103.0-r2:0 >virtual/perl-Compress-Raw-Zlib-2.105.0:0 >virtual/perl-CPAN-2.330.0:0 >virtual/perl-CPAN-Meta-2.150.10-r6:0 >virtual/perl-CPAN-Meta-Requirements-2.140.0-r8:0 >virtual/perl-CPAN-Meta-YAML-0.18.0-r8:0 >virtual/perl-Data-Dumper-2.184.0:0 >virtual/perl-Digest-MD5-2.580.0-r1:0 >virtual/perl-Encode-3.170.0:0 >virtual/perl-Exporter-5.770.0:0 >virtual/perl-ExtUtils-CBuilder-0.280.236-r1:0 >virtual/perl-ExtUtils-Install-2.200.0-r1:0 >virtual/perl-ExtUtils-MakeMaker-7.640.0:0 >virtual/perl-ExtUtils-Manifest-1.730.0-r1:0 >virtual/perl-ExtUtils-ParseXS-3.450.0:0 >virtual/perl-File-Path-2.180.0-r1:0 >virtual/perl-File-Spec-3.840.0:0 >virtual/perl-File-Temp-0.231.100:0 >virtual/perl-Getopt-Long-2.520.0-r1:0 >virtual/perl-IO-1.500.0:0 >virtual/perl-IO-Compress-2.106.0:0 >virtual/perl-IO-Socket-IP-0.410.0-r1:0 >virtual/perl-JSON-PP-4.70.0:0 >virtual/perl-libnet-3.140.0:0 ssl >virtual/perl-MIME-Base64-3.160.0-r1:0 >virtual/perl-Module-Metadata-1.0.37-r2:0 >virtual/perl-parent-0.238.0-r2:0 >virtual/perl-Parse-CPAN-Meta-2.150.10-r6:0 >virtual/perl-Perl-OSType-1.10.0-r6:0 >virtual/perl-podlators-4.140.0-r3:0 >virtual/perl-Scalar-List-Utils-1.620.0:0 >virtual/perl-Test-Harness-3.440.0:0 >virtual/perl-Text-ParseWords-3.310.0:0 >virtual/perl-Time-Local-1.300.0-r1:0 >virtual/perl-version-0.992.900:0 >virtual/perl-XSLoader-0.310.0:0 >virtual/pkgconfig-2-r1:0 >virtual/service-manager-1:0 >virtual/ssh-0:0 -minimal >virtual/tmpfiles-0-r3:0 >virtual/ttf-fonts-1-r1:0 >virtual/udev-217-r5:0 >virtual/w3m-1:0 >virtual/yacc-0:0 >www-client/pybugz-0.13-r2:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 >www-client/w3m-0.5.3_p20220429:0 -X -fbcon -gdk-pixbuf -gpm -imlib l10n_ja -lynxkeymap nls -nntp ssl unicode -xface >x11-apps/xprop-1.2.5:0 >x11-apps/xset-1.2.4-r1:0 >x11-base/xcb-proto-1.15.2:0 python_targets_python3_10 -python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 >x11-base/xorg-proto-2022.1:0 -test >x11-libs/cairo-1.16.0-r5:0 X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -aqua -debug -gles2-only glib -opengl -static-libs svg -utils -valgrind >x11-libs/libICE-1.0.10-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 ipv6 >x11-libs/libSM-1.2.3-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc ipv6 uuid >x11-libs/libX11-1.7.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc ipv6 -test >x11-libs/libXau-1.0.9-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libxcb-1.15-r1:0/1.12 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -doc -selinux -test xkb >x11-libs/libXdmcp-1.1.3-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXext-1.3.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXmu-1.1.3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc ipv6 >x11-libs/libXrender-0.9.10-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >x11-libs/libXt-1.2.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/pixman-0.40.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_iwmmxt -cpu_flags_arm_iwmmxt2 -cpu_flags_arm_neon -cpu_flags_ppc_altivec cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 -loongson2f -static-libs -test >x11-libs/xtrans-1.4.0:0 -doc >x11-misc/compose-tables-1.8.1:0 >x11-misc/shared-mime-info-2.2:0 -test >x11-misc/xdg-utils-1.1.3_p20210805:0 -dbus -doc -gnome > > >####################### ># build.log # >####################### >>>> Unpacking source... >>>> Unpacking PyPDF2-2.3.1.gh.tar.gz to /var/tmp/portage/dev-python/PyPDF2-2.3.1/work >>>> Unpacking PyPDF2-sample-files-d7ce88b71820fccaaa4738aa37cbace51f3ed3d9.gh.tar.gz to /var/tmp/portage/dev-python/PyPDF2-2.3.1/work >>>> Source unpacked in /var/tmp/portage/dev-python/PyPDF2-2.3.1/work >>>> Preparing source in /var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1 ... > * Build system packages: > * dev-python/gpep517 : 6-r1 > * dev-python/installer : 0.5.1-r1 > * dev-python/setuptools : 62.5.0 > * dev-python/setuptools_scm : 6.4.2 > * dev-python/wheel : 0.37.1-r1 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1 ... > * python3_8: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for PyPDF2-2.3.1 via setuptools.build_meta:__legacy__ >running bdist_wheel >running build >running build_py >creating build >creating build/lib >creating build/lib/PyPDF2 >copying PyPDF2/xmp.py -> build/lib/PyPDF2 >copying PyPDF2/types.py -> build/lib/PyPDF2 >copying PyPDF2/papersizes.py -> build/lib/PyPDF2 >copying PyPDF2/pagerange.py -> build/lib/PyPDF2 >copying PyPDF2/generic.py -> build/lib/PyPDF2 >copying PyPDF2/filters.py -> build/lib/PyPDF2 >copying PyPDF2/errors.py -> build/lib/PyPDF2 >copying PyPDF2/constants.py -> build/lib/PyPDF2 >copying PyPDF2/_writer.py -> build/lib/PyPDF2 >copying PyPDF2/_version.py -> build/lib/PyPDF2 >copying PyPDF2/_utils.py -> build/lib/PyPDF2 >copying PyPDF2/_security.py -> build/lib/PyPDF2 >copying PyPDF2/_reader.py -> build/lib/PyPDF2 >copying PyPDF2/_page.py -> build/lib/PyPDF2 >copying PyPDF2/_merger.py -> build/lib/PyPDF2 >copying PyPDF2/_encryption.py -> build/lib/PyPDF2 >copying PyPDF2/_cmap.py -> build/lib/PyPDF2 >copying PyPDF2/__init__.py -> build/lib/PyPDF2 >creating build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/zapfding.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/symbol.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/std.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/pdfdoc.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/adobe_glyphs.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/__init__.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/py.typed -> build/lib/PyPDF2 >warning: build_py: byte-compiling is disabled, skipping. > >installing to build/bdist.linux-x86_64/wheel >running install >running install_lib >creating build/bdist.linux-x86_64 >creating build/bdist.linux-x86_64/wheel >creating build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/py.typed -> build/bdist.linux-x86_64/wheel/PyPDF2 >creating build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/__init__.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/adobe_glyphs.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/pdfdoc.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/std.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/symbol.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/zapfding.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/__init__.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_cmap.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_encryption.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_merger.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_page.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_reader.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_security.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_utils.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_version.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_writer.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/constants.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/errors.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/filters.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/generic.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/pagerange.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/papersizes.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/types.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/xmp.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >warning: install_lib: byte-compiling is disabled, skipping. > >running install_egg_info >running egg_info >creating PyPDF2.egg-info >writing PyPDF2.egg-info/PKG-INFO >writing dependency_links to PyPDF2.egg-info/dependency_links.txt >writing requirements to PyPDF2.egg-info/requires.txt >writing top-level names to PyPDF2.egg-info/top_level.txt >writing manifest file 'PyPDF2.egg-info/SOURCES.txt' >listing git files failed - pretending there aren't any >reading manifest file 'PyPDF2.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >adding license file 'LICENSE' >writing manifest file 'PyPDF2.egg-info/SOURCES.txt' >Copying PyPDF2.egg-info to build/bdist.linux-x86_64/wheel/PyPDF2-2.3.1-py3.8.egg-info >running install_scripts >adding license file "LICENSE" (matched pattern "LICEN[CS]E*") >creating build/bdist.linux-x86_64/wheel/PyPDF2-2.3.1.dist-info/WHEEL >creating '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1-python3_8/wheel/tmpn55a9_gk/PyPDF2-2.3.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >adding 'PyPDF2/__init__.py' >adding 'PyPDF2/_cmap.py' >adding 'PyPDF2/_encryption.py' >adding 'PyPDF2/_merger.py' >adding 'PyPDF2/_page.py' >adding 'PyPDF2/_reader.py' >adding 'PyPDF2/_security.py' >adding 'PyPDF2/_utils.py' >adding 'PyPDF2/_version.py' >adding 'PyPDF2/_writer.py' >adding 'PyPDF2/constants.py' >adding 'PyPDF2/errors.py' >adding 'PyPDF2/filters.py' >adding 'PyPDF2/generic.py' >adding 'PyPDF2/pagerange.py' >adding 'PyPDF2/papersizes.py' >adding 'PyPDF2/py.typed' >adding 'PyPDF2/types.py' >adding 'PyPDF2/xmp.py' >adding 'PyPDF2/_codecs/__init__.py' >adding 'PyPDF2/_codecs/adobe_glyphs.py' >adding 'PyPDF2/_codecs/pdfdoc.py' >adding 'PyPDF2/_codecs/std.py' >adding 'PyPDF2/_codecs/symbol.py' >adding 'PyPDF2/_codecs/zapfding.py' >adding 'PyPDF2-2.3.1.dist-info/LICENSE' >adding 'PyPDF2-2.3.1.dist-info/METADATA' >adding 'PyPDF2-2.3.1.dist-info/WHEEL' >adding 'PyPDF2-2.3.1.dist-info/top_level.txt' >adding 'PyPDF2-2.3.1.dist-info/RECORD' >removing build/bdist.linux-x86_64/wheel > * Installing PyPDF2-2.3.1-py3-none-any.whl to /var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1-python3_8/install > * python3_9: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for PyPDF2-2.3.1 via setuptools.build_meta:__legacy__ >running bdist_wheel >running build >running build_py >creating build >creating build/lib >creating build/lib/PyPDF2 >copying PyPDF2/xmp.py -> build/lib/PyPDF2 >copying PyPDF2/types.py -> build/lib/PyPDF2 >copying PyPDF2/papersizes.py -> build/lib/PyPDF2 >copying PyPDF2/pagerange.py -> build/lib/PyPDF2 >copying PyPDF2/generic.py -> build/lib/PyPDF2 >copying PyPDF2/filters.py -> build/lib/PyPDF2 >copying PyPDF2/errors.py -> build/lib/PyPDF2 >copying PyPDF2/constants.py -> build/lib/PyPDF2 >copying PyPDF2/_writer.py -> build/lib/PyPDF2 >copying PyPDF2/_version.py -> build/lib/PyPDF2 >copying PyPDF2/_utils.py -> build/lib/PyPDF2 >copying PyPDF2/_security.py -> build/lib/PyPDF2 >copying PyPDF2/_reader.py -> build/lib/PyPDF2 >copying PyPDF2/_page.py -> build/lib/PyPDF2 >copying PyPDF2/_merger.py -> build/lib/PyPDF2 >copying PyPDF2/_encryption.py -> build/lib/PyPDF2 >copying PyPDF2/_cmap.py -> build/lib/PyPDF2 >copying PyPDF2/__init__.py -> build/lib/PyPDF2 >creating build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/zapfding.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/symbol.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/std.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/pdfdoc.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/adobe_glyphs.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/__init__.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/py.typed -> build/lib/PyPDF2 >warning: build_py: byte-compiling is disabled, skipping. > >installing to build/bdist.linux-x86_64/wheel >running install >running install_lib >creating build/bdist.linux-x86_64 >creating build/bdist.linux-x86_64/wheel >creating build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/py.typed -> build/bdist.linux-x86_64/wheel/PyPDF2 >creating build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/__init__.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/adobe_glyphs.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/pdfdoc.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/std.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/symbol.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/zapfding.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/__init__.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_cmap.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_encryption.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_merger.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_page.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_reader.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_security.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_utils.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_version.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_writer.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/constants.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/errors.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/filters.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/generic.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/pagerange.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/papersizes.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/types.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/xmp.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >warning: install_lib: byte-compiling is disabled, skipping. > >running install_egg_info >running egg_info >writing PyPDF2.egg-info/PKG-INFO >writing dependency_links to PyPDF2.egg-info/dependency_links.txt >writing requirements to PyPDF2.egg-info/requires.txt >writing top-level names to PyPDF2.egg-info/top_level.txt >listing git files failed - pretending there aren't any >reading manifest file 'PyPDF2.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >adding license file 'LICENSE' >writing manifest file 'PyPDF2.egg-info/SOURCES.txt' >Copying PyPDF2.egg-info to build/bdist.linux-x86_64/wheel/PyPDF2-2.3.1-py3.9.egg-info >running install_scripts >adding license file "LICENSE" (matched pattern "LICEN[CS]E*") >creating build/bdist.linux-x86_64/wheel/PyPDF2-2.3.1.dist-info/WHEEL >creating '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1-python3_9/wheel/tmpxf9epml0/PyPDF2-2.3.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >adding 'PyPDF2/__init__.py' >adding 'PyPDF2/_cmap.py' >adding 'PyPDF2/_encryption.py' >adding 'PyPDF2/_merger.py' >adding 'PyPDF2/_page.py' >adding 'PyPDF2/_reader.py' >adding 'PyPDF2/_security.py' >adding 'PyPDF2/_utils.py' >adding 'PyPDF2/_version.py' >adding 'PyPDF2/_writer.py' >adding 'PyPDF2/constants.py' >adding 'PyPDF2/errors.py' >adding 'PyPDF2/filters.py' >adding 'PyPDF2/generic.py' >adding 'PyPDF2/pagerange.py' >adding 'PyPDF2/papersizes.py' >adding 'PyPDF2/py.typed' >adding 'PyPDF2/types.py' >adding 'PyPDF2/xmp.py' >adding 'PyPDF2/_codecs/__init__.py' >adding 'PyPDF2/_codecs/adobe_glyphs.py' >adding 'PyPDF2/_codecs/pdfdoc.py' >adding 'PyPDF2/_codecs/std.py' >adding 'PyPDF2/_codecs/symbol.py' >adding 'PyPDF2/_codecs/zapfding.py' >adding 'PyPDF2-2.3.1.dist-info/LICENSE' >adding 'PyPDF2-2.3.1.dist-info/METADATA' >adding 'PyPDF2-2.3.1.dist-info/WHEEL' >adding 'PyPDF2-2.3.1.dist-info/top_level.txt' >adding 'PyPDF2-2.3.1.dist-info/RECORD' >removing build/bdist.linux-x86_64/wheel > * Installing PyPDF2-2.3.1-py3-none-any.whl to /var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1-python3_9/install > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for PyPDF2-2.3.1 via setuptools.build_meta:__legacy__ >running bdist_wheel >running build >running build_py >creating build >creating build/lib >creating build/lib/PyPDF2 >copying PyPDF2/xmp.py -> build/lib/PyPDF2 >copying PyPDF2/types.py -> build/lib/PyPDF2 >copying PyPDF2/papersizes.py -> build/lib/PyPDF2 >copying PyPDF2/pagerange.py -> build/lib/PyPDF2 >copying PyPDF2/generic.py -> build/lib/PyPDF2 >copying PyPDF2/filters.py -> build/lib/PyPDF2 >copying PyPDF2/errors.py -> build/lib/PyPDF2 >copying PyPDF2/constants.py -> build/lib/PyPDF2 >copying PyPDF2/_writer.py -> build/lib/PyPDF2 >copying PyPDF2/_version.py -> build/lib/PyPDF2 >copying PyPDF2/_utils.py -> build/lib/PyPDF2 >copying PyPDF2/_security.py -> build/lib/PyPDF2 >copying PyPDF2/_reader.py -> build/lib/PyPDF2 >copying PyPDF2/_page.py -> build/lib/PyPDF2 >copying PyPDF2/_merger.py -> build/lib/PyPDF2 >copying PyPDF2/_encryption.py -> build/lib/PyPDF2 >copying PyPDF2/_cmap.py -> build/lib/PyPDF2 >copying PyPDF2/__init__.py -> build/lib/PyPDF2 >creating build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/zapfding.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/symbol.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/std.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/pdfdoc.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/adobe_glyphs.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/_codecs/__init__.py -> build/lib/PyPDF2/_codecs >copying PyPDF2/py.typed -> build/lib/PyPDF2 >warning: build_py: byte-compiling is disabled, skipping. > >installing to build/bdist.linux-x86_64/wheel >running install >running install_lib >creating build/bdist.linux-x86_64 >creating build/bdist.linux-x86_64/wheel >creating build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/py.typed -> build/bdist.linux-x86_64/wheel/PyPDF2 >creating build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/__init__.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/adobe_glyphs.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/pdfdoc.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/std.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/symbol.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/_codecs/zapfding.py -> build/bdist.linux-x86_64/wheel/PyPDF2/_codecs >copying build/lib/PyPDF2/__init__.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_cmap.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_encryption.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_merger.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_page.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_reader.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_security.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_utils.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_version.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/_writer.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/constants.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/errors.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/filters.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/generic.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/pagerange.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/papersizes.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/types.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >copying build/lib/PyPDF2/xmp.py -> build/bdist.linux-x86_64/wheel/PyPDF2 >warning: install_lib: byte-compiling is disabled, skipping. > >running install_egg_info >running egg_info >writing PyPDF2.egg-info/PKG-INFO >writing dependency_links to PyPDF2.egg-info/dependency_links.txt >writing requirements to PyPDF2.egg-info/requires.txt >writing top-level names to PyPDF2.egg-info/top_level.txt >listing git files failed - pretending there aren't any >reading manifest file 'PyPDF2.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >adding license file 'LICENSE' >writing manifest file 'PyPDF2.egg-info/SOURCES.txt' >Copying PyPDF2.egg-info to build/bdist.linux-x86_64/wheel/PyPDF2-2.3.1-py3.10.egg-info >running install_scripts >adding license file "LICENSE" (matched pattern "LICEN[CS]E*") >creating build/bdist.linux-x86_64/wheel/PyPDF2-2.3.1.dist-info/WHEEL >creating '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1-python3_10/wheel/tmp9p6xykxu/PyPDF2-2.3.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >adding 'PyPDF2/__init__.py' >adding 'PyPDF2/_cmap.py' >adding 'PyPDF2/_encryption.py' >adding 'PyPDF2/_merger.py' >adding 'PyPDF2/_page.py' >adding 'PyPDF2/_reader.py' >adding 'PyPDF2/_security.py' >adding 'PyPDF2/_utils.py' >adding 'PyPDF2/_version.py' >adding 'PyPDF2/_writer.py' >adding 'PyPDF2/constants.py' >adding 'PyPDF2/errors.py' >adding 'PyPDF2/filters.py' >adding 'PyPDF2/generic.py' >adding 'PyPDF2/pagerange.py' >adding 'PyPDF2/papersizes.py' >adding 'PyPDF2/py.typed' >adding 'PyPDF2/types.py' >adding 'PyPDF2/xmp.py' >adding 'PyPDF2/_codecs/__init__.py' >adding 'PyPDF2/_codecs/adobe_glyphs.py' >adding 'PyPDF2/_codecs/pdfdoc.py' >adding 'PyPDF2/_codecs/std.py' >adding 'PyPDF2/_codecs/symbol.py' >adding 'PyPDF2/_codecs/zapfding.py' >adding 'PyPDF2-2.3.1.dist-info/LICENSE' >adding 'PyPDF2-2.3.1.dist-info/METADATA' >adding 'PyPDF2-2.3.1.dist-info/WHEEL' >adding 'PyPDF2-2.3.1.dist-info/top_level.txt' >adding 'PyPDF2-2.3.1.dist-info/RECORD' >removing build/bdist.linux-x86_64/wheel > * Installing PyPDF2-2.3.1-py3-none-any.whl to /var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1-python3_10/install >>>> Source compiled. >>>> Test phase: dev-python/PyPDF2-2.3.1 > * python3_8: running distutils-r1_run_phase python_test >python3.8 -m pytest -vv -ra -l -Wdefault --color=no -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown --deselect tests/test_cmap.py --deselect tests/test_filters.py::test_decompress_zlib_error --deselect tests/test_filters.py::test_lzw_decode_neg1 --deselect tests/test_generic.py::test_dict_read_from_stream --deselect tests/test_generic.py::test_parse_content_stream_peek_percentage --deselect tests/test_generic.py::test_read_inline_image_no_has_q --deselect tests/test_generic.py::test_read_inline_image_loc_neg_1 --deselect tests/test_generic.py::test_text_string_write_to_stream --deselect tests/test_generic.py::test_name_object_read_from_stream_unicode_error --deselect tests/test_generic.py::test_bool_repr --deselect tests/test_page.py::test_page_operations[https://arxiv.org/pdf/2201.00029.pdf-None] --deselect tests/test_merger.py::test_trim_outline_list --deselect tests/test_merger.py::test_zoom --deselect tests/test_merger.py::test_zoom_xyz_no_left --deselect tests/test_merger.py::test_bookmark --deselect tests/test_merger.py::test_trim_outline --deselect tests/test_merger.py::test1 --deselect tests/test_merger.py::test_sweep_recursion1 --deselect tests/test_merger.py::test_sweep_recursion2 --deselect tests/test_reader.py::test_unexpected_destination --deselect tests/test_writer.py::test_sweep_indirect_references_nullobject_exception --deselect tests/test_writer.py::test_write_bookmark_on_page_fitv --deselect tests/test_page.py::test_extract_text_single_quote_op --deselect tests/test_page.py::test_extract_text_page_pdf --deselect tests/test_page.py::test_extract_text_page_pdf_impossible_decode_xform --deselect tests/test_page.py::test_extract_text_operator_t_star --deselect tests/test_reader.py::test_iss925 --deselect tests/test_reader.py::test_extract_text_xref_issue_2 --deselect tests/test_reader.py::test_extract_text_xref_issue_3 --deselect tests/test_reader.py::test_extract_text_pdf15 --deselect tests/test_reader.py::test_extract_text_xref_table_21_bytes_clrf --deselect tests/test_reader.py::test_get_fields --deselect tests/test_reader.py::test_get_fields_read_else_block --deselect tests/test_reader.py::test_get_fields_read_else_block2 --deselect tests/test_reader.py::test_get_fields_read_else_block3 --deselect tests/test_reader.py::test_metadata_is_none --deselect tests/test_reader.py::test_get_fields_read_write_report --deselect tests/test_reader.py::test_unexpected_destination --deselect tests/test_utils.py::test_deprecate_no_replacement --deselect tests/test_workflows.py::test_extract_textbench --deselect tests/test_xmp.py::test_xmpmm --deselect tests/test_xmp.py::test_dc_description --deselect tests/test_xmp.py::test_dc_creator --deselect tests/test_xmp.py::test_custom_properties --deselect tests/test_xmp.py::test_dc_subject --deselect tests/test_utils.py::test_deprecate_no_replacement >============================= test session starts ============================== >platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0 -- /var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1-python3_8/install/usr/bin/python3.8 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1, configfile: pytest.ini >collecting ... collected 389 items / 69 deselected / 320 selected > >tests/test_basic_features.py::test_basic_features PASSED [ 1/320] >tests/test_constants.py::test_slash_prefix PASSED [ 2/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc0.pdf] PASSED [ 3/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc1.pdf] PASSED [ 4/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc2.pdf] PASSED [ 5/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc3.pdf] PASSED [ 6/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc4.pdf] PASSED [ 7/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc5.pdf] PASSED [ 8/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc6.pdf] FAILED [ 9/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc7.pdf] FAILED [ 10/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc8.pdf] FAILED [ 11/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc9.pdf] FAILED [ 12/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enca.pdf] FAILED [ 13/320] >tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/encb.pdf] FAILED [ 14/320] >tests/test_encryption.py::test_encryption_merge[names0] PASSED [ 15/320] >tests/test_filters.py::test_FlateDecode[1-abcdefghijklmnopqrstuvwxyz] PASSED [ 16/320] >tests/test_filters.py::test_FlateDecode[1-ABCDEFGHIJKLMNOPQRSTUVWXYZ] PASSED [ 17/320] >tests/test_filters.py::test_FlateDecode[1-abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ] PASSED [ 18/320] >tests/test_filters.py::test_FlateDecode[1-0123456789] PASSED [ 19/320] >tests/test_filters.py::test_FlateDecode[1-0123456789abcdefABCDEF] PASSED [ 20/320] >tests/test_filters.py::test_FlateDecode[1-!"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~] PASSED [ 21/320] >tests/test_filters.py::test_FlateDecode[1- \t\n\r\x0b\x0c] PASSED [ 22/320] >tests/test_filters.py::test_FlateDecode_unsupported_predictor PASSED [ 23/320] >tests/test_filters.py::test_FlateDecode_decompress_array_params[params0] PASSED [ 24/320] >tests/test_filters.py::test_FlateDecode_decompress_array_params[params1] PASSED [ 25/320] >tests/test_filters.py::test_FlateDecode_decompress_array_params[a] PASSED [ 26/320] >tests/test_filters.py::test_ASCIIHexDecode[empty] PASSED [ 27/320] >tests/test_filters.py::test_ASCIIHexDecode[ascii_lowercase] PASSED [ 28/320] >tests/test_filters.py::test_ASCIIHexDecode[ascii_uppercase] PASSED [ 29/320] >tests/test_filters.py::test_ASCIIHexDecode[ascii_letters] PASSED [ 30/320] >tests/test_filters.py::test_ASCIIHexDecode[digits] PASSED [ 31/320] >tests/test_filters.py::test_ASCIIHexDecode[digits_whitespace] PASSED [ 32/320] >tests/test_filters.py::test_ASCIIHexDecode[hexdigits] PASSED [ 33/320] >tests/test_filters.py::test_ASCIIHexDecode[whitespace] PASSED [ 34/320] >tests/test_filters.py::test_ASCIIHexDecode_no_eod PASSED [ 35/320] >tests/test_filters.py::test_ASCII85Decode_with_overflow XFAIL [ 36/320] >tests/test_filters.py::test_ASCII85Decode_five_zero_bytes PASSED [ 37/320] >tests/test_filters.py::test_CCITParameters PASSED [ 38/320] >tests/test_filters.py::test_CCIT_get_parameters[None-0] PASSED [ 39/320] >tests/test_filters.py::test_CCIT_get_parameters[parameters1-1] PASSED [ 40/320] >tests/test_filters.py::test_CCITTFaxDecode PASSED [ 41/320] >tests/test_generic.py::test_float_object_exception PASSED [ 42/320] >tests/test_generic.py::test_number_object_exception PASSED [ 43/320] >tests/test_generic.py::test_create_string_object_exception PASSED [ 44/320] >tests/test_generic.py::test_boolean_object[true-true-4] PASSED [ 45/320] >tests/test_generic.py::test_boolean_object[false-false-5] PASSED [ 46/320] >tests/test_generic.py::test_boolean_object_write PASSED [ 47/320] >tests/test_generic.py::test_boolean_eq PASSED [ 48/320] >tests/test_generic.py::test_boolean_object_exception PASSED [ 49/320] >tests/test_generic.py::test_array_object_exception PASSED [ 50/320] >tests/test_generic.py::test_null_object_exception PASSED [ 51/320] >tests/test_generic.py::test_indirect_object_premature[] PASSED [ 52/320] >tests/test_generic.py::test_indirect_object_premature[False] PASSED [ 53/320] >tests/test_generic.py::test_indirect_object_premature[foo ] PASSED [ 54/320] >tests/test_generic.py::test_indirect_object_premature[foo ] PASSED [ 55/320] >tests/test_generic.py::test_indirect_object_premature[foo bar] PASSED [ 56/320] >tests/test_generic.py::test_readHexStringFromStream PASSED [ 57/320] >tests/test_generic.py::test_readHexStringFromStream_exception PASSED [ 58/320] >tests/test_generic.py::test_readStringFromStream_exception PASSED [ 59/320] >tests/test_generic.py::test_readStringFromStream_not_in_escapedict_no_digit PASSED [ 60/320] >tests/test_generic.py::test_readStringFromStream_multichar_eol PASSED [ 61/320] >tests/test_generic.py::test_readStringFromStream_multichar_eol2 PASSED [ 62/320] >tests/test_generic.py::test_readStringFromStream_excape_digit PASSED [ 63/320] >tests/test_generic.py::test_NameObject PASSED [ 64/320] >tests/test_generic.py::test_destination_fit_r PASSED [ 65/320] >tests/test_generic.py::test_destination_fit_v PASSED [ 66/320] >tests/test_generic.py::test_destination_exception PASSED [ 67/320] >tests/test_generic.py::test_bookmark_write_to_stream PASSED [ 68/320] >tests/test_generic.py::test_encode_pdfdocencoding_keyerror PASSED [ 69/320] >tests/test_generic.py::test_read_object_comment_exception PASSED [ 70/320] >tests/test_generic.py::test_read_object_comment PASSED [ 71/320] >tests/test_generic.py::test_ByteStringObject PASSED [ 72/320] >tests/test_generic.py::test_DictionaryObject_key_is_no_pdfobject PASSED [ 73/320] >tests/test_generic.py::test_DictionaryObject_xmp_meta PASSED [ 74/320] >tests/test_generic.py::test_DictionaryObject_value_is_no_pdfobject PASSED [ 75/320] >tests/test_generic.py::test_DictionaryObject_setdefault_key_is_no_pdfobject PASSED [ 76/320] >tests/test_generic.py::test_DictionaryObject_setdefault_value_is_no_pdfobject PASSED [ 77/320] >tests/test_generic.py::test_DictionaryObject_setdefault_value PASSED [ 78/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream PASSED [ 79/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream_broken PASSED [ 80/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream_unexpected_end PASSED [ 81/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream_stream_no_newline PASSED [ 82/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream_stream_no_stream_length[True] PASSED [ 83/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream_stream_no_stream_length[False] PASSED [ 84/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream_stream_stream_valid[True-6-False] PASSED [ 85/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream_stream_stream_valid[True-10-False] PASSED [ 86/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream_stream_stream_valid[True-4-True] PASSED [ 87/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream_stream_stream_valid[False-6-False] PASSED [ 88/320] >tests/test_generic.py::test_DictionaryObject_read_from_stream_stream_stream_valid[False-10-False] PASSED [ 89/320] >tests/test_generic.py::test_RectangleObject PASSED [ 90/320] >tests/test_generic.py::test_TextStringObject_exc PASSED [ 91/320] >tests/test_generic.py::test_TextStringObject_autodetect_utf16 PASSED [ 92/320] >tests/test_generic.py::test_remove_child_not_in_tree PASSED [ 93/320] >tests/test_generic.py::test_remove_child_in_tree PASSED [ 94/320] >tests/test_javascript.py::test_add_js PASSED [ 95/320] >tests/test_javascript.py::test_overwrite_js PASSED [ 96/320] >tests/test_merger.py::test_merge PASSED [ 97/320] >tests/test_merger.py::test_merge_page_exception PASSED [ 98/320] >tests/test_merger.py::test_merge_page_tuple PASSED [ 99/320] >tests/test_merger.py::test_merge_write_closed_fh PASSED [100/320] >tests/test_page.py::test_read[001-trivial/minimal-document.pdf] PASSED [101/320] >tests/test_page.py::test_read[002-trivial-libre-office-writer/002-trivial-libre-office-writer.pdf] PASSED [102/320] >tests/test_page.py::test_read[003-pdflatex-image/pdflatex-image.pdf] PASSED [103/320] >tests/test_page.py::test_read[004-pdflatex-4-pages/pdflatex-4-pages.pdf] PASSED [104/320] >tests/test_page.py::test_read[006-pdflatex-outline/pdflatex-outline.pdf] PASSED [105/320] >tests/test_page.py::test_read[007-imagemagick-images/imagemagick-ASCII85Decode.pdf] PASSED [106/320] >tests/test_page.py::test_read[007-imagemagick-images/imagemagick-images.pdf] PASSED [107/320] >tests/test_page.py::test_read[007-imagemagick-images/imagemagick-CCITTFaxDecode.pdf] PASSED [108/320] >tests/test_page.py::test_read[007-imagemagick-images/imagemagick-lzw.pdf] PASSED [109/320] >tests/test_page.py::test_read[008-reportlab-inline-image/inline-image.pdf] PASSED [110/320] >tests/test_page.py::test_read[009-pdflatex-geotopo/GeoTopo.pdf] PASSED [111/320] >tests/test_page.py::test_read[010-pdflatex-forms/pdflatex-forms.pdf] PASSED [112/320] >tests/test_page.py::test_read[011-google-doc-document/google-doc-document.pdf] PASSED [113/320] >tests/test_page.py::test_page_operations[crazyones.pdf-None] PASSED [114/320] >tests/test_page.py::test_page_operations[attachment.pdf-None] PASSED [115/320] >tests/test_page.py::test_page_operations[libreoffice-writer-password.pdf-openpassword] PASSED [116/320] >tests/test_page.py::test_page_operations[imagemagick-images.pdf-None] PASSED [117/320] >tests/test_page.py::test_page_operations[imagemagick-lzw.pdf-None] PASSED [118/320] >tests/test_page.py::test_page_operations[reportlab-inline-image.pdf-None] PASSED [119/320] >tests/test_page.py::test_transformation_equivalence PASSED [120/320] >tests/test_page.py::test_page_transformations PASSED [121/320] >tests/test_page.py::test_compress_content_streams[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/crazyones.pdf-None] PASSED [122/320] >tests/test_page.py::test_compress_content_streams[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/attachment.pdf-None] PASSED [123/320] >tests/test_page.py::test_compress_content_streams[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/side-by-side-subfig.pdf-None] PASSED [124/320] >tests/test_page.py::test_compress_content_streams[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/libreoffice-writer-password.pdf-openpassword] PASSED [125/320] >tests/test_page.py::test_page_properties PASSED [126/320] >tests/test_page.py::test_page_rotation_non90 PASSED [127/320] >tests/test_page.py::test_page_scale PASSED [128/320] >tests/test_page.py::test_add_transformation_on_page_without_contents PASSED [129/320] >tests/test_page.py::test_multi_language PASSED [130/320] >tests/test_pagerange.py::test_equality PASSED [131/320] >tests/test_pagerange.py::test_str[page_range0-0:5] PASSED [132/320] >tests/test_pagerange.py::test_str[page_range1-0:5:2] PASSED [133/320] >tests/test_pagerange.py::test_str[-1--1:] PASSED [134/320] >tests/test_pagerange.py::test_str[0-0] PASSED [135/320] >tests/test_pagerange.py::test_repr[page_range0-PageRange('0:5')] PASSED [136/320] >tests/test_pagerange.py::test_repr[page_range1-PageRange('0:5:2')] PASSED [137/320] >tests/test_pagerange.py::test_equality_other_objectc PASSED [138/320] >tests/test_pagerange.py::test_idempotency PASSED [139/320] >tests/test_pagerange.py::test_str_init[42-expected0] PASSED [140/320] >tests/test_pagerange.py::test_str_init[1:2-expected1] PASSED [141/320] >tests/test_pagerange.py::test_str_init_error PASSED [142/320] >tests/test_pagerange.py::test_parse_filename_page_ranges[params0-expected0] PASSED [143/320] >tests/test_pagerange.py::test_parse_filename_page_ranges[params1-expected1] PASSED [144/320] >tests/test_pagerange.py::test_parse_filename_page_ranges_err PASSED [145/320] >tests/test_pagerange.py::test_addition[a0-b0-expected0] PASSED [146/320] >tests/test_pagerange.py::test_addition[a1-b1-expected1] PASSED [147/320] >tests/test_pagerange.py::test_addition[a2-b2-expected2] PASSED [148/320] >tests/test_pagerange.py::test_addition_gap[a0-b0] PASSED [149/320] >tests/test_pagerange.py::test_addition_gap[a1-b1] PASSED [150/320] >tests/test_pagerange.py::test_addition_non_page_range PASSED [151/320] >tests/test_pagerange.py::test_addition_stride PASSED [152/320] >tests/test_papersizes.py::test_din_a0 PASSED [153/320] >tests/test_papersizes.py::test_din_a_ratio[dimensions0] PASSED [154/320] >tests/test_papersizes.py::test_din_a_ratio[dimensions1] PASSED [155/320] >tests/test_papersizes.py::test_din_a_ratio[dimensions2] PASSED [156/320] >tests/test_papersizes.py::test_din_a_ratio[dimensions3] PASSED [157/320] >tests/test_papersizes.py::test_din_a_ratio[dimensions4] PASSED [158/320] >tests/test_papersizes.py::test_din_a_ratio[dimensions5] PASSED [159/320] >tests/test_papersizes.py::test_din_a_ratio[dimensions6] PASSED [160/320] >tests/test_papersizes.py::test_din_a_ratio[dimensions7] PASSED [161/320] >tests/test_papersizes.py::test_din_a_ratio[dimensions8] PASSED [162/320] >tests/test_papersizes.py::test_din_a_doubling[dimensions_a0-dimensions_b0] PASSED [163/320] >tests/test_papersizes.py::test_din_a_doubling[dimensions_a1-dimensions_b1] PASSED [164/320] >tests/test_papersizes.py::test_din_a_doubling[dimensions_a2-dimensions_b2] PASSED [165/320] >tests/test_papersizes.py::test_din_a_doubling[dimensions_a3-dimensions_b3] PASSED [166/320] >tests/test_papersizes.py::test_din_a_doubling[dimensions_a4-dimensions_b4] PASSED [167/320] >tests/test_papersizes.py::test_din_a_doubling[dimensions_a5-dimensions_b5] PASSED [168/320] >tests/test_papersizes.py::test_din_a_doubling[dimensions_a6-dimensions_b6] PASSED [169/320] >tests/test_papersizes.py::test_din_a_doubling[dimensions_a7-dimensions_b7] PASSED [170/320] >tests/test_reader.py::test_get_num_pages[selenium-PyPDF2-issue-177.pdf-1] PASSED [171/320] >tests/test_reader.py::test_get_num_pages[pdflatex-outline.pdf-4] PASSED [172/320] >tests/test_reader.py::test_read_metadata[crazyones] PASSED [173/320] >tests/test_reader.py::test_read_metadata[metadata] PASSED [174/320] >tests/test_reader.py::test_get_annotations[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/crazyones.pdf] PASSED [175/320] >tests/test_reader.py::test_get_annotations[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/commented.pdf] PASSED [176/320] >tests/test_reader.py::test_get_attachments[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/attachment.pdf] PASSED [177/320] >tests/test_reader.py::test_get_attachments[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/crazyones.pdf] PASSED [178/320] >tests/test_reader.py::test_get_outlines[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/pdflatex-outline.pdf-9] PASSED [179/320] >tests/test_reader.py::test_get_outlines[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/crazyones.pdf-0] PASSED [180/320] >tests/test_reader.py::test_get_images[pdflatex-outline.pdf-0] PASSED [181/320] >tests/test_reader.py::test_get_images[crazyones.pdf-0] PASSED [182/320] >tests/test_reader.py::test_get_images[git.pdf-1] PASSED [183/320] >tests/test_reader.py::test_get_images[imagemagick-lzw.pdf-1] PASSED [184/320] >tests/test_reader.py::test_get_images[imagemagick-ASCII85Decode.pdf-1] PASSED [185/320] >tests/test_reader.py::test_get_images[imagemagick-CCITTFaxDecode.pdf-1] PASSED [186/320] >tests/test_reader.py::test_get_images_raw[True-False--1-False] PASSED [187/320] >tests/test_reader.py::test_get_images_raw[True-True--1-True] PASSED [188/320] >tests/test_reader.py::test_get_images_raw[False-False--1-False] PASSED [189/320] >tests/test_reader.py::test_get_images_raw[False-True--1-False] PASSED [190/320] >tests/test_reader.py::test_get_images_raw[True-False-0-True] PASSED [191/320] >tests/test_reader.py::test_get_images_raw[True-True-0-True] PASSED [192/320] >tests/test_reader.py::test_get_images_raw[False-False-0-False] PASSED [193/320] >tests/test_reader.py::test_get_images_raw[False-True-0-False] PASSED [194/320] >tests/test_reader.py::test_issue297 PASSED [195/320] >tests/test_reader.py::test_get_page_of_encrypted_file[encrypted-file.pdf-test-False] PASSED [196/320] >tests/test_reader.py::test_get_page_of_encrypted_file[encrypted-file.pdf-qwerty-True0] PASSED [197/320] >tests/test_reader.py::test_get_page_of_encrypted_file[encrypted-file.pdf-qwerty-True1] PASSED [198/320] >tests/test_reader.py::test_get_page_of_encrypted_file_new_algorithm[crazyones-encrypted-256.pdf-password] PASSED [199/320] >tests/test_reader.py::test_get_form[form.pdf-expected0-expected_get_fields0] PASSED [200/320] >tests/test_reader.py::test_get_form[form_acrobatReader.pdf-expected1-expected_get_fields1] PASSED [201/320] >tests/test_reader.py::test_get_form[form_evince.pdf-expected2-expected_get_fields2] PASSED [202/320] >tests/test_reader.py::test_get_form[crazyones.pdf-expected3-None] PASSED [203/320] >tests/test_reader.py::test_get_page_number[form.pdf-0] PASSED [204/320] >tests/test_reader.py::test_get_page_number[pdflatex-outline.pdf-2] PASSED [205/320] >tests/test_reader.py::test_get_page_layout[form.pdf-None] PASSED [206/320] >tests/test_reader.py::test_get_page_layout[AutoCad_Simple.pdf-/SinglePage] PASSED [207/320] >tests/test_reader.py::test_get_page_mode[form.pdf-/UseNone] PASSED [208/320] >tests/test_reader.py::test_get_page_mode[crazyones.pdf-None] PASSED [209/320] >tests/test_reader.py::test_read_empty PASSED [210/320] >tests/test_reader.py::test_read_malformed_header PASSED [211/320] >tests/test_reader.py::test_read_malformed_body PASSED [212/320] >tests/test_reader.py::test_read_prev_0_trailer PASSED [213/320] >tests/test_reader.py::test_read_missing_startxref PASSED [214/320] >tests/test_reader.py::test_read_unknown_zero_pages PASSED [215/320] >tests/test_reader.py::test_read_encrypted_without_decryption PASSED [216/320] >tests/test_reader.py::test_get_destination_page_number PASSED [217/320] >tests/test_reader.py::test_do_not_get_stuck_on_large_files_without_start_xref PASSED [218/320] >tests/test_reader.py::test_decrypt_when_no_id PASSED [219/320] >tests/test_reader.py::test_reader_properties PASSED [220/320] >tests/test_reader.py::test_issue604[True] PASSED [221/320] >tests/test_reader.py::test_issue604[False] PASSED [222/320] >tests/test_reader.py::test_decode_permissions PASSED [223/320] >tests/test_reader.py::test_pages_attribute PASSED [224/320] >tests/test_reader.py::test_convert_to_int PASSED [225/320] >tests/test_reader.py::test_convert_to_int_error PASSED [226/320] >tests/test_reader.py::test_convertToInt_deprecated PASSED [227/320] >tests/test_reader.py::test_extract_text_hello_world XFAIL (#591) [228/320] >tests/test_reader.py::test_read_path PASSED [229/320] >tests/test_reader.py::test_read_not_binary_mode PASSED [230/320] >tests/test_reader.py::test_read_form_416 XFAIL (#416) [231/320] >tests/test_utils.py::test_skip_over_whitespace[stream0-False] PASSED [232/320] >tests/test_utils.py::test_skip_over_whitespace[stream1-False] PASSED [233/320] >tests/test_utils.py::test_skip_over_whitespace[stream2-True] PASSED [234/320] >tests/test_utils.py::test_skip_over_whitespace[stream3-True] PASSED [235/320] >tests/test_utils.py::test_skip_over_whitespace[stream4-True] PASSED [236/320] >tests/test_utils.py::test_skip_over_whitespace[stream5-True] PASSED [237/320] >tests/test_utils.py::test_read_until_whitespace PASSED [238/320] >tests/test_utils.py::test_skip_over_comment[stream0-] PASSED [239/320] >tests/test_utils.py::test_skip_over_comment[stream1-] PASSED [240/320] >tests/test_utils.py::test_skip_over_comment[stream2- ] PASSED [241/320] >tests/test_utils.py::test_skip_over_comment[stream3-bar] PASSED [242/320] >tests/test_utils.py::test_read_until_regex_premature_ending_raise PASSED [243/320] >tests/test_utils.py::test_read_until_regex_premature_ending_name PASSED [244/320] >tests/test_utils.py::test_matrix_multiply[a0-b0-expected0] PASSED [245/320] >tests/test_utils.py::test_matrix_multiply[a1-b1-expected1] PASSED [246/320] >tests/test_utils.py::test_matrix_multiply[a2-b2-expected2] PASSED [247/320] >tests/test_utils.py::test_mark_location PASSED [248/320] >tests/test_utils.py::test_hex_str PASSED [249/320] >tests/test_utils.py::test_b PASSED [250/320] >tests/test_utils.py::test_paeth_predictor[0-0-0-0] PASSED [251/320] >tests/test_utils.py::test_paeth_predictor[1-0-0-1] PASSED [252/320] >tests/test_utils.py::test_paeth_predictor[0-1-0-1] PASSED [253/320] >tests/test_utils.py::test_paeth_predictor[0-0-1-0] PASSED [254/320] >tests/test_utils.py::test_paeth_predictor[1-2-3-1] PASSED [255/320] >tests/test_utils.py::test_paeth_predictor[2-1-3-1] PASSED [256/320] >tests/test_utils.py::test_paeth_predictor[1-3-2-2] PASSED [257/320] >tests/test_utils.py::test_paeth_predictor[3-1-2-2] PASSED [258/320] >tests/test_utils.py::test_paeth_predictor[3-2-1-3] PASSED [259/320] >tests/test_utils.py::test_read_block_backwards_errs[-0-1] PASSED [260/320] >tests/test_utils.py::test_read_block_backwards_errs[a-0-1] PASSED [261/320] >tests/test_utils.py::test_read_block_backwards_errs[abc-0-10] PASSED [262/320] >tests/test_utils.py::test_read_block_backwards[abc-1-0--1] PASSED [263/320] >tests/test_utils.py::test_read_block_backwards[abc-1-1-a-0] PASSED [264/320] >tests/test_utils.py::test_read_block_backwards[abc-2-1-b-1] PASSED [265/320] >tests/test_utils.py::test_read_block_backwards[abc-2-2-ab-0] PASSED [266/320] >tests/test_utils.py::test_read_block_backwards[abc-3-1-c-2] PASSED [267/320] >tests/test_utils.py::test_read_block_backwards[abc-3-2-bc-1] PASSED [268/320] >tests/test_utils.py::test_read_block_backwards[abc-3-3-abc-0] PASSED [269/320] >tests/test_utils.py::test_read_block_backwards_at_start PASSED [270/320] >tests/test_utils.py::test_read_previous_line[0] PASSED [271/320] >tests/test_utils.py::test_read_previous_line[1] PASSED [272/320] >tests/test_utils.py::test_read_previous_line[2] PASSED [273/320] >tests/test_utils.py::test_read_previous_line[3] PASSED [274/320] >tests/test_utils.py::test_read_previous_line[4] PASSED [275/320] >tests/test_utils.py::test_read_previous_line[5] PASSED [276/320] >tests/test_utils.py::test_read_previous_line[6] PASSED [277/320] >tests/test_utils.py::test_read_previous_line[7] PASSED [278/320] >tests/test_utils.py::test_read_previous_line2 PASSED [279/320] >tests/test_workflows.py::test_PdfReaderFileLoad PASSED [280/320] >tests/test_workflows.py::test_PdfReaderJpegImage PASSED [281/320] >tests/test_workflows.py::test_decrypt PASSED [282/320] >tests/test_workflows.py::test_text_extraction_encrypted PASSED [283/320] >tests/test_workflows.py::test_rotate[0] PASSED [284/320] >tests/test_workflows.py::test_rotate[90] PASSED [285/320] >tests/test_workflows.py::test_rotate[180] PASSED [286/320] >tests/test_workflows.py::test_rotate[270] PASSED [287/320] >tests/test_workflows.py::test_rotate[360] PASSED [288/320] >tests/test_workflows.py::test_rotate[-90] PASSED [289/320] >tests/test_workflows.py::test_rotate_45 PASSED [290/320] >tests/test_writer.py::test_writer_clone PASSED [291/320] >tests/test_writer.py::test_writer_operations PASSED [292/320] >tests/test_writer.py::test_remove_images[side-by-side-subfig.pdf-False] PASSED [293/320] >tests/test_writer.py::test_remove_images[reportlab-inline-image.pdf-True] PASSED [294/320] >tests/test_writer.py::test_remove_text[side-by-side-subfig.pdf-False] PASSED [295/320] >tests/test_writer.py::test_remove_text[side-by-side-subfig.pdf-True] PASSED [296/320] >tests/test_writer.py::test_remove_text[reportlab-inline-image.pdf-False] PASSED [297/320] >tests/test_writer.py::test_remove_text[reportlab-inline-image.pdf-True] PASSED [298/320] >tests/test_writer.py::test_remove_text_all_operators[False] PASSED [299/320] >tests/test_writer.py::test_remove_text_all_operators[True] PASSED [300/320] >tests/test_writer.py::test_write_metadata PASSED [301/320] >tests/test_writer.py::test_fill_form PASSED [302/320] >tests/test_writer.py::test_encrypt[True] PASSED [303/320] >tests/test_writer.py::test_encrypt[False] PASSED [304/320] >tests/test_writer.py::test_add_bookmark PASSED [305/320] >tests/test_writer.py::test_add_named_destination PASSED [306/320] >tests/test_writer.py::test_add_uri PASSED [307/320] >tests/test_writer.py::test_add_link PASSED [308/320] >tests/test_writer.py::test_io_streams PASSED [309/320] >tests/test_writer.py::test_regression_issue670 PASSED [310/320] >tests/test_writer.py::test_issue301 PASSED [311/320] >tests/test_xmp.py::test_read_xmp[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/commented-xmp.pdf-True] PASSED [312/320] >tests/test_xmp.py::test_read_xmp[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/crazyones.pdf-False] PASSED [313/320] >tests/test_xmp.py::test_regression_issue774 PASSED [314/320] >tests/test_xmp.py::test_regression_issue914 PASSED [315/320] >tests/test_xmp.py::test_identity[a] PASSED [316/320] >tests/test_xmp.py::test_identity[42] PASSED [317/320] >tests/test_xmp.py::test_identity[3.141] PASSED [318/320] >tests/test_xmp.py::test_identity[False] PASSED [319/320] >tests/test_xmp.py::test_identity[True] PASSED [320/320] > >=================================== FAILURES =================================== >_ test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc6.pdf] _ > >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc6.pdf' > > @pytest.mark.parametrize( > "src", > [ > # unencrypted pdf > (os.path.join(RESOURCE_ROOT, "encryption", "enc0.pdf")), > # created by `qpdf --encrypt "" "" 40 -- enc0.pdf enc1.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc1.pdf")), > # created by `qpdf --encrypt "" "" 128 -- enc0.pdf enc2.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc2.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 40 -- enc0.pdf enc3.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc3.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 -- enc0.pdf enc4.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc4.pdf")), > # V=4 and AES128 > # created by `qpdf --encrypt "asdfzxcv" "" 128 --force-V4 -- enc0.pdf enc5.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc5.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 --use-aes=y -- enc0.pdf enc6.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc6.pdf")), > # # V=5 and R=5 use AES-256 > # # created by `qpdf --encrypt "" "" 256 --force-R5 -- enc0.pdf enc7.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc7.pdf")), > # # created by `qpdf --encrypt "asdfzxcv" "" 256 --force-R5 -- enc0.pdf enc8.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc8.pdf")), > # # created by `qpdf --encrypt "" "asdfzxcv" 256 --force-R5 -- enc0.pdf enc9.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc9.pdf")), > # asdfzxcv is owner password > # created by `qpdf --encrypt "" "asdfzxcv" 128 --use-aes=y -- enc0.pdf enca.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enca.pdf")), > # created by `qpdf --encrypt "1234" "asdfzxcv" 128 --use-aes=y -- enc0.pdf encb.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "encb.pdf")), > ], > ) > def test_encryption(src): > with open(src, "rb") as inputfile: > ipdf = PyPDF2.PdfReader(inputfile) > if src.endswith("enc0.pdf"): > assert not ipdf.is_encrypted > else: > assert ipdf.is_encrypted > ipdf.decrypt("asdfzxcv") > assert len(ipdf.pages) == 1 >> dd = dict(ipdf.metadata) > >inputfile = <_io.BufferedReader name='/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc6.pdf'> >ipdf = <PyPDF2._reader.PdfReader object at 0x7f026bde5550> >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc6.pdf' > >tests/test_encryption.py:53: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >PyPDF2/_reader.py:274: in metadata > obj = self.trailer[TK.INFO] > self = <PyPDF2._reader.PdfReader object at 0x7f026bde5550> >PyPDF2/generic.py:644: in __getitem__ > return dict.__getitem__(self, key).get_object() > key = '/Info' > self = {'/Encrypt': IndirectObject(15, 0), > '/ID': ['üâþÅ·áB´â¬WoaâéÃA', '¨$âçµVÃâ´\t÷â¡Â¿Ã³Â¹Ã¯'], > '/Info': IndirectObject(2, 0), > '/Root': IndirectObject(1, 0), > '/Size': 16} >PyPDF2/generic.py:222: in get_object > return self.pdf.get_object(self).get_object() > self = IndirectObject(2, 0) >PyPDF2/_reader.py:1056: in get_object > retval = self._encryption.decrypt_object( > generation = 0 > idnum = 2 > indirect_reference = IndirectObject(2, 0) > retval = {'/Author': b'u\x93\x17\xe9\x06\r[\xb1\xfe\x80\xb5\x94vT\x1c\xdc\xa1V\x16\xb8' > b'G\xe1\x12-U>\x16\xe6\xf6\xdb6E', > '/Comments': b'ac\x1a\xa9:\xa2=\x10\x99\xdb\x10\xccU\x8d\x16Hg8Gb' > b'\xe9\xf2\xde\x87\xa4\x15\xbe\x18\xf0\xa46\x8b', > '/Company': 'ýËvÃÃâñ¬¯Ã\x17+cDpaËèõÃÿ¡ýôl}I', > '/CreationDate': b'\xb0Q4\x17 \x99!\xb83\xd5\xdc\xd2\xcb\xfb\xd6\x8f\x0cq3\xf6' > b'\\R\xa8\xebiCZ\x16#\x9e[\xd7\x8e\xa67Z\x8a\xde\xc5B' > b'\xc7\x81:\x18\xe1S\xe3z', > '/Creator': b'\xa1\x1b\xcf\x01\xe2r\xea\xa2Y\xb0\xdc\xd93\xc6\xe1PNf\x00\x8f' > b'\x0c+\xdd)lx[\n\xb2\xbe\x08\xd4', > '/Keywords': b'\x0fz\x91\xcf\xad\xa9\x950\x1d\xd9\x19\x19p\xba\x82\xc5' > b'\xae\x85Y\xe5\x9d\xc8}\x9e\xc5\xa6R\x9b\x06\xe8K}', > '/ModDate': 'kâ±TÃúoYâ¬(ı\x14+ÃùIËuß\r\\JÃæÃ\x0fïS\x0bÃâÃúÃXÅ â¹/~Ãâ¢Â®%E}', > '/Producer': ']eç¶žt8Ã)zÃò¤ñ"g\'³ï¬6@JÃÃÃd§\x08ÃZ|\x0e', > '/SourceModified': b'\x96pM\xff9\xd8\xa4\xc6\xf0\\\x94\xbaqdJ\xe2:0\xa9\xd1' > b'\x97\x82\xd9\xbd\xe5,G\x99\x16\xf7v\x96\xf1\x92\x95\xc1' > b'\x16\xe9j.\x85\x82\xe3\x1cr[\x8en', > '/Subject': b'\xd7\xee\x04\x7f\x03<\xe2\xedjy$\x8e\x89\x9eEZ\xe3pl\xb1' > b'n\x8c\x9d\xf5j\xf9d\x90\xf7\xf6i\xec', > '/Title': 'OeVf·Ë¨tâ\nlS\x11\tFÃÅ¡â¢~jã%Wâs¸]Xº\x0e)â', > '/Trapped': '/False'} > self = <PyPDF2._reader.PdfReader object at 0x7f026bde5550> > start = 106 >PyPDF2/_encryption.py:677: in decrypt_object > return cf.decrypt_object(obj) > StrCrypt = <PyPDF2._encryption.CryptAES object at 0x7f026bde5250> > aes128_key = b'\xd1\x92p\x96\xab{\x06\xaac\xc4\xbd\x98\x94\x82Y}' > aes256_key = b'\x07IX\xd8\xcf\xbb\xfb[\xfb*\xb6\xa9\x15\x14\xcb\xdb' > cf = <PyPDF2._encryption.CryptFilter object at 0x7f026bde5d60> > efCrypt = <PyPDF2._encryption.CryptAES object at 0x7f026bde5a30> > generation = 0 > idnum = 2 > key = b'\x07IX\xd8\xcf\xbb\xfb[\xfb*\xb6\xa9\x15\x14\xcb\xdb' > key_data = b'\x07IX\xd8\xcf\xbb\xfb[\xfb*\xb6\xa9\x15\x14\xcb\xdb\x02\x00\x00\x00\x00' > key_hash = <md5 HASH object @ 0x7f026be111b0> > n = 16 > obj = {'/Author': b'u\x93\x17\xe9\x06\r[\xb1\xfe\x80\xb5\x94vT\x1c\xdc\xa1V\x16\xb8' > b'G\xe1\x12-U>\x16\xe6\xf6\xdb6E', > '/Comments': b'ac\x1a\xa9:\xa2=\x10\x99\xdb\x10\xccU\x8d\x16Hg8Gb' > b'\xe9\xf2\xde\x87\xa4\x15\xbe\x18\xf0\xa46\x8b', > '/Company': 'ýËvÃÃâñ¬¯Ã\x17+cDpaËèõÃÿ¡ýôl}I', > '/CreationDate': b'\xb0Q4\x17 \x99!\xb83\xd5\xdc\xd2\xcb\xfb\xd6\x8f\x0cq3\xf6' > b'\\R\xa8\xebiCZ\x16#\x9e[\xd7\x8e\xa67Z\x8a\xde\xc5B' > b'\xc7\x81:\x18\xe1S\xe3z', > '/Creator': b'\xa1\x1b\xcf\x01\xe2r\xea\xa2Y\xb0\xdc\xd93\xc6\xe1PNf\x00\x8f' > b'\x0c+\xdd)lx[\n\xb2\xbe\x08\xd4', > '/Keywords': b'\x0fz\x91\xcf\xad\xa9\x950\x1d\xd9\x19\x19p\xba\x82\xc5' > b'\xae\x85Y\xe5\x9d\xc8}\x9e\xc5\xa6R\x9b\x06\xe8K}', > '/ModDate': 'kâ±TÃúoYâ¬(ı\x14+ÃùIËuß\r\\JÃæÃ\x0fïS\x0bÃâÃúÃXÅ â¹/~Ãâ¢Â®%E}', > '/Producer': ']eç¶žt8Ã)zÃò¤ñ"g\'³ï¬6@JÃÃÃd§\x08ÃZ|\x0e', > '/SourceModified': b'\x96pM\xff9\xd8\xa4\xc6\xf0\\\x94\xbaqdJ\xe2:0\xa9\xd1' > b'\x97\x82\xd9\xbd\xe5,G\x99\x16\xf7v\x96\xf1\x92\x95\xc1' > b'\x16\xe9j.\x85\x82\xe3\x1cr[\x8en', > '/Subject': b'\xd7\xee\x04\x7f\x03<\xe2\xedjy$\x8e\x89\x9eEZ\xe3pl\xb1' > b'n\x8c\x9d\xf5j\xf9d\x90\xf7\xf6i\xec', > '/Title': 'OeVf·Ë¨tâ\nlS\x11\tFÃÅ¡â¢~jã%Wâs¸]Xº\x0e)â', > '/Trapped': '/False'} > pack1 = b'\x02\x00\x00' > pack2 = b'\x00\x00' > rc4_key = b"\xc6\x0c\x8d1\t=Y'rL\xc5}\xe7\xf3\xa4\x0b" > self = <PyPDF2._encryption.Encryption object at 0x7f026bde5310> > stmCrypt = <PyPDF2._encryption.CryptAES object at 0x7f026bde5430> >PyPDF2/_encryption.py:180: in decrypt_object > obj[dictkey] = self.decrypt_object(value) > dictkey = '/Author' > obj = {'/Author': b'u\x93\x17\xe9\x06\r[\xb1\xfe\x80\xb5\x94vT\x1c\xdc\xa1V\x16\xb8' > b'G\xe1\x12-U>\x16\xe6\xf6\xdb6E', > '/Comments': b'ac\x1a\xa9:\xa2=\x10\x99\xdb\x10\xccU\x8d\x16Hg8Gb' > b'\xe9\xf2\xde\x87\xa4\x15\xbe\x18\xf0\xa46\x8b', > '/Company': 'ýËvÃÃâñ¬¯Ã\x17+cDpaËèõÃÿ¡ýôl}I', > '/CreationDate': b'\xb0Q4\x17 \x99!\xb83\xd5\xdc\xd2\xcb\xfb\xd6\x8f\x0cq3\xf6' > b'\\R\xa8\xebiCZ\x16#\x9e[\xd7\x8e\xa67Z\x8a\xde\xc5B' > b'\xc7\x81:\x18\xe1S\xe3z', > '/Creator': b'\xa1\x1b\xcf\x01\xe2r\xea\xa2Y\xb0\xdc\xd93\xc6\xe1PNf\x00\x8f' > b'\x0c+\xdd)lx[\n\xb2\xbe\x08\xd4', > '/Keywords': b'\x0fz\x91\xcf\xad\xa9\x950\x1d\xd9\x19\x19p\xba\x82\xc5' > b'\xae\x85Y\xe5\x9d\xc8}\x9e\xc5\xa6R\x9b\x06\xe8K}', > '/ModDate': 'kâ±TÃúoYâ¬(ı\x14+ÃùIËuß\r\\JÃæÃ\x0fïS\x0bÃâÃúÃXÅ â¹/~Ãâ¢Â®%E}', > '/Producer': ']eç¶žt8Ã)zÃò¤ñ"g\'³ï¬6@JÃÃÃd§\x08ÃZ|\x0e', > '/SourceModified': b'\x96pM\xff9\xd8\xa4\xc6\xf0\\\x94\xbaqdJ\xe2:0\xa9\xd1' > b'\x97\x82\xd9\xbd\xe5,G\x99\x16\xf7v\x96\xf1\x92\x95\xc1' > b'\x16\xe9j.\x85\x82\xe3\x1cr[\x8en', > '/Subject': b'\xd7\xee\x04\x7f\x03<\xe2\xedjy$\x8e\x89\x9eEZ\xe3pl\xb1' > b'n\x8c\x9d\xf5j\xf9d\x90\xf7\xf6i\xec', > '/Title': 'OeVf·Ë¨tâ\nlS\x11\tFÃÅ¡â¢~jã%Wâs¸]Xº\x0e)â', > '/Trapped': '/False'} > self = <PyPDF2._encryption.CryptFilter object at 0x7f026bde5d60> > value = (b'u\x93\x17\xe9\x06\r[\xb1\xfe\x80\xb5\x94vT\x1c\xdc\xa1V\x16\xb8G\xe1\x12-' > b'U>\x16\xe6\xf6\xdb6E') >PyPDF2/_encryption.py:174: in decrypt_object > data = self.strCrypt.decrypt(obj.original_bytes) > obj = (b'u\x93\x17\xe9\x06\r[\xb1\xfe\x80\xb5\x94vT\x1c\xdc\xa1V\x16\xb8G\xe1\x12-' > b'U>\x16\xe6\xf6\xdb6E') > self = <PyPDF2._encryption.CryptFilter object at 0x7f026bde5d60> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <PyPDF2._encryption.CryptAES object at 0x7f026bde5250> >data = b'u\x93\x17\xe9\x06\r[\xb1\xfe\x80\xb5\x94vT\x1c\xdc\xa1V\x16\xb8G\xe1\x12-U>\x16\xe6\xf6\xdb6E' > > def decrypt(self, data: bytes) -> bytes: >> raise DependencyError("PyCryptodome is required for AES algorithm") >E PyPDF2.errors.DependencyError: PyCryptodome is required for AES algorithm > >data = (b'u\x93\x17\xe9\x06\r[\xb1\xfe\x80\xb5\x94vT\x1c\xdc\xa1V\x16\xb8G\xe1\x12-' > b'U>\x16\xe6\xf6\xdb6E') >self = <PyPDF2._encryption.CryptAES object at 0x7f026bde5250> > >PyPDF2/_encryption.py:139: DependencyError >_ test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc7.pdf] _ > >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc7.pdf' > > @pytest.mark.parametrize( > "src", > [ > # unencrypted pdf > (os.path.join(RESOURCE_ROOT, "encryption", "enc0.pdf")), > # created by `qpdf --encrypt "" "" 40 -- enc0.pdf enc1.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc1.pdf")), > # created by `qpdf --encrypt "" "" 128 -- enc0.pdf enc2.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc2.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 40 -- enc0.pdf enc3.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc3.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 -- enc0.pdf enc4.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc4.pdf")), > # V=4 and AES128 > # created by `qpdf --encrypt "asdfzxcv" "" 128 --force-V4 -- enc0.pdf enc5.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc5.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 --use-aes=y -- enc0.pdf enc6.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc6.pdf")), > # # V=5 and R=5 use AES-256 > # # created by `qpdf --encrypt "" "" 256 --force-R5 -- enc0.pdf enc7.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc7.pdf")), > # # created by `qpdf --encrypt "asdfzxcv" "" 256 --force-R5 -- enc0.pdf enc8.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc8.pdf")), > # # created by `qpdf --encrypt "" "asdfzxcv" 256 --force-R5 -- enc0.pdf enc9.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc9.pdf")), > # asdfzxcv is owner password > # created by `qpdf --encrypt "" "asdfzxcv" 128 --use-aes=y -- enc0.pdf enca.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enca.pdf")), > # created by `qpdf --encrypt "1234" "asdfzxcv" 128 --use-aes=y -- enc0.pdf encb.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "encb.pdf")), > ], > ) > def test_encryption(src): > with open(src, "rb") as inputfile: > ipdf = PyPDF2.PdfReader(inputfile) > if src.endswith("enc0.pdf"): > assert not ipdf.is_encrypted > else: > assert ipdf.is_encrypted > ipdf.decrypt("asdfzxcv") >> assert len(ipdf.pages) == 1 > >inputfile = <_io.BufferedReader name='/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc7.pdf'> >ipdf = <PyPDF2._reader.PdfReader object at 0x7f026bbc3af0> >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc7.pdf' > >tests/test_encryption.py:52: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >PyPDF2/_page.py:1465: in __len__ > return self.length_function() > self = <PyPDF2._page._VirtualList object at 0x7f026bbc3bb0> >PyPDF2/_reader.py:353: in _get_num_pages > raise e > self = <PyPDF2._reader.PdfReader object at 0x7f026bbc3af0> >PyPDF2/_reader.py:349: in _get_num_pages > self.decrypt("") > self = <PyPDF2._reader.PdfReader object at 0x7f026bbc3af0> >PyPDF2/_reader.py:1571: in decrypt > return self._decrypt(password) > password = '' > self = <PyPDF2._reader.PdfReader object at 0x7f026bbc3af0> >PyPDF2/_reader.py:1605: in _decrypt > rr = encryption.verify(password, password) > Encryption = <class 'PyPDF2._encryption.Encryption'> > encryptEntry = {'/CF': {'/StdCF': {'/AuthEvent': '/DocOpen', '/CFM': '/AESV3', '/Length': 32}}, > '/Filter': '/Standard', > '/Length': 256, > '/O': b'\xbd8~d\t\xd1\xf9\xa8\xb7\xff\xf4G\x1dv:M\x99\xcf\x9a\x00\x1d\x8fC\xbd' > b'\xf2~`\xd5ZdY$\x1b\xa8VF\x1e\x1cV\x8b\x83\xe0\xed\xa7s?3\xc6', > '/OE': 'm%Ãñâºâ²¿ic»²Ãn5ºËpÂ¥â¢Ã-Ã6ý</ÃXËÅÃ', > '/P': -4, > '/Perms': 'þ\x0b+é»$Ãâ°J4ââþwd.', > '/R': 5, > '/StmF': '/StdCF', > '/StrF': '/StdCF', > '/U': b"\xfa'\xa9\xbe\x84\xb5\xe1\x07\x07\xaec\x91\x98\xb4\xe5?" > b'\x9f\xe6\x8b\xba\xb4`\x8e\x1b\xd5\xec\xf3\xa4/H\x9e\xcc\xaa\xfc\x082' > b'\xff\x9e}\xca\x16\x18\x98aN\xd4\xf0\xaf', > '/UE': 'â¡~éâfãÃËï¬\x0e&Ãêq8\x07üzë6Ã\x05\x11cÞO2ò%Ã', > '/V': 5} > encryption = <PyPDF2._encryption.Encryption object at 0x7f026bbc3b50> > id1_entry = b'\xfc\xe2\xfe\x96\xb7\xe1B\xb4\xa0Woa\xe2\xe9\xc4A' > id_entry = ['üâþÅ·áB´â¬WoaâéÃA', 'L=üê4\x10Ãâa]¯m,G¿0'] > password = '' > self = <PyPDF2._reader.PdfReader object at 0x7f026bbc3af0> >PyPDF2/_encryption.py:710: in verify > key, rc = self.verify_r5(up_bytes, op_bytes) > key = None > op_bytes = b'' > owner_pwd = '' > rc = 0 > self = <PyPDF2._encryption.Encryption object at 0x7f026bbc3b50> > up_bytes = b'' > user_pwd = '' >PyPDF2/_encryption.py:763: in verify_r5 > key = AlgR5.verify_user_password(user_pwd, u_entry, ue_entry) > o_entry = (b'\xbd8~d\t\xd1\xf9\xa8\xb7\xff\xf4G\x1dv:M\x99\xcf\x9a\x00\x1d\x8fC\xbd' > b'\xf2~`\xd5ZdY$\x1b\xa8VF\x1e\x1cV\x8b\x83\xe0\xed\xa7s?3\xc6') > oe_entry = (b'm%\xd9\xf1\x89\x87\xb2\xbfic\xbb\xb2\xd6n5\xba\x1fp\xa5\x80\xc9-\xc86' > b'\xfd</\xceX\x1c\x9c\xc6') > owner_pwd = b'' > rc = 0 > self = <PyPDF2._encryption.Encryption object at 0x7f026bbc3b50> > u_entry = (b"\xfa'\xa9\xbe\x84\xb5\xe1\x07\x07\xaec\x91\x98\xb4\xe5?\x9f\xe6\x8b\xba" > b'\xb4`\x8e\x1b\xd5\xec\xf3\xa4/H\x9e\xcc\xaa\xfc\x082\xff\x9e}\xca' > b'\x16\x18\x98aN\xd4\xf0\xaf') > ue_entry = (b'\x82~\xc1\xa9\x8af\xe3\xcf\x19\x93\x0e&\xd3\xeaq8\x07\xfcz\xeb6\xc7\x05\x11' > b'c\xd9\x9eO2\xf2%\xd7') > user_pwd = b'' >PyPDF2/_encryption.py:501: in verify_user_password > return AES_CBC_decrypt(tmp_key, iv, ue_value) > iv = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' > password = b'' > tmp_key = (b'\xe3\xba\x9c\x08\xde\x057\xa1\x82\xa3\xca\xb4z\x8b\xd4"\x1e\xfb\x9e|' > b'{\x8b\x18Z(\xec\x1fR\xfb\x06\xbcN') > u_value = (b"\xfa'\xa9\xbe\x84\xb5\xe1\x07\x07\xaec\x91\x98\xb4\xe5?\x9f\xe6\x8b\xba" > b'\xb4`\x8e\x1b\xd5\xec\xf3\xa4/H\x9e\xcc\xaa\xfc\x082\xff\x9e}\xca' > b'\x16\x18\x98aN\xd4\xf0\xaf') > ue_value = (b'\x82~\xc1\xa9\x8af\xe3\xcf\x19\x93\x0e&\xd3\xeaq8\x07\xfcz\xeb6\xc7\x05\x11' > b'c\xd9\x9eO2\xf2%\xd7') >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >key = b'\xe3\xba\x9c\x08\xde\x057\xa1\x82\xa3\xca\xb4z\x8b\xd4"\x1e\xfb\x9e|{\x8b\x18Z(\xec\x1fR\xfb\x06\xbcN' >iv = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' >data = b'\x82~\xc1\xa9\x8af\xe3\xcf\x19\x93\x0e&\xd3\xeaq8\x07\xfcz\xeb6\xc7\x05\x11c\xd9\x9eO2\xf2%\xd7' > > def AES_CBC_decrypt(key: bytes, iv: bytes, data: bytes) -> bytes: >> raise DependencyError("PyCryptodome is required for AES algorithm") >E PyPDF2.errors.DependencyError: PyCryptodome is required for AES algorithm > >data = (b'\x82~\xc1\xa9\x8af\xe3\xcf\x19\x93\x0e&\xd3\xeaq8\x07\xfcz\xeb6\xc7\x05\x11' > b'c\xd9\x9eO2\xf2%\xd7') >iv = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' >key = (b'\xe3\xba\x9c\x08\xde\x057\xa1\x82\xa3\xca\xb4z\x8b\xd4"\x1e\xfb\x9e|' > b'{\x8b\x18Z(\xec\x1fR\xfb\x06\xbcN') > >PyPDF2/_encryption.py:157: DependencyError >_ test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc8.pdf] _ > >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc8.pdf' > > @pytest.mark.parametrize( > "src", > [ > # unencrypted pdf > (os.path.join(RESOURCE_ROOT, "encryption", "enc0.pdf")), > # created by `qpdf --encrypt "" "" 40 -- enc0.pdf enc1.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc1.pdf")), > # created by `qpdf --encrypt "" "" 128 -- enc0.pdf enc2.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc2.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 40 -- enc0.pdf enc3.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc3.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 -- enc0.pdf enc4.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc4.pdf")), > # V=4 and AES128 > # created by `qpdf --encrypt "asdfzxcv" "" 128 --force-V4 -- enc0.pdf enc5.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc5.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 --use-aes=y -- enc0.pdf enc6.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc6.pdf")), > # # V=5 and R=5 use AES-256 > # # created by `qpdf --encrypt "" "" 256 --force-R5 -- enc0.pdf enc7.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc7.pdf")), > # # created by `qpdf --encrypt "asdfzxcv" "" 256 --force-R5 -- enc0.pdf enc8.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc8.pdf")), > # # created by `qpdf --encrypt "" "asdfzxcv" 256 --force-R5 -- enc0.pdf enc9.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc9.pdf")), > # asdfzxcv is owner password > # created by `qpdf --encrypt "" "asdfzxcv" 128 --use-aes=y -- enc0.pdf enca.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enca.pdf")), > # created by `qpdf --encrypt "1234" "asdfzxcv" 128 --use-aes=y -- enc0.pdf encb.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "encb.pdf")), > ], > ) > def test_encryption(src): > with open(src, "rb") as inputfile: > ipdf = PyPDF2.PdfReader(inputfile) > if src.endswith("enc0.pdf"): > assert not ipdf.is_encrypted > else: > assert ipdf.is_encrypted >> ipdf.decrypt("asdfzxcv") > >inputfile = <_io.BufferedReader name='/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc8.pdf'> >ipdf = <PyPDF2._reader.PdfReader object at 0x7f026bd594c0> >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc8.pdf' > >tests/test_encryption.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >PyPDF2/_reader.py:1571: in decrypt > return self._decrypt(password) > password = 'asdfzxcv' > self = <PyPDF2._reader.PdfReader object at 0x7f026bd594c0> >PyPDF2/_reader.py:1605: in _decrypt > rr = encryption.verify(password, password) > Encryption = <class 'PyPDF2._encryption.Encryption'> > encryptEntry = {'/CF': {'/StdCF': {'/AuthEvent': '/DocOpen', '/CFM': '/AESV3', '/Length': 32}}, > '/Filter': '/Standard', > '/Length': 256, > '/O': 'vFÃk§ÃÃâ3äMµ\x06rø1\x0eo°jæ ñR¯.,à ÃaüïZâ¢â°Â©vÃOÃâº\tôW[à ', > '/OE': b'\xe8\x17v\x91\xbe\x98`S.Rl\xf49\xb1:0\xf3\xbc\xd9\xf3\xc4q{\xd8' > b'\x19\x16\xd1s\xdd\x80\xc9\xd2', > '/P': -4, > '/Perms': 'xâ 2,-[ó¡g\n,¨ÆÂ¿Â§Ã£', > '/R': 5, > '/StmF': '/StdCF', > '/StrF': '/StdCF', > '/U': b'\x7f\xb2\x94W\xa8\xdcS1\xe0\xe7\x81\\\xaf\x0bx\x828\x03%\x08iH\xeb\xa6' > b"0!\xec\r\xdb'\x88\xb5\xcf\x087\xf8p\x1a\xf8\xf0\xe93bA\x98\x05Z\x06", > '/UE': b'\xa2\xca\xb1t\xa0{\xb5\xe7\xc9]\xbf\x8c\xdeM\xab\x0b\x1eI\xb9o\xfd],N' > b'\xa2\x9fZ3X\x03\x1dq', > '/V': 5} > encryption = <PyPDF2._encryption.Encryption object at 0x7f026bd59640> > id1_entry = b'\xfc\xe2\xfe\x96\xb7\xe1B\xb4\xa0Woa\xe2\xe9\xc4A' > id_entry = ['üâþÅ·áB´â¬WoaâéÃA', b'\x9f\xdb$5J\x9a9Qg\x9fn*H\xeeN\xe3'] > password = 'asdfzxcv' > self = <PyPDF2._reader.PdfReader object at 0x7f026bd594c0> >PyPDF2/_encryption.py:710: in verify > key, rc = self.verify_r5(up_bytes, op_bytes) > key = None > op_bytes = b'asdfzxcv' > owner_pwd = 'asdfzxcv' > rc = 0 > self = <PyPDF2._encryption.Encryption object at 0x7f026bd59640> > up_bytes = b'asdfzxcv' > user_pwd = 'asdfzxcv' >PyPDF2/_encryption.py:763: in verify_r5 > key = AlgR5.verify_user_password(user_pwd, u_entry, ue_entry) > o_entry = (b'vF\xd5k\xa7\xd7\xc7\x843\xd2\xa4M\xb5\x06r\xf81\x0eo\xb0j\xe6 \xf1R\xaf.,' > b'\xc6 \xdda\xfc\xefZ\x92\x8b\xa9v\xd1O\xda\x89\t\xf4W[\xe0') > oe_entry = (b'\xe8\x17v\x91\xbe\x98`S.Rl\xf49\xb1:0\xf3\xbc\xd9\xf3\xc4q{\xd8\x19\x16\xd1s' > b'\xdd\x80\xc9\xd2') > owner_pwd = b'asdfzxcv' > rc = 0 > self = <PyPDF2._encryption.Encryption object at 0x7f026bd59640> > u_entry = (b'\x7f\xb2\x94W\xa8\xdcS1\xe0\xe7\x81\\\xaf\x0bx\x828\x03%\x08iH\xeb\xa6' > b"0!\xec\r\xdb'\x88\xb5\xcf\x087\xf8p\x1a\xf8\xf0\xe93bA\x98\x05Z\x06") > ue_entry = (b'\xa2\xca\xb1t\xa0{\xb5\xe7\xc9]\xbf\x8c\xdeM\xab\x0b\x1eI\xb9o\xfd],N' > b'\xa2\x9fZ3X\x03\x1dq') > user_pwd = b'asdfzxcv' >PyPDF2/_encryption.py:501: in verify_user_password > return AES_CBC_decrypt(tmp_key, iv, ue_value) > iv = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' > password = b'asdfzxcv' > tmp_key = (b'\x92,\xe4R\xb3\r\x92\x97\\u\xb9\xech\x92w\xde\xd9\xb6%w$B\x8a@\xce{|\xfe' > b'"\x9c\xde7') > u_value = (b'\x7f\xb2\x94W\xa8\xdcS1\xe0\xe7\x81\\\xaf\x0bx\x828\x03%\x08iH\xeb\xa6' > b"0!\xec\r\xdb'\x88\xb5\xcf\x087\xf8p\x1a\xf8\xf0\xe93bA\x98\x05Z\x06") > ue_value = (b'\xa2\xca\xb1t\xa0{\xb5\xe7\xc9]\xbf\x8c\xdeM\xab\x0b\x1eI\xb9o\xfd],N' > b'\xa2\x9fZ3X\x03\x1dq') >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >key = b'\x92,\xe4R\xb3\r\x92\x97\\u\xb9\xech\x92w\xde\xd9\xb6%w$B\x8a@\xce{|\xfe"\x9c\xde7' >iv = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' >data = b'\xa2\xca\xb1t\xa0{\xb5\xe7\xc9]\xbf\x8c\xdeM\xab\x0b\x1eI\xb9o\xfd],N\xa2\x9fZ3X\x03\x1dq' > > def AES_CBC_decrypt(key: bytes, iv: bytes, data: bytes) -> bytes: >> raise DependencyError("PyCryptodome is required for AES algorithm") >E PyPDF2.errors.DependencyError: PyCryptodome is required for AES algorithm > >data = (b'\xa2\xca\xb1t\xa0{\xb5\xe7\xc9]\xbf\x8c\xdeM\xab\x0b\x1eI\xb9o\xfd],N' > b'\xa2\x9fZ3X\x03\x1dq') >iv = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' >key = (b'\x92,\xe4R\xb3\r\x92\x97\\u\xb9\xech\x92w\xde\xd9\xb6%w$B\x8a@\xce{|\xfe' > b'"\x9c\xde7') > >PyPDF2/_encryption.py:157: DependencyError >_ test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc9.pdf] _ > >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc9.pdf' > > @pytest.mark.parametrize( > "src", > [ > # unencrypted pdf > (os.path.join(RESOURCE_ROOT, "encryption", "enc0.pdf")), > # created by `qpdf --encrypt "" "" 40 -- enc0.pdf enc1.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc1.pdf")), > # created by `qpdf --encrypt "" "" 128 -- enc0.pdf enc2.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc2.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 40 -- enc0.pdf enc3.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc3.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 -- enc0.pdf enc4.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc4.pdf")), > # V=4 and AES128 > # created by `qpdf --encrypt "asdfzxcv" "" 128 --force-V4 -- enc0.pdf enc5.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc5.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 --use-aes=y -- enc0.pdf enc6.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc6.pdf")), > # # V=5 and R=5 use AES-256 > # # created by `qpdf --encrypt "" "" 256 --force-R5 -- enc0.pdf enc7.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc7.pdf")), > # # created by `qpdf --encrypt "asdfzxcv" "" 256 --force-R5 -- enc0.pdf enc8.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc8.pdf")), > # # created by `qpdf --encrypt "" "asdfzxcv" 256 --force-R5 -- enc0.pdf enc9.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc9.pdf")), > # asdfzxcv is owner password > # created by `qpdf --encrypt "" "asdfzxcv" 128 --use-aes=y -- enc0.pdf enca.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enca.pdf")), > # created by `qpdf --encrypt "1234" "asdfzxcv" 128 --use-aes=y -- enc0.pdf encb.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "encb.pdf")), > ], > ) > def test_encryption(src): > with open(src, "rb") as inputfile: > ipdf = PyPDF2.PdfReader(inputfile) > if src.endswith("enc0.pdf"): > assert not ipdf.is_encrypted > else: > assert ipdf.is_encrypted >> ipdf.decrypt("asdfzxcv") > >inputfile = <_io.BufferedReader name='/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc9.pdf'> >ipdf = <PyPDF2._reader.PdfReader object at 0x7f026b7a2550> >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc9.pdf' > >tests/test_encryption.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >PyPDF2/_reader.py:1571: in decrypt > return self._decrypt(password) > password = 'asdfzxcv' > self = <PyPDF2._reader.PdfReader object at 0x7f026b7a2550> >PyPDF2/_reader.py:1605: in _decrypt > rr = encryption.verify(password, password) > Encryption = <class 'PyPDF2._encryption.Encryption'> > encryptEntry = {'/CF': {'/StdCF': {'/AuthEvent': '/DocOpen', '/CFM': '/AESV3', '/Length': 32}}, > '/Filter': '/Standard', > '/Length': 256, > '/O': 'à »sÃÃ\x05ìZâ](i!Xüý\x0c«YâŽtËH";©«`#Å£½zoü¼i¥£ï¬zK5g\x03D', > '/OE': b'\xa3u\x04QR\x9e\x8a\x98\xd7\x1b\xef\xcd\xf9^\xce\x0b\xca.\xc4&' > b'\xb3\xcd<\x7ft~81\xc4E!\x0c', > '/P': -4, > '/Perms': 'â¼ P´µgÃâÃï)ó¹-¾', > '/R': 5, > '/StmF': '/StdCF', > '/StrF': '/StdCF', > '/U': b'\xf6\xd4\xc4\xafn\xc7\xb6W\xb3\xa8;\xcf\r\xeeG\xd5$\xe7O\xac\xbfd\xb4>' > b'/>W\xdb{dkZ\xbf\xa4&\xff\xe2\xed\x16h\xb8\xe0k\xaf\xe3\xb89[', > '/UE': b'\x8c\xb8\nHG\xe4o\xe6\x0bJ\x80\x9f0$/\x99\xb4 \xb9\xdb\xa7}\xa4\xaa' > b'\x8fx\xbbr\x8f\xf9\xac_', > '/V': 5} > encryption = <PyPDF2._encryption.Encryption object at 0x7f026b7a2700> > id1_entry = b'\xfc\xe2\xfe\x96\xb7\xe1B\xb4\xa0Woa\xe2\xe9\xc4A' > id_entry = ['üâþÅ·áB´â¬WoaâéÃA', b'\xb9T\xcd\x83\xbf\x99\x03\x81\x05\xad\xc7\xfc\x10m\x0bA'] > password = 'asdfzxcv' > self = <PyPDF2._reader.PdfReader object at 0x7f026b7a2550> >PyPDF2/_encryption.py:710: in verify > key, rc = self.verify_r5(up_bytes, op_bytes) > key = None > op_bytes = b'asdfzxcv' > owner_pwd = 'asdfzxcv' > rc = 0 > self = <PyPDF2._encryption.Encryption object at 0x7f026b7a2700> > up_bytes = b'asdfzxcv' > user_pwd = 'asdfzxcv' >PyPDF2/_encryption.py:767: in verify_r5 > key = AlgR5.verify_owner_password(owner_pwd, o_entry, oe_entry, u_entry) > key = b'' > o_entry = (b'\xe0\xbbs\xc0\xd0\x05\xecZ\x85](i!X\xfc\xd1\xbd\x0c\xabY\x90\x99t\x1cH";\xa9' > b'\xab`#\x9c\xa3\xbdzo\xfc\xbci\xa5\xa3\x94zK5g\x03D') > oe_entry = (b'\xa3u\x04QR\x9e\x8a\x98\xd7\x1b\xef\xcd\xf9^\xce\x0b\xca.\xc4&\xb3\xcd<\x7f' > b't~81\xc4E!\x0c') > owner_pwd = b'asdfzxcv' > rc = 0 > self = <PyPDF2._encryption.Encryption object at 0x7f026b7a2700> > u_entry = (b'\xf6\xd4\xc4\xafn\xc7\xb6W\xb3\xa8;\xcf\r\xeeG\xd5$\xe7O\xac\xbfd\xb4>' > b'/>W\xdb{dkZ\xbf\xa4&\xff\xe2\xed\x16h\xb8\xe0k\xaf\xe3\xb89[') > ue_entry = (b'\x8c\xb8\nHG\xe4o\xe6\x0bJ\x80\x9f0$/\x99\xb4 \xb9\xdb\xa7}\xa4\xaa' > b'\x8fx\xbbr\x8f\xf9\xac_') > user_pwd = b'asdfzxcv' >PyPDF2/_encryption.py:490: in verify_owner_password > key = AES_CBC_decrypt(tmp_key, iv, oe_value) > iv = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' > o_value = (b'\xe0\xbbs\xc0\xd0\x05\xecZ\x85](i!X\xfc\xd1\xbd\x0c\xabY\x90\x99t\x1cH";\xa9' > b'\xab`#\x9c\xa3\xbdzo\xfc\xbci\xa5\xa3\x94zK5g\x03D') > oe_value = (b'\xa3u\x04QR\x9e\x8a\x98\xd7\x1b\xef\xcd\xf9^\xce\x0b\xca.\xc4&\xb3\xcd<\x7f' > b't~81\xc4E!\x0c') > password = b'asdfzxcv' > tmp_key = (b'\xc5`,+%<Wd\xeb|\x00\x0cq\xf1P5\xaf\xdc\xae!5\n\xae\xc2E\xcfq\x8a' > b'\x7f\xf5C\xa0') > u_value = (b'\xf6\xd4\xc4\xafn\xc7\xb6W\xb3\xa8;\xcf\r\xeeG\xd5$\xe7O\xac\xbfd\xb4>' > b'/>W\xdb{dkZ\xbf\xa4&\xff\xe2\xed\x16h\xb8\xe0k\xaf\xe3\xb89[') >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >key = b'\xc5`,+%<Wd\xeb|\x00\x0cq\xf1P5\xaf\xdc\xae!5\n\xae\xc2E\xcfq\x8a\x7f\xf5C\xa0' >iv = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' >data = b'\xa3u\x04QR\x9e\x8a\x98\xd7\x1b\xef\xcd\xf9^\xce\x0b\xca.\xc4&\xb3\xcd<\x7ft~81\xc4E!\x0c' > > def AES_CBC_decrypt(key: bytes, iv: bytes, data: bytes) -> bytes: >> raise DependencyError("PyCryptodome is required for AES algorithm") >E PyPDF2.errors.DependencyError: PyCryptodome is required for AES algorithm > >data = (b'\xa3u\x04QR\x9e\x8a\x98\xd7\x1b\xef\xcd\xf9^\xce\x0b\xca.\xc4&\xb3\xcd<\x7f' > b't~81\xc4E!\x0c') >iv = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' >key = (b'\xc5`,+%<Wd\xeb|\x00\x0cq\xf1P5\xaf\xdc\xae!5\n\xae\xc2E\xcfq\x8a' > b'\x7f\xf5C\xa0') > >PyPDF2/_encryption.py:157: DependencyError >_ test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enca.pdf] _ > >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enca.pdf' > > @pytest.mark.parametrize( > "src", > [ > # unencrypted pdf > (os.path.join(RESOURCE_ROOT, "encryption", "enc0.pdf")), > # created by `qpdf --encrypt "" "" 40 -- enc0.pdf enc1.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc1.pdf")), > # created by `qpdf --encrypt "" "" 128 -- enc0.pdf enc2.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc2.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 40 -- enc0.pdf enc3.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc3.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 -- enc0.pdf enc4.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc4.pdf")), > # V=4 and AES128 > # created by `qpdf --encrypt "asdfzxcv" "" 128 --force-V4 -- enc0.pdf enc5.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc5.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 --use-aes=y -- enc0.pdf enc6.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc6.pdf")), > # # V=5 and R=5 use AES-256 > # # created by `qpdf --encrypt "" "" 256 --force-R5 -- enc0.pdf enc7.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc7.pdf")), > # # created by `qpdf --encrypt "asdfzxcv" "" 256 --force-R5 -- enc0.pdf enc8.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc8.pdf")), > # # created by `qpdf --encrypt "" "asdfzxcv" 256 --force-R5 -- enc0.pdf enc9.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc9.pdf")), > # asdfzxcv is owner password > # created by `qpdf --encrypt "" "asdfzxcv" 128 --use-aes=y -- enc0.pdf enca.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enca.pdf")), > # created by `qpdf --encrypt "1234" "asdfzxcv" 128 --use-aes=y -- enc0.pdf encb.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "encb.pdf")), > ], > ) > def test_encryption(src): > with open(src, "rb") as inputfile: > ipdf = PyPDF2.PdfReader(inputfile) > if src.endswith("enc0.pdf"): > assert not ipdf.is_encrypted > else: > assert ipdf.is_encrypted > ipdf.decrypt("asdfzxcv") > assert len(ipdf.pages) == 1 >> dd = dict(ipdf.metadata) > >inputfile = <_io.BufferedReader name='/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enca.pdf'> >ipdf = <PyPDF2._reader.PdfReader object at 0x7f026b93a6d0> >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enca.pdf' > >tests/test_encryption.py:53: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >PyPDF2/_reader.py:274: in metadata > obj = self.trailer[TK.INFO] > self = <PyPDF2._reader.PdfReader object at 0x7f026b93a6d0> >PyPDF2/generic.py:644: in __getitem__ > return dict.__getitem__(self, key).get_object() > key = '/Info' > self = {'/Encrypt': IndirectObject(15, 0), > '/ID': ['üâþÅ·áB´â¬WoaâéÃA', 'âÃP2=âF(@\x07Ãw·ËâÃ'], > '/Info': IndirectObject(2, 0), > '/Root': IndirectObject(1, 0), > '/Size': 16} >PyPDF2/generic.py:222: in get_object > return self.pdf.get_object(self).get_object() > self = IndirectObject(2, 0) >PyPDF2/_reader.py:1056: in get_object > retval = self._encryption.decrypt_object( > generation = 0 > idnum = 2 > indirect_reference = IndirectObject(2, 0) > retval = {'/Author': '_æó¹ÅJÃÃ\x0e$ñûËÃÃtx\x14ټ}NçÃ+^|Ëf¬d\x05', > '/Comments': b'*\xe9\xf6\xce}\x9a\xf0\xc6 \xba\xad>#z\xcd\xe1k\xcb}b' > b'\x15\x85\x13ga\xd3\xdbx\xb7B]\x19', > '/Company': b'\x82\xa2\x00!DJ\xeb\xf3\xc3\xd4\x9f?\xa2\x1a`\x8a]\x05\xb8\x90' > b'@\x02PR\xb7\xe8\xad3\xc5\xa4\x9d\x07', > '/CreationDate': b'u\xfd\xd2\xe9\xfd\x9d\x91,\x9aVc\xe0\xa5\xaf[O\xffQ\x07\xce' > b"\x9cy\xfe\x10\xf3\xa0%P\x19\x02'k\x01>\xcb\xca\x18\x16:\xf8" > b'i\x85\x13\x87\x14.;f', > '/Creator': b'\xcd\xdc\xdc\x10\xbcl?\xc6\xba\x1d\x01\r\x1d\xfc\x1fs' > b'\xb8z\xd2\xb5\xcb\x13\xef\x1f\x8e\x88 \x94\x12\x86#\x7f', > '/Keywords': b'@\xb5\xbb\xf0R\x83\xa5\x13\x87\x99`\x95\r\xbdp\xe0$\xa0\xd9\x83' > b'\x08\xc3D\x9c%S"\x10K\xa0\xfa\xad', > '/ModDate': 'ªwbÃˬP*#â¢5%§:Ã\x0f*cXà ıÃOõËâþ\x15\x08]#Å¡4Ë÷âË¢âGA$$éï¬â¡', > '/Producer': 'â)\x13^SÃ@8]\x12â¹\x17ø{²Sêçd=\x0csâ¢JÃŽSÃ%øe', > '/SourceModified': '9¯(Ãâà Mü=â/ÅÃÃ9{%û\x13j¬B_Ëwž/\x04Ã\x0c' > '®¶â¬ÅªâÃÿâáÃËö*\x0c' > 'â', > '/Subject': b'\xe9o\xe6V\xbe\xb5\x92\xc2\xdaf\x93\xcd\xef\x8c\x10}' > b'\xab\xbf@\xad\xed\xbfo\xa3H\xbe\x98=\x8c\xcb\x91\x93', > '/Title': b'\xd6H\xce\xa4\x1e7\xd4N(\xf51^\xf4\xb6\x8e\x004-\xeb\xc4' > b'\x04\x8f\xf2\x99Y\x8f\xa3)\x10\xf9x\x07', > '/Trapped': '/False'} > self = <PyPDF2._reader.PdfReader object at 0x7f026b93a6d0> > start = 106 >PyPDF2/_encryption.py:677: in decrypt_object > return cf.decrypt_object(obj) > StrCrypt = <PyPDF2._encryption.CryptAES object at 0x7f026b93ad60> > aes128_key = b"\xd5T\x1b5mm\x182\xe1\x17'/\x98D\xf1\xd6" > aes256_key = b'gS\xbe\xea\\\x96\xfe>\x1a\xbd\xee\xee\xe0\xb6Sw' > cf = <PyPDF2._encryption.CryptFilter object at 0x7f026b93ac10> > efCrypt = <PyPDF2._encryption.CryptAES object at 0x7f026b93ad30> > generation = 0 > idnum = 2 > key = b'gS\xbe\xea\\\x96\xfe>\x1a\xbd\xee\xee\xe0\xb6Sw' > key_data = b'gS\xbe\xea\\\x96\xfe>\x1a\xbd\xee\xee\xe0\xb6Sw\x02\x00\x00\x00\x00' > key_hash = <md5 HASH object @ 0x7f026becf1d0> > n = 16 > obj = {'/Author': '_æó¹ÅJÃÃ\x0e$ñûËÃÃtx\x14ټ}NçÃ+^|Ëf¬d\x05', > '/Comments': b'*\xe9\xf6\xce}\x9a\xf0\xc6 \xba\xad>#z\xcd\xe1k\xcb}b' > b'\x15\x85\x13ga\xd3\xdbx\xb7B]\x19', > '/Company': b'\x82\xa2\x00!DJ\xeb\xf3\xc3\xd4\x9f?\xa2\x1a`\x8a]\x05\xb8\x90' > b'@\x02PR\xb7\xe8\xad3\xc5\xa4\x9d\x07', > '/CreationDate': b'u\xfd\xd2\xe9\xfd\x9d\x91,\x9aVc\xe0\xa5\xaf[O\xffQ\x07\xce' > b"\x9cy\xfe\x10\xf3\xa0%P\x19\x02'k\x01>\xcb\xca\x18\x16:\xf8" > b'i\x85\x13\x87\x14.;f', > '/Creator': b'\xcd\xdc\xdc\x10\xbcl?\xc6\xba\x1d\x01\r\x1d\xfc\x1fs' > b'\xb8z\xd2\xb5\xcb\x13\xef\x1f\x8e\x88 \x94\x12\x86#\x7f', > '/Keywords': b'@\xb5\xbb\xf0R\x83\xa5\x13\x87\x99`\x95\r\xbdp\xe0$\xa0\xd9\x83' > b'\x08\xc3D\x9c%S"\x10K\xa0\xfa\xad', > '/ModDate': 'ªwbÃˬP*#â¢5%§:Ã\x0f*cXà ıÃOõËâþ\x15\x08]#Å¡4Ë÷âË¢âGA$$éï¬â¡', > '/Producer': 'â)\x13^SÃ@8]\x12â¹\x17ø{²Sêçd=\x0csâ¢JÃŽSÃ%øe', > '/SourceModified': '9¯(Ãâà Mü=â/ÅÃÃ9{%û\x13j¬B_Ëwž/\x04Ã\x0c' > '®¶â¬ÅªâÃÿâáÃËö*\x0c' > 'â', > '/Subject': b'\xe9o\xe6V\xbe\xb5\x92\xc2\xdaf\x93\xcd\xef\x8c\x10}' > b'\xab\xbf@\xad\xed\xbfo\xa3H\xbe\x98=\x8c\xcb\x91\x93', > '/Title': b'\xd6H\xce\xa4\x1e7\xd4N(\xf51^\xf4\xb6\x8e\x004-\xeb\xc4' > b'\x04\x8f\xf2\x99Y\x8f\xa3)\x10\xf9x\x07', > '/Trapped': '/False'} > pack1 = b'\x02\x00\x00' > pack2 = b'\x00\x00' > rc4_key = b'\xa7q\xddg\x0b\xd5\x84\xf8T\x91 \xfap\xd4\xca\x96' > self = <PyPDF2._encryption.Encryption object at 0x7f026b93a850> > stmCrypt = <PyPDF2._encryption.CryptAES object at 0x7f026b93a7c0> >PyPDF2/_encryption.py:180: in decrypt_object > obj[dictkey] = self.decrypt_object(value) > dictkey = '/Author' > obj = {'/Author': '_æó¹ÅJÃÃ\x0e$ñûËÃÃtx\x14ټ}NçÃ+^|Ëf¬d\x05', > '/Comments': b'*\xe9\xf6\xce}\x9a\xf0\xc6 \xba\xad>#z\xcd\xe1k\xcb}b' > b'\x15\x85\x13ga\xd3\xdbx\xb7B]\x19', > '/Company': b'\x82\xa2\x00!DJ\xeb\xf3\xc3\xd4\x9f?\xa2\x1a`\x8a]\x05\xb8\x90' > b'@\x02PR\xb7\xe8\xad3\xc5\xa4\x9d\x07', > '/CreationDate': b'u\xfd\xd2\xe9\xfd\x9d\x91,\x9aVc\xe0\xa5\xaf[O\xffQ\x07\xce' > b"\x9cy\xfe\x10\xf3\xa0%P\x19\x02'k\x01>\xcb\xca\x18\x16:\xf8" > b'i\x85\x13\x87\x14.;f', > '/Creator': b'\xcd\xdc\xdc\x10\xbcl?\xc6\xba\x1d\x01\r\x1d\xfc\x1fs' > b'\xb8z\xd2\xb5\xcb\x13\xef\x1f\x8e\x88 \x94\x12\x86#\x7f', > '/Keywords': b'@\xb5\xbb\xf0R\x83\xa5\x13\x87\x99`\x95\r\xbdp\xe0$\xa0\xd9\x83' > b'\x08\xc3D\x9c%S"\x10K\xa0\xfa\xad', > '/ModDate': 'ªwbÃˬP*#â¢5%§:Ã\x0f*cXà ıÃOõËâþ\x15\x08]#Å¡4Ë÷âË¢âGA$$éï¬â¡', > '/Producer': 'â)\x13^SÃ@8]\x12â¹\x17ø{²Sêçd=\x0csâ¢JÃŽSÃ%øe', > '/SourceModified': '9¯(Ãâà Mü=â/ÅÃÃ9{%û\x13j¬B_Ëwž/\x04Ã\x0c' > '®¶â¬ÅªâÃÿâáÃËö*\x0c' > 'â', > '/Subject': b'\xe9o\xe6V\xbe\xb5\x92\xc2\xdaf\x93\xcd\xef\x8c\x10}' > b'\xab\xbf@\xad\xed\xbfo\xa3H\xbe\x98=\x8c\xcb\x91\x93', > '/Title': b'\xd6H\xce\xa4\x1e7\xd4N(\xf51^\xf4\xb6\x8e\x004-\xeb\xc4' > b'\x04\x8f\xf2\x99Y\x8f\xa3)\x10\xf9x\x07', > '/Trapped': '/False'} > self = <PyPDF2._encryption.CryptFilter object at 0x7f026b93ac10> > value = '_æó¹ÅJÃÃ\x0e$ñûËÃÃtx\x14ټ}NçÃ+^|Ëf¬d\x05' >PyPDF2/_encryption.py:174: in decrypt_object > data = self.strCrypt.decrypt(obj.original_bytes) > obj = '_æó¹ÅJÃÃ\x0e$ñûËÃÃtx\x14ټ}NçÃ+^|Ëf¬d\x05' > self = <PyPDF2._encryption.CryptFilter object at 0x7f026b93ac10> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <PyPDF2._encryption.CryptAES object at 0x7f026b93ad60> >data = b'_\xe6\xf3\xb9\x95J\xd8\xc3\x0e$\xf1\xfb\x1f\xc6\xc0tx\x14\x98\xba}N\xe7\xd4+^|\x1ff\xacd\x05' > > def decrypt(self, data: bytes) -> bytes: >> raise DependencyError("PyCryptodome is required for AES algorithm") >E PyPDF2.errors.DependencyError: PyCryptodome is required for AES algorithm > >data = (b'_\xe6\xf3\xb9\x95J\xd8\xc3\x0e$\xf1\xfb\x1f\xc6\xc0tx\x14\x98\xba}N\xe7\xd4' > b'+^|\x1ff\xacd\x05') >self = <PyPDF2._encryption.CryptAES object at 0x7f026b93ad60> > >PyPDF2/_encryption.py:139: DependencyError >_ test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/encb.pdf] _ > >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/encb.pdf' > > @pytest.mark.parametrize( > "src", > [ > # unencrypted pdf > (os.path.join(RESOURCE_ROOT, "encryption", "enc0.pdf")), > # created by `qpdf --encrypt "" "" 40 -- enc0.pdf enc1.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc1.pdf")), > # created by `qpdf --encrypt "" "" 128 -- enc0.pdf enc2.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc2.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 40 -- enc0.pdf enc3.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc3.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 -- enc0.pdf enc4.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc4.pdf")), > # V=4 and AES128 > # created by `qpdf --encrypt "asdfzxcv" "" 128 --force-V4 -- enc0.pdf enc5.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc5.pdf")), > # created by `qpdf --encrypt "asdfzxcv" "" 128 --use-aes=y -- enc0.pdf enc6.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc6.pdf")), > # # V=5 and R=5 use AES-256 > # # created by `qpdf --encrypt "" "" 256 --force-R5 -- enc0.pdf enc7.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc7.pdf")), > # # created by `qpdf --encrypt "asdfzxcv" "" 256 --force-R5 -- enc0.pdf enc8.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc8.pdf")), > # # created by `qpdf --encrypt "" "asdfzxcv" 256 --force-R5 -- enc0.pdf enc9.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enc9.pdf")), > # asdfzxcv is owner password > # created by `qpdf --encrypt "" "asdfzxcv" 128 --use-aes=y -- enc0.pdf enca.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "enca.pdf")), > # created by `qpdf --encrypt "1234" "asdfzxcv" 128 --use-aes=y -- enc0.pdf encb.pdf` > (os.path.join(RESOURCE_ROOT, "encryption", "encb.pdf")), > ], > ) > def test_encryption(src): > with open(src, "rb") as inputfile: > ipdf = PyPDF2.PdfReader(inputfile) > if src.endswith("enc0.pdf"): > assert not ipdf.is_encrypted > else: > assert ipdf.is_encrypted > ipdf.decrypt("asdfzxcv") > assert len(ipdf.pages) == 1 >> dd = dict(ipdf.metadata) > >inputfile = <_io.BufferedReader name='/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/encb.pdf'> >ipdf = <PyPDF2._reader.PdfReader object at 0x7f026b9b6d00> >src = '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/encb.pdf' > >tests/test_encryption.py:53: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >PyPDF2/_reader.py:274: in metadata > obj = self.trailer[TK.INFO] > self = <PyPDF2._reader.PdfReader object at 0x7f026b9b6d00> >PyPDF2/generic.py:644: in __getitem__ > return dict.__getitem__(self, key).get_object() > key = '/Info' > self = {'/Encrypt': IndirectObject(15, 0), > '/ID': ['üâþÅ·áB´â¬WoaâéÃA', 'ıA\x15#L\x01\x01\x0bãò\x10ðÃVÃ'], > '/Info': IndirectObject(2, 0), > '/Root': IndirectObject(1, 0), > '/Size': 16} >PyPDF2/generic.py:222: in get_object > return self.pdf.get_object(self).get_object() > self = IndirectObject(2, 0) >PyPDF2/_reader.py:1056: in get_object > retval = self._encryption.decrypt_object( > generation = 0 > idnum = 2 > indirect_reference = IndirectObject(2, 0) > retval = {'/Author': '&&¨sRÃCÃ|°~ûÃPþt\x06~B\x14Ã\x0b1ÃÆ}žå}²Ã', > '/Comments': b'\\O`\xba\xd8\x1eH\x8dp\x90\xde\x01\xaf\x83\\\xad' > b'\xd9\x10\xe6\xa0\xed\x1c\xeb\xefr\xc5)\x94\x9b\xb5ea', > '/Company': 'äÃÅ85?TÃ\rúâ¡ÃyÃIŽOkkÃÃ\x05MÃyçz', > '/CreationDate': b'\xd3\xf8\r\x84\x16\xa1 \xcc\xbf[\xba\x0f\xe3\x9286Lp\x82s' > b'p\t 1\x03\xf6\x84\xa3\xbb\xd5g\x02g\x9e/\x8b\xd7\xcd@\x9f' > b'\xf3!\xf1z\xb4\x15\xcaF', > '/Creator': b'l\xddF!\x05\xcf\x96\xbcH5d\x81\x0f\xe8~\xc9A\xe2t\x16\xacA\xb9}' > b'*\x8b\x0f_\x9a{\xd1\x9a', > '/Keywords': b'\xe4\x84\xe4\xd3e\xd8/\x11\xaa\xb2\x8e\x82\xce\xd6\x8fG' > b'\xb9\xe3#\xad\xc9(\x16\xb4i\xdcw\xd9\xf4\xfe\x12)', > '/ModDate': '\\Ã*ô£âÃ?ö9LŽÃý\x0b' > '\t¤´*Ës\x11\x12â¬V§ËjÃÃÃ¥6\x10âº\x15ËñËâÃ¥cÃî\x12', > '/Producer': '#²$â ^â¢H*-âÅ\x04Câ\x11¢ôâ<åÿOóãÿ&r¤l¾Å', > '/SourceModified': b'\x91\xad\xf4\x7f`N\xa4\xd2m\xb5\xa1\xd2\xcew{\x8d' > b'\xd2\xd4\x04i\xe4\xba\x98\xf2\xdb\xe8\x8a\x00\xf5Sd\xa0' > b'\x83\x9bl\xd4\x9d\xa1\xf1\x0f\xcb\xc5\x84Y' > b'\xf6\x03\xb3\x86', > '/Subject': b'\x12\x92\x03\xe3\xf2\x02\x82}\xe6\x00$m\xc2P\xe6u\xd9R\x8a\xcb' > b'\x82\xd1\x15\xbb\xf1\xa8\x15\x18b\x8fJ\x81', > '/Title': '\x0e)´\x11ËwŽÃÿSýâ\x08\x13©âr\x0ceþ¡qÃ\x05¿©îâÃâH', > '/Trapped': '/False'} > self = <PyPDF2._reader.PdfReader object at 0x7f026b9b6d00> > start = 106 >PyPDF2/_encryption.py:677: in decrypt_object > return cf.decrypt_object(obj) > StrCrypt = <PyPDF2._encryption.CryptAES object at 0x7f026bb56970> > aes128_key = b'\x02\xdf\xdb\x97\x13\xd5\xf9\xbc\xda\xaa\x07e\x0c\xc4\x1f\x01' > aes256_key = b"\x0cFYz'\xb1/+\x1f\xcc\x9aX\xad\x81\x81\xb7" > cf = <PyPDF2._encryption.CryptFilter object at 0x7f026bb56790> > efCrypt = <PyPDF2._encryption.CryptAES object at 0x7f026bb56b50> > generation = 0 > idnum = 2 > key = b"\x0cFYz'\xb1/+\x1f\xcc\x9aX\xad\x81\x81\xb7" > key_data = b"\x0cFYz'\xb1/+\x1f\xcc\x9aX\xad\x81\x81\xb7\x02\x00\x00\x00\x00" > key_hash = <md5 HASH object @ 0x7f026b8ae230> > n = 16 > obj = {'/Author': '&&¨sRÃCÃ|°~ûÃPþt\x06~B\x14Ã\x0b1ÃÆ}žå}²Ã', > '/Comments': b'\\O`\xba\xd8\x1eH\x8dp\x90\xde\x01\xaf\x83\\\xad' > b'\xd9\x10\xe6\xa0\xed\x1c\xeb\xefr\xc5)\x94\x9b\xb5ea', > '/Company': 'äÃÅ85?TÃ\rúâ¡ÃyÃIŽOkkÃÃ\x05MÃyçz', > '/CreationDate': b'\xd3\xf8\r\x84\x16\xa1 \xcc\xbf[\xba\x0f\xe3\x9286Lp\x82s' > b'p\t 1\x03\xf6\x84\xa3\xbb\xd5g\x02g\x9e/\x8b\xd7\xcd@\x9f' > b'\xf3!\xf1z\xb4\x15\xcaF', > '/Creator': b'l\xddF!\x05\xcf\x96\xbcH5d\x81\x0f\xe8~\xc9A\xe2t\x16\xacA\xb9}' > b'*\x8b\x0f_\x9a{\xd1\x9a', > '/Keywords': b'\xe4\x84\xe4\xd3e\xd8/\x11\xaa\xb2\x8e\x82\xce\xd6\x8fG' > b'\xb9\xe3#\xad\xc9(\x16\xb4i\xdcw\xd9\xf4\xfe\x12)', > '/ModDate': '\\Ã*ô£âÃ?ö9LŽÃý\x0b' > '\t¤´*Ës\x11\x12â¬V§ËjÃÃÃ¥6\x10âº\x15ËñËâÃ¥cÃî\x12', > '/Producer': '#²$â ^â¢H*-âÅ\x04Câ\x11¢ôâ<åÿOóãÿ&r¤l¾Å', > '/SourceModified': b'\x91\xad\xf4\x7f`N\xa4\xd2m\xb5\xa1\xd2\xcew{\x8d' > b'\xd2\xd4\x04i\xe4\xba\x98\xf2\xdb\xe8\x8a\x00\xf5Sd\xa0' > b'\x83\x9bl\xd4\x9d\xa1\xf1\x0f\xcb\xc5\x84Y' > b'\xf6\x03\xb3\x86', > '/Subject': b'\x12\x92\x03\xe3\xf2\x02\x82}\xe6\x00$m\xc2P\xe6u\xd9R\x8a\xcb' > b'\x82\xd1\x15\xbb\xf1\xa8\x15\x18b\x8fJ\x81', > '/Title': '\x0e)´\x11ËwŽÃÿSýâ\x08\x13©âr\x0ceþ¡qÃ\x05¿©îâÃâH', > '/Trapped': '/False'} > pack1 = b'\x02\x00\x00' > pack2 = b'\x00\x00' > rc4_key = b'F:\xb1;\x18L\x1a\x97\xd4\x7f\xe5x\x848h\xf9' > self = <PyPDF2._encryption.Encryption object at 0x7f026b9b6fa0> > stmCrypt = <PyPDF2._encryption.CryptAES object at 0x7f026b9b6f10> >PyPDF2/_encryption.py:180: in decrypt_object > obj[dictkey] = self.decrypt_object(value) > dictkey = '/Author' > obj = {'/Author': '&&¨sRÃCÃ|°~ûÃPþt\x06~B\x14Ã\x0b1ÃÆ}žå}²Ã', > '/Comments': b'\\O`\xba\xd8\x1eH\x8dp\x90\xde\x01\xaf\x83\\\xad' > b'\xd9\x10\xe6\xa0\xed\x1c\xeb\xefr\xc5)\x94\x9b\xb5ea', > '/Company': 'äÃÅ85?TÃ\rúâ¡ÃyÃIŽOkkÃÃ\x05MÃyçz', > '/CreationDate': b'\xd3\xf8\r\x84\x16\xa1 \xcc\xbf[\xba\x0f\xe3\x9286Lp\x82s' > b'p\t 1\x03\xf6\x84\xa3\xbb\xd5g\x02g\x9e/\x8b\xd7\xcd@\x9f' > b'\xf3!\xf1z\xb4\x15\xcaF', > '/Creator': b'l\xddF!\x05\xcf\x96\xbcH5d\x81\x0f\xe8~\xc9A\xe2t\x16\xacA\xb9}' > b'*\x8b\x0f_\x9a{\xd1\x9a', > '/Keywords': b'\xe4\x84\xe4\xd3e\xd8/\x11\xaa\xb2\x8e\x82\xce\xd6\x8fG' > b'\xb9\xe3#\xad\xc9(\x16\xb4i\xdcw\xd9\xf4\xfe\x12)', > '/ModDate': '\\Ã*ô£âÃ?ö9LŽÃý\x0b' > '\t¤´*Ës\x11\x12â¬V§ËjÃÃÃ¥6\x10âº\x15ËñËâÃ¥cÃî\x12', > '/Producer': '#²$â ^â¢H*-âÅ\x04Câ\x11¢ôâ<åÿOóãÿ&r¤l¾Å', > '/SourceModified': b'\x91\xad\xf4\x7f`N\xa4\xd2m\xb5\xa1\xd2\xcew{\x8d' > b'\xd2\xd4\x04i\xe4\xba\x98\xf2\xdb\xe8\x8a\x00\xf5Sd\xa0' > b'\x83\x9bl\xd4\x9d\xa1\xf1\x0f\xcb\xc5\x84Y' > b'\xf6\x03\xb3\x86', > '/Subject': b'\x12\x92\x03\xe3\xf2\x02\x82}\xe6\x00$m\xc2P\xe6u\xd9R\x8a\xcb' > b'\x82\xd1\x15\xbb\xf1\xa8\x15\x18b\x8fJ\x81', > '/Title': '\x0e)´\x11ËwŽÃÿSýâ\x08\x13©âr\x0ceþ¡qÃ\x05¿©îâÃâH', > '/Trapped': '/False'} > self = <PyPDF2._encryption.CryptFilter object at 0x7f026bb56790> > value = '&&¨sRÃCÃ|°~ûÃPþt\x06~B\x14Ã\x0b1ÃÆ}žå}²Ã' >PyPDF2/_encryption.py:174: in decrypt_object > data = self.strCrypt.decrypt(obj.original_bytes) > obj = '&&¨sRÃCÃ|°~ûÃPþt\x06~B\x14Ã\x0b1ÃÆ}žå}²Ã' > self = <PyPDF2._encryption.CryptFilter object at 0x7f026bb56790> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <PyPDF2._encryption.CryptAES object at 0x7f026bb56970> >data = b'&&\xa8sR\xc9C\xc6|\xb0~\xc3\xbb\xd0P\xfet\x06~B\x14\xc2\x0b1\xc7\x86}\x9e\xe5}\xb2\xd3' > > def decrypt(self, data: bytes) -> bytes: >> raise DependencyError("PyCryptodome is required for AES algorithm") >E PyPDF2.errors.DependencyError: PyCryptodome is required for AES algorithm > >data = (b'&&\xa8sR\xc9C\xc6|\xb0~\xc3\xbb\xd0P\xfet\x06~B\x14\xc2\x0b1\xc7\x86}\x9e' > b'\xe5}\xb2\xd3') >self = <PyPDF2._encryption.CryptAES object at 0x7f026bb56970> > >PyPDF2/_encryption.py:139: DependencyError >=========================== short test summary info ============================ >XFAIL tests/test_filters.py::test_ASCII85Decode_with_overflow >XFAIL tests/test_reader.py::test_extract_text_hello_world > #591 >XFAIL tests/test_reader.py::test_read_form_416 > #416 >FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc6.pdf] >FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc7.pdf] >FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc8.pdf] >FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc9.pdf] >FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enca.pdf] >FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/encb.pdf] >=========== 6 failed, 311 passed, 69 deselected, 3 xfailed in 8.51s ============ > * ERROR: dev-python/PyPDF2-2.3.1::gentoo failed (test phase): > * pytest failed with python3.8 > * > * Call stack: > * ebuild.sh, line 127: Called src_test > * environment, line 3434: Called distutils-r1_src_test > * environment, line 1684: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 762: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3110: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2634: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2632: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1098: Called distutils-r1_run_phase 'python_test' > * environment, line 1607: Called python_test > * environment, line 3401: Called distutils-r1_python_test > * environment, line 1557: Called epytest > * environment, line 2142: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/PyPDF2-2.3.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/PyPDF2-2.3.1::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/PyPDF2-2.3.1:20220619-195821.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/PyPDF2-2.3.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyPDF2-2.3.1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1' > * S: '/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 853130
: 786380